Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\acct.c Create Date:2022-07-28 11:00:58
Last Modify:2020-03-17 15:14:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:acct_pin_kill

Proto:static void acct_pin_kill(struct fs_pin *pin)

Type:void

Parameter:

TypeParameterName
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)