Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/locks.c locks_insert_block() -> __locks_insert_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | blocker | 4096-ptr_max |
| PARAM_VALUE | 1 | waiter | 4096-ptr_max |
| DATA_SOURCE | 0 | blocker | $0 |
| DATA_SOURCE | 1 | waiter | $1 |
| DATA_SOURCE | 2 | conflict | $2 |
| NOSPEC | 1 | waiter->flc_type | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | waiter->flc_type | 0-2 |
| LOCK2 | &ctx->flc_lock | ||
| LOCK2 | global &blocked_lock_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/locks.c posix_lock_inode() -> __locks_insert_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | waiter | 4096-ptr_max |
| PARAM_VALUE | 1 | waiter->flc_type | 0-1,3-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | waiter->flc_type | 0-1 |
| LOCK2 | &ctx->flc_lock | ||
| LOCK2 | global &blocked_lock_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |