Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/locks.c posix_lock_inode() -> posix_same_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl1 | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl1->flc_type | 0-1 |
| LOCK2 | &ctx->flc_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/locks.c posix_lock_inode() -> posix_same_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl1 | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl1->flc_type | 0-1 |
| LOCK2 | &ctx->flc_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/locks.c posix_locks_conflict() -> posix_same_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl1 | 4096-ptr_max |
| BUF_SIZE | 0 | fl1 | (-1),192 |
| BUF_SIZE | 0 | fl1 | (-1),192 |
| BUF_SIZE | 1 | fl2 | (-1),192 |
| BUF_SIZE | 1 | fl2 | (-1),192 |
| BUF_SIZE | 1 | fl2->flc_file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | fl2->flc_owner | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | fl1 | $0 |
| DATA_SOURCE | 1 | fl2 | $1 |
| NOSPEC | 1 | fl2->flc_type | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl1->flc_type | 0-2 |
| USER_DATA | 1 | fl2->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_deadlock() -> posix_same_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fl2 | 4096-ptr_max |
| BUF_SIZE | 0 | fl1 | 192 |
| CAPPED_DATA | 1 | fl2->flc_owner | 1 |
| DATA_SOURCE | 1 | fl2 | r what_owner_is_waiting_for |
| BIT_INFO | 0 | fl1->flc_flags | 0x0,0xfffffbff |
| NOSPEC | 0 | fl1->flc_type | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl1->flc_type | 0-1 |
| LOCK2 | &ctx->flc_lock | ||
| LOCK2 | global &blocked_lock_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/locks.c posix_test_locks_conflict() -> posix_same_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fl2 | 4096-ptr_max |
| BUF_SIZE | 0 | fl1 | 192 |
| BUF_SIZE | 1 | fl2 | 192 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl1->flc_type | 0-2 |
| LOCK2 | &ctx->flc_lock | ||
| HALF_LOCKED2 | &cinode->lock_sem | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/locks.c what_owner_is_waiting_for() -> posix_same_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fl2 | 4096-ptr_max |
| BUF_SIZE | 1 | fl2 | (-1),192 |
| BUF_SIZE | 1 | fl2 | (-1),192 |
| DATA_SOURCE | 1 | fl2 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->flc_lock | ||
| LOCK2 | global &blocked_lock_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |