函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-27 07:06:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:返回一个合适的page_frag

函数原型:static inline struct page_frag *sk_page_frag(struct sock *sk)

返回类型:struct page_frag

参数:

类型参数名称
struct sock *sk
2259  如果gfpflags_normal_context - is gfp_flags a normal sleepable context?*@gfp_flags: gfp_flags to test* Test whether @gfp_flags indicates that the allocation is from the* %current context and allowed to sleep则返回:task_frag
2262  返回:sk_frag