函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-27 07:20:00
Last Modify:2022-05-21 11:43:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iov_iter_alignment

函数原型:unsigned long iov_iter_alignment(const struct iov_iter *i)

返回类型:unsigned long

参数:

类型参数名称
const struct iov_iter *i
1225  res等于0
1226  size等于count
1228  如果此条件成立可能性小(为编译器优化)(iov_iter_is_pipe(i))则
1229  p_mask等于ring_size减1
1231  如果sizeiov_offsetallocated( & bufs[head & p_mask])则返回:size按位或iov_offset
1233  返回:size
1235  iterate_all_kinds(i, size, v, (res |= (unsignedlong)iov_base | iov_len, 0), res |= bv_offset | bv_len, res |= (unsignedlong)iov_base | iov_len)
1240  返回:res
调用者
名称描述
__blkdev_direct_IO
do_blockdev_direct_IOThis is a library function for use by filesystem drivers
iomap_dio_bio_actor
blk_rq_map_user_iovlk_rq_map_user_iov - map user data to a request, for passthrough requests*@q: request queue where request should be inserted*@rq: request to map data to*@map_data: pointer to the rq_map_data holding pages (if necessary)*@iter: iovec iterator*@gfp_mask:
__blkdev_direct_IO_simple