Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
Smatch caller information:
fs/dlm/lock.c dlm_lock() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| STR_LEN | 0 | ls | (-1)-1010101 |
| STR_LEN | 0 | ls | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_sem |
fs/dlm/lock.c dlm_receive_buffer() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_recv_active.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | ls->ls_global_id | 1 |
| DATA_SOURCE | 0 | ls | r dlm_find_lockspace_global |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &nodes_srcu |
fs/dlm/lock.c dlm_unlock() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| STR_LEN | 0 | ls | (-1),12 |
| STR_LEN | 0 | ls | (-1),12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_sem |
fs/dlm/user.c device_close() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_clear_proc_locks.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_orphans.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_orphans.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_orphans.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_orphans_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/dlm/user.c device_close() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_clear_proc_locks.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_orphans.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_orphans.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_orphans.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_orphans_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/dlm/user.c device_create_lockspace() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_device.this_device->dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ls->ls_device.this_device->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/dlm/user.c device_open() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| CAPPED_DATA | 0 | ls->ls_device.minor | 1 |
| DATA_SOURCE | 0 | ls | r dlm_find_lockspace_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/dlm/user.c device_remove_lockspace() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| CAPPED_DATA | 0 | ls->ls_device.minor | 1 |
| DATA_SOURCE | 0 | ls | r dlm_find_lockspace_device |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/dlm/user.c device_user_deadlock() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| NOCHECK_CALL |
fs/dlm/user.c device_user_lock() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_rsbtbl.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_rsbtbl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_scan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_scan_timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_scan_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_scan_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_active.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_active.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_active.next->prev | 4096-ptr_max |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| NOCHECK_CALL |
fs/dlm/user.c device_user_purge() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_orphans_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| NOCHECK_CALL |
fs/dlm/user.c device_user_unlock() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| NOCHECK_CALL |
fs/dlm/plock.c dlm_posix_cancel() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_sem |
fs/dlm/plock.c dlm_posix_get() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_sem |
fs/dlm/plock.c dlm_posix_lock() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_sem |
fs/dlm/plock.c dlm_posix_unlock() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_sem |
fs/dlm/recoverd.c dlm_recoverd() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_lock_wait.lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | 128 |
| BUF_SIZE | 0 | ls | 128 |
| CAPPED_DATA | 0 | &ls->ls_in_recovery | 1 |
| DATA_SOURCE | 0 | ls | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &ls->ls_in_recovery |
fs/dlm/lockspace.c dlm_control_store() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| DATA_SOURCE | 0 | ls | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ls->ls_recover_args->nodes_count | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/dlm/lockspace.c dlm_release_lockspace() -> dlm_put_lockspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_count.counter | s32min-s32max |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| BUF_SIZE | 0 | ls | (-1),8,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_sem |