函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pin_kill

函数原型:void pin_kill(struct fs_pin *p)

返回类型:void

参数:

类型参数名称
struct fs_pin *p
34  如果非p
35  _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()
36  返回
38  init_wait( & wait)
39  spin_lock_irq( & lock)
40  如果此条件成立可能性大(为编译器优化)(!done)则
41  done等于负1
42  spin_unlock_irq( & lock)
43  _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()
44  kill(p)
45  返回
47  如果done大于0则
48  spin_unlock_irq( & lock)
49  _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()
50  返回
52  __add_wait_queue( & wait, & wait)
53  当1循环
54  set_current_state(深度睡眠态)
55  spin_unlock_irq( & lock)
56  _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()
57  进程调度
58  _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
59  如果此条件成立可能性大(为编译器优化)(链表为空)则退出
62  spin_lock_irq( & lock)
63  如果done大于0则
65  退出
68  _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()
调用者
名称描述
SYSCALL_DEFINE1sys_acct - enable/disable process accounting*@name: file name for accounting records or NULL to shutdown accounting* Returns 0 for success or negative errno values for failure.* sys_acct() is the only system call needed to implement process* accounting
acct_exit_ns
mnt_pin_kill
group_pin_kill
acct_on