Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/zstd.c zstd_compress_bio() -> btrfs_calc_input_length()

Type Parameter Key Value
PARAM_VALUE 0 folio 4096-ptr_max
PARAM_VALUE 2 cur 0-18446744073709551614
CAPPED_DATA 2 cur 1
CAPPED_DATA 2 cur 1
PARAM_COMPARE 1 range_end >= $2
PARAM_COMPARE 1 range_end >= $2
PARAM_COMPARE 2 cur <= $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 range_end unit_byte
UNITS 2 cur unit_byte

fs/btrfs/zstd.c zstd_compress_bio() -> btrfs_calc_input_length()

Type Parameter Key Value
PARAM_VALUE 0 folio 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 range_end unit_byte
UNITS 2 cur unit_byte

fs/btrfs/zlib.c zlib_compress_bio() -> btrfs_calc_input_length()

Type Parameter Key Value
PARAM_VALUE 0 folio 1-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 folio->_deferred_list.next->prev 4096-ptr_max
PARAM_VALUE 0 folio->_deferred_list.prev->next 4096-ptr_max
PARAM_VALUE 0 folio->_hugetlb_subpool 0
PARAM_VALUE 0 folio->lru.next 4096-ptr_max
PARAM_VALUE 0 folio->lru.prev 4096-ptr_max
PARAM_VALUE 0 folio->mapping 0
PARAM_VALUE 0 folio->page.buddy_list.next 4096-ptr_max
PARAM_VALUE 0 folio->page.buddy_list.prev 4096-ptr_max
PARAM_VALUE 0 folio->page.memcg_data 0
PARAM_VALUE 0 folio->page.pcp_list.next 4096-ptr_max
PARAM_VALUE 0 folio->page.pcp_list.prev 4096-ptr_max
PARAM_VALUE 0 folio->page.zone_device_data->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 folio->pgmap->ref.data 0,4096-ptr_max
PARAM_VALUE 0 folio->private 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 range_end unit_byte
UNITS 2 cur unit_byte