Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ocfs2/dlm/dlmdomain.c __dlm_insert_lockres() -> dlm_lockres_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->lockres_hash | 4096-ptr_max |
| BUF_SIZE | 0 | dlm | (-1),8,720,1560 |
| BUF_SIZE | 0 | dlm | (-1),8,720,1560 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &res->spinlock | ||
| HALF_LOCKED2 | 0 | &dlm->master_lock | |
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmdomain.c __dlm_lookup_lockres_full() -> dlm_lockres_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| BUF_SIZE | 0 | dlm | (-1),8,720,1560 |
| BUF_SIZE | 0 | dlm | (-1),8,720,1560 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 1 | i | $3 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &dlm->master_lock | |
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmdomain.c dlm_alloc_ctxt() -> dlm_lockres_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->lockres_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-16383 |
| BUF_SIZE | 0 | dlm | 1560 |
| BUF_SIZE | 0 | dlm->lockres_hash | 8 |
| DATA_SOURCE | 0 | dlm | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/dlm/dlmdomain.c dlm_migrate_all_locks() -> dlm_lockres_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-16383 |
| BUF_SIZE | 0 | dlm | 8,1560 |
| BUF_SIZE | 0 | dlm | 8,1560 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dlm->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmrecovery.c dlm_do_local_recovery_cleanup() -> dlm_lockres_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-16383 |
| BUF_SIZE | 0 | dlm | 720,1560 |
| BUF_SIZE | 0 | dlm | 720,1560 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &o2hb_callback_sem | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmrecovery.c dlm_finish_local_lockres_recovery() -> dlm_lockres_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-16383 |
| BUF_SIZE | 0 | dlm | 128,720,1560 |
| BUF_SIZE | 0 | dlm | 128,720,1560 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 0 | dlm->reco.dead_node | 1 |
| CAPPED_DATA | 0 | &dlm->reco.resources | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |