Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ocfs2/dlm/dlmdomain.c dlm_alloc_ctxt() -> dlm_master_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-16383 |
| BUF_SIZE | 0 | dlm | 1560 |
| BUF_SIZE | 0 | dlm->lockres_hash | 8 |
| BUF_SIZE | 0 | dlm->master_hash | 8 |
| DATA_SOURCE | 0 | dlm | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/dlm/dlmdebug.c debug_mle_print() -> dlm_master_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-16383 |
| BUF_SIZE | 0 | dlm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dlm | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dlm | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dlm | unit_array_size |
| LOCK2 | 0 | &dlm->master_lock | |
| TYPE_LOCK | (struct dlm_ctxt)->master_lock |
fs/ocfs2/dlm/dlmmaster.c __dlm_insert_mle() -> dlm_master_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_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->master_lock | |
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->master_lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_clean_master_list() -> dlm_master_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-16383 |
| BUF_SIZE | 0 | dlm | (-1),720,1560 |
| BUF_SIZE | 0 | dlm | (-1),720,1560 |
| DATA_SOURCE | 0 | dlm | $0 |
| FUZZY_MAX | 1 | i | 16383 |
| HARD_MAX | 1 | i | 16383 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| 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/dlmmaster.c dlm_find_mle() -> dlm_master_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| BUF_SIZE | 0 | dlm | (-1),8,128,720,1560 |
| BUF_SIZE | 0 | dlm | (-1),8,128,720,1560 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 1 | i | r full_name_hash |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dlm->master_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &res->spinlock | ||
| HALF_LOCKED2 | 0 | &dlm->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->master_lock |
fs/ocfs2/dlm/dlmmaster.c dlm_force_free_mles() -> dlm_master_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->master_lock | |
| LOCK2 | 0 | &dlm->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->master_lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |