Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/dlm/dlmmaster.c dlm_add_migration_mle() -> dlm_find_mle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->lockres_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 | 1 | mle | 1119041791296106496,3653855447510630400 |
| PARAM_VALUE | 1 | *mle | 0 |
| BUF_SIZE | 0 | dlm | 8,720,1560 |
| BUF_SIZE | 0 | dlm | 8,720,1560 |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 1 | mle | $3 |
| DATA_SOURCE | 2 | name | $4 |
| DATA_SOURCE | 3 | namelen | $5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | name | unit_byte |
| UNITS | 3 | namelen | unit_byte |
| 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_assert_master_handler() -> dlm_find_mle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 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 | 1 | mle | 8333289060479315968 |
| PARAM_VALUE | 1 | *mle | 0 |
| PARAM_VALUE | 3 | namelen | 0-32 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 2 | name | 64 |
| BUF_SIZE | 2 | name | 64 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 3 | namelen | unit_byte |
| 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_do_assert_master() -> dlm_find_mle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 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 | 1 | mle | 6707367502743711744 |
| PARAM_VALUE | 1 | *mle | 0 |
| PARAM_VALUE | 3 | namelen | 0-64 |
| BUF_SIZE | 0 | dlm | (-1),8,1560 |
| BUF_SIZE | 0 | dlm | (-1),8,1560 |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | name | unit_byte |
| UNITS | 3 | namelen | unit_byte |
| LOCK2 | 0 | &dlm->master_lock | |
| LOCK2 | 0 | &dlm->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->master_lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> dlm_find_mle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->lockres_hash | 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 | 1 | mle | 3652702696593240064 |
| PARAM_VALUE | 1 | *mle | 0 |
| PARAM_VALUE | 2 | name | 1-u64max |
| PARAM_VALUE | 3 | namelen | 1-31 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 2 | name | 10,32 |
| BUF_SIZE | 2 | name | 10,32 |
| CAPPED_DATA | 3 | namelen | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 2 | name | $1 |
| DATA_SOURCE | 3 | namelen | $2 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| 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 |
fs/ocfs2/dlm/dlmmaster.c dlm_master_request_handler() -> dlm_find_mle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1-2 |
| PARAM_VALUE | 0 | dlm->lockres_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 | 1 | mle | 4183072129771245568 |
| PARAM_VALUE | 1 | *mle | 0 |
| PARAM_VALUE | 3 | namelen | 0-32 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 2 | name | 64 |
| BUF_SIZE | 2 | name | 64 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 3 | namelen | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 3 | namelen | unit_byte |
| LOCK2 | &res->spinlock | ||
| LOCK2 | 0 | &dlm->master_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->master_lock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_master_request_handler() -> dlm_find_mle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1-2 |
| PARAM_VALUE | 0 | dlm->lockres_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 | 1 | mle | 4183072129771245568 |
| PARAM_VALUE | 1 | *mle | 0 |
| PARAM_VALUE | 3 | namelen | 0-32 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 2 | name | 64 |
| BUF_SIZE | 2 | name | 64 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 3 | namelen | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| UNITS | 3 | namelen | unit_byte |
| 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 |