函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\eventpoll.c Create Date:2022-07-29 10:50:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Adds a new entry to the tail of the list in a lockless way, i

函数原型:static inline bool list_add_tail_lockless(struct list_head *new, struct list_head *head)

返回类型:bool

参数:

类型参数名称
struct list_head *new
struct list_head *head
1124  如果cmpxchg( & 链表后项, new, head)不等于new则返回:false
1135  prev等于xchg( & 链表前项, new)
1142  链表后项等于new
1143  链表前项等于prev
1145  返回:true
调用者
名称描述
ep_poll_callbackThis is the callback that is passed to the wait queue wakeup* mechanism