Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/ocfs2/dlm/dlmcommon.h, line 1003
- fs/ocfs2/dlm/dlmmaster.c
- fs/ocfs2/dlm/dlmthread.c, line 219
- fs/ocfs2/dlm/dlmunlock.c, line 241
Smatch caller information:
fs/ocfs2/dlm/dlmconvert.c __dlm_wait_on_lockres() -> __dlm_wait_on_lockres_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 16434 |
| DATA_SOURCE | 0 | res | $0 |
| PREEMPT_ADD | |||
| 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 __dlm_wait_on_lockres() -> __dlm_wait_on_lockres_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 16434 |
| CAPPED_DATA | 0 | res | 1 |
| DATA_SOURCE | 0 | res | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmthread.c dlm_purge_lockres() -> __dlm_wait_on_lockres_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->converting.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->granted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->inflight_assert_workers | 0 |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 8192 |
| DATA_SOURCE | 0 | res | $1 |
| BIT_INFO | 0 | res->state | 0x40,0xffdf |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmunlock.c __dlm_wait_on_lockres() -> __dlm_wait_on_lockres_flags()
| 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 |
| PARAM_VALUE | 1 | flags | 16434 |
| DATA_SOURCE | 0 | res | $0 |
| BIT_INFO | 0 | res->state | 0x10,0xffff |
| PREEMPT_ADD | |||
| 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_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->owner | 0-254 |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | res->state | 0-65519 |
| PARAM_VALUE | 0 | res->wq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 2 |
| CAPPED_DATA | 0 | &res->converting | 1 |
| DATA_SOURCE | 0 | res | $1 |
| BIT_INFO | 0 | res->state | 0x0,0xffef |
| 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_wait_on_lockres() -> __dlm_wait_on_lockres_flags()
| 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 |
| PARAM_VALUE | 1 | flags | 16434 |
| CAPPED_DATA | 0 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | res | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_deref_lockres_worker() -> __dlm_wait_on_lockres_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 8192 |
| BIT_INFO | 0 | res->state | 0x0,0xffbf |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> __dlm_wait_on_lockres_flags()
| 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 | 0-254 |
| PARAM_VALUE | 0 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | res->state | 64-u16max |
| PARAM_VALUE | 1 | flags | 64 |
| CAPPED_DATA | 0 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | res | r __dlm_lookup_lockres_full |
| BIT_INFO | 0 | res->state | 0x40,0xffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |