Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/dlm/dlmconvert.c dlm_convert_lock_handler() -> __dlmconvert_master()
| 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->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->lockname.name | 4096-ptr_max |
| PARAM_VALUE | 1 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | lock | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0,16-8562576,536871168-545433488,1073742080-1082304400 |
| PARAM_VALUE | 5 | call_ast | 4817236858315849728 |
| PARAM_VALUE | 5 | *call_ast | 0 |
| PARAM_VALUE | 6 | kick_thread | 3067580392464027648 |
| PARAM_VALUE | 6 | *kick_thread | 0 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 1 | res->lockname.len | 1 |
| CAPPED_DATA | 1 | &res->granted | 1 |
| CAPPED_DATA | 2 | lock->ml.cookie | 1 |
| CAPPED_DATA | 2 | lock->ml.node | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| DATA_SOURCE | 1 | res | r dlm_lookup_lockres |
| BIT_INFO | 1 | res->state | 0x10,0xffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| LOCK2 | 1 | &res->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmconvert.c dlmconvert_master() -> __dlmconvert_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | lock | 4096-ptr_max |
| PARAM_VALUE | 2 | lock->astdata | 4096-ptr_max |
| PARAM_VALUE | 2 | lock->lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0,16-8562576 |
| PARAM_VALUE | 4 | type | 0,3,5 |
| PARAM_VALUE | 5 | call_ast | 2767430811547439104 |
| PARAM_VALUE | 5 | *call_ast | 0 |
| PARAM_VALUE | 6 | kick_thread | 5565776235740680192 |
| PARAM_VALUE | 6 | *kick_thread | 0 |
| BUF_SIZE | 0 | dlm | 8,1560 |
| BUF_SIZE | 0 | dlm | 8,1560 |
| CAPPED_DATA | 0 | dlm->node_num | 1 |
| CAPPED_DATA | 1 | res->owner | 1 |
| CAPPED_DATA | 2 | lock | 1 |
| CAPPED_DATA | 2 | lock->ast | 1 |
| CAPPED_DATA | 2 | lock->astdata | 1 |
| CAPPED_DATA | 2 | lock->bast | 1 |
| CAPPED_DATA | 2 | lock->lksb | 1 |
| CAPPED_DATA | 4 | type | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 1 | res | $1 |
| DATA_SOURCE | 2 | lock | $2 |
| DATA_SOURCE | 3 | flags | $3 |
| DATA_SOURCE | 4 | type | $4 |
| STR_LEN | 0 | dlm | (-1) |
| STR_LEN | 0 | dlm | (-1) |
| BIT_INFO | 1 | res->state | 0x10,0xffff |
| BIT_INFO | 3 | flags | 0x0,0x80b700 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &res->spinlock | |
| HALF_LOCKED2 | &fp->fp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |