Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/locks.c flock_locks_conflict() -> locks_conflict()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | caller_flc | 4096-ptr_max |
| PARAM_VALUE | 1 | sys_flc | 4096-ptr_max |
| BUF_SIZE | 1 | sys_flc->flc_file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | sys_flc->flc_owner | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | caller_flc | $0 |
| DATA_SOURCE | 1 | sys_flc | $1 |
| PARAM_COMPARE | 0 | caller_flc->flc_file | != $1->flc_file |
| NOSPEC | 0 | caller_flc->flc_type | |
| NOSPEC | 1 | sys_flc->flc_type | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | caller_flc->flc_type | 0-2 |
| USER_DATA | 1 | sys_flc->flc_type | 0-2 |
| LOCK2 | &ctx->flc_lock | ||
| HALF_LOCKED2 | global &blocked_lock_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/locks.c leases_conflict() -> locks_conflict()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | caller_flc | 4096-ptr_max |
| PARAM_VALUE | 1 | sys_flc | 4096-ptr_max |
| BUF_SIZE | 0 | caller_flc->flc_file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | caller_flc->flc_owner | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | caller_flc | $1 |
| DATA_SOURCE | 1 | sys_flc | $0 |
| NOSPEC | 0 | caller_flc->flc_type | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | caller_flc->flc_type | 0-2 |
| LOCK2 | &ctx->flc_lock | ||
| HALF_LOCKED2 | global &blocked_lock_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/locks.c posix_locks_conflict() -> locks_conflict()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | caller_flc | 4096-ptr_max |
| PARAM_VALUE | 1 | sys_flc | 4096-ptr_max |
| BUF_SIZE | 0 | caller_flc | (-1),192 |
| BUF_SIZE | 0 | caller_flc | (-1),192 |
| BUF_SIZE | 1 | sys_flc | (-1),192 |
| BUF_SIZE | 1 | sys_flc | (-1),192 |
| BUF_SIZE | 1 | sys_flc->flc_file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | sys_flc->flc_owner | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | caller_flc | $0 |
| DATA_SOURCE | 1 | sys_flc | $1 |
| PARAM_COMPARE | 0 | caller_flc->flc_owner | != $1->flc_owner |
| NOSPEC | 1 | sys_flc->flc_type | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | caller_flc->flc_type | 0-2 |
| USER_DATA | 1 | sys_flc->flc_type | 0-2 |
| LOCK2 | &ctx->flc_lock | ||
| HALF_LOCKED2 | global &blocked_lock_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |