Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-vdo/slab-depot.c reclaim_journal_space() -> journal_length()

Type Parameter Key Value
PARAM_VALUE 0 journal 4096-ptr_max
BUF_SIZE 0 journal (-1),4,8-s32max
BUF_SIZE 0 journal (-1),4,8-s32max
DATA_SOURCE 0 journal $0
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-vdo/slab-depot.c requires_reaping() -> journal_length()

Type Parameter Key Value
PARAM_VALUE 0 journal 4096-ptr_max
BUF_SIZE 0 journal (-1),8-s32max
BUF_SIZE 0 journal (-1),8-s32max
DATA_SOURCE 0 journal $0
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-vdo/slab-depot.c vdo_attempt_replay_into_slab() -> journal_length()

Type Parameter Key Value
PARAM_VALUE 0 journal 4096-ptr_max
BUF_SIZE 0 journal 304
CAPPED_DATA 0 journal->full_entries_per_block 1
CAPPED_DATA 0 journal->tail_header.recovery_point.entry_count 1
CAPPED_DATA 0 journal->tail_header.recovery_point.sequence_number 1
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-vdo/slab-depot.c vdo_prepare_slabs_for_allocation() -> journal_length()

Type Parameter Key Value
PARAM_VALUE 0 journal 4096-ptr_max
BUF_SIZE 0 journal 304