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_insert_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->master_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dlm->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dlm->track_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dlm->tracking_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->tracking_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->tracking_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->asts_reserved.counter | 0 |
| PARAM_VALUE | 1 | res->blocked.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dlm | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dlm->lockres_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->hash_node.next | 0 |
| PARAM_VALUE | 1 | res->hash_node.pprev | 0 |
| PARAM_VALUE | 1 | res->inflight_assert_workers | 0 |
| PARAM_VALUE | 1 | res->inflight_locks | 0 |
| PARAM_VALUE | 1 | res->last_used | 0 |
| PARAM_VALUE | 1 | res->lockname.len | 1-31 |
| PARAM_VALUE | 1 | res->lockname.name | 1-u64max |
| PARAM_VALUE | 1 | res->migration_pending | 0 |
| PARAM_VALUE | 1 | res->purge.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->refs.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | res->state | 16 |
| PARAM_VALUE | 1 | res->tracking.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->tracking.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->tracking.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->tracking.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | *res->lvb | 0-255 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 1 | res->dlm | 8,128,1560 |
| CAPPED_DATA | 1 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | dlm | $0 |
| DATA_SOURCE | 1 | res | r dlm_new_lockres |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 1 | res->dlm | (-1),9 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dlm->spinlock | |
| LOCK2 | 1 | &res->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->spinlock | ||
| TYPE_LOCK | (struct dlm_lock_resource)->spinlock |
fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> __dlm_insert_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->master_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->master_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dlm->mle_hb_events.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->mle_hb_events.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->mle_hb_events.prev->next->next | 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->lvb | 0-255 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 0 | dlm | 8,128,1560 |
| BUF_SIZE | 1 | res->dlm | (-1),8,128,1560 |
| DATA_SOURCE | 0 | dlm | $0 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 0 | dlm | (-1),9 |
| STR_LEN | 1 | res->dlm | (-1),9 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dlm->master_lock | |
| LOCK2 | 0 | &dlm->spinlock | |
| TYPE_LOCK | (struct dlm_ctxt)->master_lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |
fs/ocfs2/dlm/dlmrecovery.c dlm_mig_lockres_handler() -> __dlm_insert_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 | 0 | dlm->track_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dlm->tracking_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->tracking_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dlm->tracking_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->asts_reserved.counter | 0 |
| PARAM_VALUE | 1 | res->blocked.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->blocked.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->converting.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dirty.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dlm | 4096-ptr_max |
| PARAM_VALUE | 1 | res->dlm->lockres_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->granted.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->hash_node.next | 0 |
| PARAM_VALUE | 1 | res->hash_node.pprev | 0 |
| PARAM_VALUE | 1 | res->inflight_assert_workers | 0 |
| PARAM_VALUE | 1 | res->inflight_locks | 0 |
| PARAM_VALUE | 1 | res->last_used | 0 |
| PARAM_VALUE | 1 | res->lockname.len | 0-32 |
| PARAM_VALUE | 1 | res->lockname.name | 1-u64max |
| PARAM_VALUE | 1 | res->migration_pending | 0 |
| PARAM_VALUE | 1 | res->owner | 255 |
| PARAM_VALUE | 1 | res->purge.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->purge.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->recovering.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | res->state | 18,48 |
| PARAM_VALUE | 1 | res->tracking.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->tracking.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->tracking.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->tracking.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res->wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | *res->lvb | 0-255 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 0 | dlm | 720 |
| BUF_SIZE | 1 | res->dlm | 720 |
| CAPPED_DATA | 0 | dlm | 1 |
| CAPPED_DATA | 1 | res->lockname.len | 1 |
| DATA_SOURCE | 0 | dlm | $2 |
| DATA_SOURCE | 1 | res | r dlm_new_lockres |
| BIT_INFO | 1 | res->state | 0x10,0x32 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dlm->spinlock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ctxt)->spinlock |