Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- fs/ocfs2/dlm/dlmlock.c, line 743
- fs/ocfs2/dlm/dlmrecovery.c, line 2563
- fs/ocfs2/stack_o2cb.c, line 202
Smatch caller information:
fs/ocfs2/stack_o2cb.c o2cb_dlm_lock() -> dlmlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0,3,5 |
| PARAM_VALUE | 2 | lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0,16-8562576 |
| PARAM_VALUE | 5 | namelen | 0-31 |
| PARAM_VALUE | 7 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dlm | 8,1560 |
| BUF_SIZE | 4 | name | 32 |
| CAPPED_DATA | 1 | mode | 1 |
| DATA_SOURCE | 1 | mode | $1 |
| DATA_SOURCE | 3 | flags | r flags_to_o2dlm |
| DATA_SOURCE | 4 | name | $4 |
| DATA_SOURCE | 5 | namelen | $5 |
| DATA_SOURCE | 7 | data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fp->fp_mutex |
fs/ocfs2/dlm/dlmrecovery.c dlm_pick_recovery_master() -> dlmlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1-2 |
| PARAM_VALUE | 0 | dlm->migrate_done | 0 |
| PARAM_VALUE | 0 | dlm->reco.dead_node | 0-254 |
| PARAM_VALUE | 0 | dlm->reco.new_master | 255 |
| PARAM_VALUE | 0 | dlm->recovery_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mode | 5 |
| PARAM_VALUE | 2 | lksb | 7461059372589182976 |
| PARAM_VALUE | 2 | lksb->lockid | 0 |
| PARAM_VALUE | 2 | lksb->status | 0 |
| PARAM_VALUE | 3 | flags | (-2147483136) |
| PARAM_VALUE | 4 | name | 7063094257575493632 |
| PARAM_VALUE | 5 | namelen | 9 |
| PARAM_VALUE | 7 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dlm | 128 |
| BUF_SIZE | 0 | dlm | 128 |
| BUF_SIZE | 4 | name | 10 |
| BUF_SIZE | 7 | data | 128 |
| CAPPED_DATA | 0 | dlm | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 7 | data | $0 |
| STR_LEN | 0 | dlm | 9 |
| TERMINATED | 4 | name | 1 |
| MEM_ZERO | 2 | lksb |