函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_queue_head_init_class

函数原型:static inline void skb_queue_head_init_class(struct sk_buff_head *list, struct lock_class_key *class)

返回类型:void

参数:

类型参数名称
struct sk_buff_head *list
struct lock_class_key *class
1850  This function creates a split out lock class for each invocation;* this is needed for now since a whole lot of users of the skb-queue* infrastructure in drivers have different locking usage (in hardirq)* than the networking core (in softirq only)
1851  lockdep_set_class( & lock, class)