函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Fault in one or more iovecs of the given iov_iter, to a maximum length of* bytes. For each iovec, fault in each page that constitutes the iovec.* Return 0 on success, or non-zero if the memory could not be accessed (i.e.* because it is an invalid address).

函数原型:int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes)

返回类型:int

参数:

类型参数名称
struct iov_iter *i
size_tbytes
424  skip等于iov_offset
429  如果非* Bit 0 is the read/write bit, set if we're writing. * Bit 1 is the BVEC_FLAG_NO_REF bit, set if type is a bvec and * the caller isn't expecting to drop a page reference when done.按位与ITER_BVEC按位或ITER_KVEC的值的值则
430  iterate_iovec(i, bytes, v, iov, skip, ({err = fault_in_pages_readable( BSD uses caddr_t (1003.1g requires void *) , Must be size_t (1003.1g) );如果此条件成立可能性小(为编译器优化)(err)则返回err;0;}))
436  返回:0
调用者
名称描述
generic_perform_write
iomap_write_actor