Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/locks.c flock_lock_inode() -> locks_insert_lock_ctx()

Type Parameter Key Value
PARAM_VALUE 0 fl 4096-ptr_max
PARAM_VALUE 0 fl->flc_link.next 0
PARAM_VALUE 0 fl->flc_link.pprev 0
PARAM_VALUE 0 fl->flc_type 0-1,3-255
PARAM_VALUE 0 fl->flc_wait.head.next 4096-ptr_max
PARAM_VALUE 0 fl->flc_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 before 4096-ptr_max
NOSPEC 0 fl->flc_type
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 fl->flc_type 0-1
LOCK2 &ctx->flc_lock
HALF_LOCKED2 &nfsi->rwsem
HALF_LOCKED2 &sp->so_delegreturn_mutex
TYPE_LOCK (struct file_lock_context)->flc_lock

fs/locks.c generic_add_lease() -> locks_insert_lock_ctx()

Type Parameter Key Value
PARAM_VALUE 0 fl 4096-ptr_max
PARAM_VALUE 1 before 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctx->flc_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct file_lock_context)->flc_lock

fs/locks.c posix_lock_inode() -> locks_insert_lock_ctx()

Type Parameter Key Value
PARAM_VALUE 0 fl 4096-ptr_max
PARAM_VALUE 1 before 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctx->flc_lock
TYPE_LOCK (struct file_lock_context)->flc_lock

fs/locks.c posix_lock_inode() -> locks_insert_lock_ctx()

Type Parameter Key Value
PARAM_VALUE 0 fl 4096-ptr_max
PARAM_VALUE 0 fl->flc_link.next 0
PARAM_VALUE 0 fl->flc_link.pprev 0
PARAM_VALUE 0 fl->flc_type 0-1,3-255
PARAM_VALUE 0 fl->flc_wait.head.next 4096-ptr_max
PARAM_VALUE 0 fl->flc_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 before 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 fl->flc_type 0-1
LOCK2 &ctx->flc_lock
TYPE_LOCK (struct file_lock_context)->flc_lock

fs/locks.c posix_lock_inode() -> locks_insert_lock_ctx()

Type Parameter Key Value
PARAM_VALUE 0 fl 4096-ptr_max
PARAM_VALUE 1 before 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctx->flc_lock
TYPE_LOCK (struct file_lock_context)->flc_lock