Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sk_page_frag - return an appropriate page_frag*@sk: socket* Use the per task page_frag instead of the per socket one for* optimization when we know that we're in the normal context and owns* everything that's associated with %current

Proto:static inline struct page_frag *sk_page_frag(struct sock *sk)

Type:struct page_frag

Parameter:

TypeParameterName
struct sock *sk
2259  If 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 Then Return task_frag
2262  Return sk_frag