Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/gfs2/recovery.c get_log_header() -> __get_log_header()

Type Parameter Key Value
PARAM_VALUE 0 sdp 4096-ptr_max
PARAM_VALUE 3 head 6491825892029632512
BUF_SIZE 0 sdp 1-s32max
BUF_SIZE 0 sdp 1-s32max
DATA_SOURCE 2 blkno $1
DATA_SOURCE 3 head $2
UNITS 0 sdp unit_byte
UNITS 1 lh unit_byte
UNITS 2 blkno unit_byte
LOCK2 &sdp->sd_freeze_mutex
LOCK2 &sdp->sd_log_flush_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gfs2_sbd)->sd_freeze_mutex
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/lops.c gfs2_jhead_folio_search() -> __get_log_header()

Type Parameter Key Value
PARAM_VALUE 1 lh 4096-ptr_max
PARAM_VALUE 2 blkno 0
PARAM_VALUE 3 head 3698472510811344896
BUF_SIZE 0 sdp 1-s32max
BUF_SIZE 0 sdp 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sdp unit_byte
UNITS 1 lh unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sdp->sd_freeze_mutex