Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\semaphore.c Create Date:2022-07-28 09:47:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__down_killable

Proto:static noinline int __sched __down_killable(struct semaphore *sem)

Type:int

Parameter:

TypeParameterName
struct semaphore *sem
247  Return Because this function is inlined, the 'state' parameter will be* constant, and thus optimised away by the compiler. Likewise the* 'timeout' parameter for the cases without timeouts.
Caller
NameDescribe
down_killabledown_killable - acquire the semaphore unless killed*@sem: the semaphore to be acquired* Attempts to acquire the semaphore