Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> dlm_new_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->lockres_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | name | 1-u64max |
| PARAM_VALUE | 2 | namelen | 1-31 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 1 | name | 10,32 |
| BUF_SIZE | 1 | name | 10,32 |
| CAPPED_DATA | 2 | namelen | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 2 | namelen | $2 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/dlm/dlmrecovery.c dlm_mig_lockres_handler() -> dlm_new_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dlm | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->dlm_state | 1 |
| PARAM_VALUE | 0 | dlm->lockres_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | namelen | 0-32 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 1 | name | 32 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 2 | namelen | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| FUZZY_MAX | 2 | namelen | 32 |
| HARD_MAX | 2 | namelen | 32 |
| RX_PATH | |||
| UNITS | 2 | namelen | unit_byte |
| HALF_LOCKED2 | &pool->lock |