Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/locking/semaphore.c down_timeout() -> __down_timeout()

Type Parameter Key Value
PARAM_VALUE 0 sem 4096-ptr_max
PARAM_VALUE 0 sem->count 0
PARAM_VALUE 0 sem->lock.dep_map->name 0-255
PARAM_VALUE 0 sem->lock.owner_cpu 0
PARAM_VALUE 0 sem->lock.raw_lock.val.counter 0-s32max
DATA_SOURCE 0 sem $0
DATA_SOURCE 1 timeout $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 sem->count 0
HOST_DATA 0 sem->last_holder 0-u64max
UNITS 1 timeout unit_jiffy
LOCK2 flags
LOCK2 0 &sem->lock
HALF_LOCKED2 &data->io_mutex
HALF_LOCKED2 &iidev->wake_thread
HALF_LOCKED2 &nlmsg_request->sem
HALF_LOCKED2 &vf->op_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct semaphore)->lock