Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-28 06:22:42
Last Modify:2022-05-21 11:43:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return the count of just the current iov_iter segment.

Proto:size_t iov_iter_single_seg_count(const struct iov_iter *i)

Type:size_t

Parameter:

TypeParameterName
const struct iov_iter *i
1151  If Value for the false possibility is greater at compile time(iov_iter_is_pipe(i)) Then Return count
1153  If nr_segs == 1 Then Return count
1155  If Value for the false possibility is greater at compile time(iov_iter_is_discard(i)) Then Return count
1157  Else if iov_iter_is_bvec(i) Then Return min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(count, bv_len - iov_offset)
1159  Else Return min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(count, Must be size_t (1003.1g) - iov_offset)