Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\eventpoll.c Create Date:2022-07-28 20:19:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:reverse_path_check_proc

Proto:static int reverse_path_check_proc(void *priv, void *cookie, int call_nests)

Type:int

Parameter:

TypeParameterName
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  If is_file_epoll(child_file) Then
1387  If path_count_inc(call_nests) Then
1388  error = -1
1389  Break
1391  Else
1397  If error != 0 Then Break
1399  Else
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  Return error