函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:reverse_path_check_proc

函数原型:static int reverse_path_check_proc(void *priv, void *cookie, int call_nests)

返回类型:int

参数:

类型参数名称
void *priv
void *cookie
intcall_nests
1376  error等于0
1377  file等于priv
1382  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1384  child_file等于file
1385  如果is_file_epoll(child_file)则
1386  如果链表为空
1387  如果path_count_inc(call_nests)则
1388  error等于负1
1389  退出
1391  否则
1397  如果error不等于0则退出
1399  否则
1400  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
1404  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1405  返回:error