Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ocfs2/dlm/dlmdebug.c __dlm_print_one_lock_resource() -> stringify_lockname()

Type Parameter Key Value
PARAM_VALUE 2 buf 2399122756044529664
PARAM_VALUE 3 len 32
BUF_SIZE 0 lockname s32min-(-2),1-s32max
BUF_SIZE 2 buf 32
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 lockname unit_byte
UNITS 1 locklen unit_byte
UNITS 3 len unit_byte
LOCK2 &res->spinlock
HALF_LOCKED2 &dlm->ast_lock
HALF_LOCKED2 &dlm->spinlock
HALF_LOCKED2 &dlm->track_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_lock_resource)->spinlock

fs/ocfs2/dlm/dlmdebug.c debug_purgelist_print() -> stringify_lockname()

Type Parameter Key Value
PARAM_VALUE 3 len 100-s32max
BUF_SIZE 0 lockname s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lockname unit_byte
UNITS 1 locklen unit_byte
UNITS 2 buf unit_byte
UNITS 3 len unit_byte
LOCK2 &dlm->spinlock
LOCK2 &res->spinlock
TYPE_LOCK (struct dlm_ctxt)->spinlock
TYPE_LOCK (struct dlm_lock_resource)->spinlock

fs/ocfs2/dlm/dlmdebug.c dump_lockres() -> stringify_lockname()

Type Parameter Key Value
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 lockname s32min-(-2),1-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lockname unit_byte
UNITS 1 locklen unit_byte
UNITS 2 buf unit_byte
UNITS 3 len unit_byte
LOCK2 &m->lock
LOCK2 &res->spinlock
TYPE_LOCK (struct dlm_lock_resource)->spinlock
TYPE_LOCK (struct seq_file)->lock

fs/ocfs2/dlm/dlmdebug.c dump_mle() -> stringify_lockname()

Type Parameter Key Value
PARAM_VALUE 3 len 200-s32max
BUF_SIZE 0 lockname 32
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 locklen unit_byte
UNITS 2 buf unit_byte
UNITS 3 len unit_byte
HALF_LOCKED2 &dlm->master_lock