Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/ocfs2/dlm/dlmconvert.c dlm_convert_lock_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmast.c dlm_proxy_ast_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 dlm 1-u64max
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmdomain.c dlm_begin_exit_domain_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmdomain.c dlm_exit_domain_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmdebug.c debug_lockres_open() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm s32min-(-2),1-s32max
BUF_SIZE 0 dlm s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dlm unit_array_size

fs/ocfs2/dlm/dlmunlock.c dlm_unlock_lock_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmmaster.c dlm_assert_master_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmmaster.c dlm_deref_lockres_done_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmmaster.c dlm_deref_lockres_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmmaster.c dlm_master_request_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmmaster.c dlm_migrate_lockres() -> dlm_grab()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->dlm_state 2
PARAM_VALUE 0 dlm->dlm_worker->flush_color s32min-s32max
PARAM_VALUE 0 dlm->dlm_worker->work_color s32min-s32max
PARAM_VALUE 0 dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 0 dlm->num_joins 0
PARAM_VALUE 0 dlm->spinlock.rlock.dep_map->name 0-255
BUF_SIZE 0 dlm 8,1560
BUF_SIZE 0 dlm 8,1560
CAPPED_DATA 0 dlm 1
CAPPED_DATA 0 dlm->node_num 1
DATA_SOURCE 0 dlm $0
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/dlm/dlmmaster.c dlm_migrate_request_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_begin_reco_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_finalize_reco_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_hb_node_down_cb() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 1560
DATA_SOURCE 0 dlm $2
LOCK2 global &o2hb_callback_sem

fs/ocfs2/dlm/dlmrecovery.c dlm_hb_node_up_cb() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 1560
DATA_SOURCE 0 dlm $2
LOCK2 global &o2hb_callback_sem

fs/ocfs2/dlm/dlmrecovery.c dlm_master_requery_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_mig_lockres_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_mig_lockres_handler() -> dlm_grab()

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
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
CAPPED_DATA 0 dlm 1
DATA_SOURCE 0 dlm $2
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_reco_data_done_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_request_all_locks_handler() -> dlm_grab()

Type Parameter Key Value
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
DATA_SOURCE 0 dlm $2
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/dlm/dlmrecovery.c dlm_request_all_locks_handler() -> dlm_grab()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->reco.dead_node 0-254
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
CAPPED_DATA 0 dlm 1
CAPPED_DATA 0 dlm->reco.dead_node 1
DATA_SOURCE 0 dlm $2
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock