函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\direct-io.c Create Date:2022-07-29 11:07:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_dio_actor

函数原型:static loff_t iomap_dio_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)

返回类型:loff_t

参数:

类型参数名称
struct inode *inode
loff_tpos
loff_tlength
void *data
struct iomap *iomap
struct iomap *srcmap
370  dio等于data
373  : type of mapping 恒等于 blocks allocated, need allocation
374  如果WARN_ON_ONCE(flags & IOMAP_DIO_WRITE)则返回:负EIO
376  返回:iomap_dio_hole_actor(length, dio)
377  : type of mapping 恒等于locks allocated at @addr in unwritten state
378  如果非flags按位与IOMAP_DIO_WRITE的值则返回:iomap_dio_hole_actor(length, dio)
380  返回:iomap_dio_bio_actor(inode, pos, length, dio, iomap)
381  : type of mapping 恒等于locks allocated at @addr
382  返回:iomap_dio_bio_actor(inode, pos, length, dio, iomap)
383  : type of mapping 恒等于data inline in the inode
384  返回:iomap_dio_inline_actor(inode, pos, length, dio, iomap)
385  默认
386  WARN_ON_ONCE(1)
387  返回:负EIO