Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/ocfs2/dlm/dlmconvert.c, line 497
- fs/ocfs2/dlm/dlmdebug.c, line 119
- fs/ocfs2/dlm/dlmdomain.c, line 715
- fs/ocfs2/dlm/dlmlock.c, line 308
- fs/ocfs2/dlm/dlmmaster.c
- fs/ocfs2/dlm/dlmrecovery.c
Smatch caller information:
fs/ocfs2/dlm/dlmconvert.c dlm_convert_lock_handler() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lockname.name | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res->lockname.len | 1 |
| CAPPED_DATA | 0 | &res->granted | 1 |
| DATA_SOURCE | 0 | res | r dlm_lookup_lockres |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/dlm/dlmlock.c dlm_send_remote_lock_request() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->blocked.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->blocked.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->blocked.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->hash_node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->hash_node.pprev | 1-u64max |
| PARAM_VALUE | 0 | res->owner | 0-254 |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | res->wq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *res->lvb | 0-255 |
| CAPPED_DATA | 0 | res | 1 |
| CAPPED_DATA | 0 | res->owner | 1 |
| DATA_SOURCE | 0 | res | $1 |
| BIT_INFO | 0 | res->state | 0x10,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/dlm/dlmdomain.c dlm_unregister_domain() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| CAPPED_DATA | 0 | &res->tracking | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/dlm/dlmdebug.c dlm_print_one_lock() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/dlm/dlmmaster.c dlm_deref_lockres_handler() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lockname.name | 4096-ptr_max |
| PARAM_VALUE | 0 | res->refmap | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | res | r __dlm_lookup_lockres_full |
| BIT_INFO | 0 | res->state | 0x0,0xdfbf |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/dlm/dlmmaster.c dlm_deref_lockres_worker() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lockname.len | 0-64 |
| PARAM_VALUE | 0 | res->refmap | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| BIT_INFO | 0 | res->state | 0x0,0xffbf |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/dlm/dlmmaster.c dlm_drop_lockres_ref() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->inflight_assert_workers | 0 |
| PARAM_VALUE | 0 | res->lockname.len | 0-64 |
| PARAM_VALUE | 0 | res->owner | 0-254 |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res->owner | 1 |
| DATA_SOURCE | 0 | res | $1 |
| BIT_INFO | 0 | res->state | 0x40,0xffffffffffffffff |
| NOCHECK_CALL |
fs/ocfs2/dlm/dlmmaster.c dlm_drop_lockres_ref_done() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lockname.len | 0-64 |
| PARAM_VALUE | 0 | res->refmap | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | res | $1 |
| BIT_INFO | 0 | res->state | 0x0,0xffbf |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->hash_node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->hash_node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *res->lvb | 0-255 |
| BUF_SIZE | 0 | res->dlm | (-1),8,128,1560 |
| STR_LEN | 0 | res->dlm | (-1),9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/dlm/dlmmaster.c dlm_lockres_release() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->blocked.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->converting.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->dirty.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | res->granted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lockname.name | 1-u64max |
| PARAM_VALUE | 0 | res->recovering.next | 4096-ptr_max |
| CAPPED_DATA | 0 | &res->blocked | 1 |
| CAPPED_DATA | 0 | &res->converting | 1 |
| CAPPED_DATA | 0 | &res->dirty | 1 |
| CAPPED_DATA | 0 | &res->granted | 1 |
| CAPPED_DATA | 0 | &res->purge | 1 |
| CAPPED_DATA | 0 | &res->recovering | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dlm->spinlock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &res->spinlock |
fs/ocfs2/dlm/dlmrecovery.c dlm_pick_recovery_master() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lockname.name | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | res | r dlm_lookup_lockres |
| NOCHECK_CALL |
fs/ocfs2/dlm/dlmrecovery.c dlm_prepare_lvb_for_migration() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/dlm/dlmrecovery.c dlm_process_recovery_data() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lvb | 4096-ptr_max |
| DATA_SOURCE | 0 | res | $1 [m] |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/dlm/dlmrecovery.c dlm_send_begin_reco_message() -> dlm_print_one_lock_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->lockname.name | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | res | r dlm_lookup_lockres |
| NOCHECK_CALL |