Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ext4/balloc.c ext4_claim_free_clusters() -> ext4_has_free_clusters()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 2 flags 0,32,64-u32max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
DATA_SOURCE 0 sbi $0
DATA_SOURCE 1 nclusters $1
DATA_SOURCE 2 flags $2
BIT_INFO 2 flags 0x0,0xfffffbff
NOSPEC 1 nclusters
NOSPEC 1 nclusters
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nclusters 1-4294967295[c]
UNITS 0 sbi unit_byte
UNITS 1 nclusters unit_byte
HALF_LOCKED2 &ei->i_block_reservation_lock

fs/ext4/balloc.c ext4_should_retry_alloc() -> ext4_has_free_clusters()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->s_journal 1-u64max
PARAM_VALUE 0 sbi->s_mb_free_pending.counter 0
PARAM_VALUE 1 nclusters 1
PARAM_VALUE 2 flags 0
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte
HALF_LOCKED2 &mapping->invalidate_lock