函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:分配网络缓存

函数原型:static inline struct sk_buff *alloc_skb(unsigned int size, gfp_t priority)

返回类型:struct sk_buff

参数:

类型参数名称
unsigned intsize
gfp_tpriority
1049  返回:__alloc_skb(size, priority, 0, NUMA_NO_NODE)
调用者
名称描述
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.
nlmsg_new分配一个新的Netlink消息