Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/dlm/dlmlock.c dlm_create_lock_handler() -> dlm_lock_attach_lockres()

Type Parameter Key Value
PARAM_VALUE 0 lock 4096-ptr_max
PARAM_VALUE 0 lock->ast 0
PARAM_VALUE 0 lock->ast_list.next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->ast_pending 0
PARAM_VALUE 0 lock->astdata 0
PARAM_VALUE 0 lock->bast 0
PARAM_VALUE 0 lock->bast_list.next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->bast_pending 0
PARAM_VALUE 0 lock->cancel_pending 0
PARAM_VALUE 0 lock->convert_pending 0
PARAM_VALUE 0 lock->list.next 4096-ptr_max
PARAM_VALUE 0 lock->list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->list.prev 4096-ptr_max
PARAM_VALUE 0 lock->list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->lksb 4096-ptr_max
PARAM_VALUE 0 lock->lock_pending 0
PARAM_VALUE 0 lock->lock_refs.refcount.refs.counter 1
PARAM_VALUE 0 lock->ml.convert_type (-1)
PARAM_VALUE 0 lock->ml.flags 0
PARAM_VALUE 0 lock->ml.highest_blocked (-1)
PARAM_VALUE 0 lock->ml.list 0
PARAM_VALUE 0 lock->ml.pad1 0
PARAM_VALUE 0 lock->unlock_pending 0
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->lockname.name 4096-ptr_max
PARAM_VALUE 1 res->spinlock.rlock.dep_map->name 0-255
CAPPED_DATA 1 res->lockname.len 1
DATA_SOURCE 0 lock r dlm_new_lock
DATA_SOURCE 1 res r dlm_lookup_lockres
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmlock.c dlmlock() -> dlm_lock_attach_lockres()

Type Parameter Key Value
PARAM_VALUE 0 lock 4096-ptr_max
PARAM_VALUE 0 lock->ast 0
PARAM_VALUE 0 lock->ast_list.next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->ast_pending 0
PARAM_VALUE 0 lock->astdata 0
PARAM_VALUE 0 lock->bast 0
PARAM_VALUE 0 lock->bast_list.next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->bast_pending 0
PARAM_VALUE 0 lock->cancel_pending 0
PARAM_VALUE 0 lock->convert_pending 0
PARAM_VALUE 0 lock->list.next 4096-ptr_max
PARAM_VALUE 0 lock->list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->list.prev 4096-ptr_max
PARAM_VALUE 0 lock->list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->lksb 4096-ptr_max
PARAM_VALUE 0 lock->lock_pending 0
PARAM_VALUE 0 lock->lock_refs.refcount.refs.counter 1
PARAM_VALUE 0 lock->ml.convert_type (-1)
PARAM_VALUE 0 lock->ml.flags 0
PARAM_VALUE 0 lock->ml.highest_blocked (-1)
PARAM_VALUE 0 lock->ml.list 0
PARAM_VALUE 0 lock->ml.pad1 0
PARAM_VALUE 0 lock->unlock_pending 0
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->hash_node->pprev 4096-ptr_max
PARAM_VALUE 1 res->hash_node.pprev 1-u64max
PARAM_VALUE 1 res->wq.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 *res->lvb 0-255
DATA_SOURCE 0 lock r dlm_new_lock
DATA_SOURCE 1 res r dlm_get_lock_resource
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ocfs2/dlm/dlmrecovery.c dlm_process_recovery_data() -> dlm_lock_attach_lockres()

Type Parameter Key Value
PARAM_VALUE 0 lock 4096-ptr_max
PARAM_VALUE 0 lock->ast 0
PARAM_VALUE 0 lock->ast_list.next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->ast_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->ast_pending 0
PARAM_VALUE 0 lock->astdata 0
PARAM_VALUE 0 lock->bast 0
PARAM_VALUE 0 lock->bast_list.next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->bast_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->bast_pending 0
PARAM_VALUE 0 lock->cancel_pending 0
PARAM_VALUE 0 lock->convert_pending 0
PARAM_VALUE 0 lock->list.next 4096-ptr_max
PARAM_VALUE 0 lock->list.next->next 4096-ptr_max
PARAM_VALUE 0 lock->list.prev 4096-ptr_max
PARAM_VALUE 0 lock->list.prev->next 4096-ptr_max
PARAM_VALUE 0 lock->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lock->lksb 4096-ptr_max
PARAM_VALUE 0 lock->lock_pending 0
PARAM_VALUE 0 lock->lock_refs.refcount.refs.counter 1
PARAM_VALUE 0 lock->ml.convert_type (-1)
PARAM_VALUE 0 lock->ml.flags 0
PARAM_VALUE 0 lock->ml.highest_blocked (-1)
PARAM_VALUE 0 lock->ml.list 0
PARAM_VALUE 0 lock->ml.pad1 0
PARAM_VALUE 0 lock->unlock_pending 0
DATA_SOURCE 0 lock r dlm_new_lock
DATA_SOURCE 1 res $1 [m]
NOCHECK_CALL
HALF_LOCKED2 &pool->lock