Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/ext4/extents.c ext4_ext_try_to_merge_up() -> ext4_journal_extend()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_checksum_type 4
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_blocktype 1-2,5
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_magic 3225106840
PARAM_VALUE 1 nblocks 2
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
DATA_SOURCE 0 handle $0
STR_LEN 0 handle (-1)-1
STR_LEN 0 handle (-1)-1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ext4/inode.c ext4_try_to_expand_extra_isize() -> ext4_journal_extend()

Type Parameter Key Value
PARAM_VALUE 0 handle 0-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_revoke_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 nblocks 12-15,24-27
PARAM_VALUE 2 revoke 0
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
DATA_SOURCE 0 handle $3
STR_LEN 0 handle (-1)-1
STR_LEN 0 handle (-1)-1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &mapping->invalidate_lock

fs/ext4/ext4_jbd2.c __ext4_journal_ensure_credits() -> ext4_journal_extend()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_aborted 0
PARAM_VALUE 0 handle->h_invalid 0
PARAM_VALUE 0 handle->h_transaction 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_checksum_type 4
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 nblocks 0-s32max
PARAM_VALUE 2 revoke 0-s32max
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
DATA_SOURCE 0 handle $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING