函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\acct.c Create Date:2022-07-27 12:02:03
Last Modify:2020-03-17 15:14:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:acct_pin_kill

函数原型:static void acct_pin_kill(struct fs_pin *pin)

返回类型:void

参数:

类型参数名称
struct fs_pin *pin
172  acct等于to_acct(pin)
173  mutex_lock( & lock)
174  do_acct_process(acct)
175  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
176  wait_for_completion: - waits for completion of a task*@x: holds the state of this particular completion* This waits to be signaled for completion of a specific task. It is NOT* interruptible and there is no timeout.* See also similar routines (i
177  cmpxchg( & bacct, pin, NULL)
178  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
179  pin_remove(pin)
180  acct_put(acct)