Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__pipe_get_pages

Proto:static inline ssize_t __pipe_get_pages(struct iov_iter *i, size_t maxsize, struct page **pages, int iter_head, size_t *start)

Type:ssize_t

Parameter:

TypeParameterName
struct iov_iter *i
size_tmaxsize
struct page **pages
intiter_head
size_t *start
1272  pipe = pipe
1273  p_mask = ring_size - 1
1274  n = push_pipe(i, maxsize, & iter_head, start)
1275  If Not n Then Return -EFAULT
1278  maxsize = n
1279  n += start
1280  When n > 0 cycle
1281  get_page( * pages++ = page)
1282  iter_head++
1283  n -= PAGE_SIZE
1286  Return maxsize
Caller
NameDescribe
pipe_get_pages
pipe_get_pages_alloc