Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:allocate a network buffer

Proto:static inline struct sk_buff *alloc_skb(unsigned int size, gfp_t priority)

Type:struct sk_buff

Parameter:

TypeParameterName
unsigned intsize
gfp_tpriority
1049  Return __alloc_skb(size, priority, 0, NUMA_NO_NODE)
Caller
NameDescribe
alloc_uevent_skb
populate_skb
build_test_skb_linear_no_head_frag
test_blackholedev_init
do_mq_notifyNotes: the case when user wants us to deregister (with NULL as pointer)* and he isn't currently owner of notification, will be silently discarded.* It isn't explicitly defined in the POSIX.