Defined in 1 files as a function:
Referenced in 4 files:
- fs/ocfs2/dlm/dlmconvert.c
- fs/ocfs2/dlm/dlmlock.c
- fs/ocfs2/dlm/dlmmaster.c, line 743
- fs/ocfs2/dlm/dlmunlock.c, line 122
Smatch caller information:
fs/ocfs2/dlm/dlmconvert.c dlmconvert_master() -> __dlm_wait_on_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res->owner | 1 |
| DATA_SOURCE | 0 | res | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| HALF_LOCKED2 | &fp->fp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmconvert.c dlmconvert_remote() -> __dlm_wait_on_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | res | $1 |
| BIT_INFO | 0 | res->state | 0x0,0xfffd |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| HALF_LOCKED2 | &fp->fp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmlock.c dlmlock_master() -> __dlm_wait_on_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res | 1 |
| DATA_SOURCE | 0 | res | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmlock.c dlmlock_remote() -> __dlm_wait_on_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->hash_node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->hash_node.pprev | 1-u64max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | res->wq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *res->lvb | 0-255 |
| CAPPED_DATA | 0 | res | 1 |
| DATA_SOURCE | 0 | res | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmunlock.c dlmunlock_common() -> __dlm_wait_on_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | res->state | 16-u16max |
| DATA_SOURCE | 0 | res | $1 |
| BIT_INFO | 0 | res->state | 0x10,0xffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> __dlm_wait_on_lockres()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->hash_node.pprev | 1-u64max |
| PARAM_VALUE | 0 | res->lockname.name | 4096-ptr_max |
| PARAM_VALUE | 0 | res->owner | 255 |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | res | r __dlm_lookup_lockres_full |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |