Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ocfs2/dlm/dlmdomain.c dlm_lookup_lockres() -> __dlm_lookup_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1-2 |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | len | 0-32 |
| BUF_SIZE | 0 | dlm | 128,720,1560 |
| BUF_SIZE | 0 | dlm | 128,720,1560 |
| BUF_SIZE | 1 | name | 10,64 |
| BUF_SIZE | 1 | name | 10,64 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 2 | len | $2 |
| DATA_SOURCE | 3 | hash | r full_name_hash |
| FUZZY_MAX | 2 | len | 32 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_assert_master_handler() -> __dlm_lookup_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | len | 0-32 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 1 | name | 64 |
| BUF_SIZE | 1 | name | 64 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| DATA_SOURCE | 3 | hash | r full_name_hash |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_master_request_handler() -> __dlm_lookup_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1-2 |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | len | 0-32 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 1 | name | 64 |
| BUF_SIZE | 1 | name | 64 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| DATA_SOURCE | 3 | hash | r full_name_hash |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_migrate_request_handler() -> __dlm_lookup_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | len | 0-32 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 1 | name | 64 |
| BUF_SIZE | 1 | name | 64 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| DATA_SOURCE | 3 | hash | r full_name_hash |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_reset_mleres_owner() -> __dlm_lookup_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->domain_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->live_nodes_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dlm->recovery_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | dlm | (-1),720,1560 |
| BUF_SIZE | 0 | dlm | (-1),720,1560 |
| BUF_SIZE | 1 | name | 32 |
| DATA_SOURCE | 0 | dlm | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &dlm->master_lock | |
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &o2hb_callback_sem | ||
| TYPE_LOCK | (struct dlm_ctxt)->master_lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmrecovery.c dlm_master_requery_handler() -> __dlm_lookup_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 1 | name | 64 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| DATA_SOURCE | 3 | hash | r full_name_hash |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |