函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ep_create_wakeup_source

函数原型:static int ep_create_wakeup_source(struct epitem *epi)

返回类型:int

参数:

类型参数名称
struct epitem *epi
1440  如果非 wakeup_source used when ep_scan_ready_list is running
1441  wakeup_source used when ep_scan_ready_list is running 等于wakeup_source_register(NULL, "eventpoll")
1442  如果非 wakeup_source used when ep_scan_ready_list is running 则返回:负ENOMEM
1446  name等于name
1447  ws等于wakeup_source_register(NULL, name)
1449  如果非ws则返回:负ENOMEM
1451  cu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization(wakeup_source used when EPOLLWAKEUP is set , ws)
1453  返回:0
调用者
名称描述
ep_insertMust be called with "mtx" held.
ep_modifyModify the interest event mask by dropping an event if the new mask* has a match in the current file status. Must be called with "mtx" held.