Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/xfs/scrub/repair.c xrep_reset_metafile_resv() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 delta 1-9223372036854775807
PARAM_VALUE 2 reserved 1
UNITS 0 mp unit_byte

fs/xfs/scrub/repair.c xrep_reset_metafile_resv() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 delta 1-9223372036854775807
PARAM_VALUE 2 reserved 1
UNITS 0 mp unit_byte

fs/xfs/xfs_iomap.c xfs_bmapi_reserve_delalloc() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_errortag 4096-ptr_max
PARAM_VALUE 0 mp->m_super 4096-ptr_max
PARAM_VALUE 2 reserved 0
UNITS 0 mp unit_byte

fs/xfs/xfs_iomap.c xfs_zoned_buffered_write_iomap_begin() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_errortag 4096-ptr_max
PARAM_VALUE 0 mp->m_super 4096-ptr_max
PARAM_VALUE 2 reserved 0
DATA_SOURCE 1 delta r xfs_bmap_worst_indlen
UNITS 0 mp unit_byte

fs/xfs/xfs_trans.c xfs_trans_reserve() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 delta 1-u32max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
DATA_SOURCE 1 delta $2
FUZZY_MAX 1 delta 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mp->m_rsumlevels 1-32[c]
NO_OVERFLOW_SIMPLE 0 mp->m_sb.sb_rbmblocks
NO_OVERFLOW_SIMPLE 1 delta
UNITS 0 mp unit_byte
UNITS 1 delta unit_array_size
HALF_LOCKED2 &ls->ls_mutex
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_trans.c xfs_trans_reserve_more() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 1 delta 1-u32max
DATA_SOURCE 1 delta $1
BIT_INFO 2 reserved 0x0,0x0
NO_OVERFLOW_SIMPLE 1 delta
UNITS 0 mp unit_byte
UNITS 1 delta unit_array_size
HALF_LOCKED2 &dq->q_qlock

fs/xfs/libxfs/xfs_metafile.c xfs_metafile_resv_alloc_space() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_metafile_resv_avail 0-9223372036854775807
PARAM_VALUE 0 mp->m_metafile_resv_lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mp->m_metafile_resv_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mp->m_metafile_resv_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_metafile_resv_lock.wait_lock.owner (-1)
PARAM_VALUE 0 mp->m_metafile_resv_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 delta 1-u32max
PARAM_VALUE 2 reserved 1
FUZZY_MAX 0 mp->m_metafile_resv_avail 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte
UNITS 1 delta unit_array_size
LOCK2 &mp->m_metafile_resv_lock
TYPE_LOCK (struct xfs_mount)->m_metafile_resv_lock

fs/xfs/libxfs/xfs_metafile.c xfs_metafile_resv_init() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_delalloc_blks.lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_delalloc_blks.lock.owner (-1)
PARAM_VALUE 0 mp->m_delalloc_blks.lock.owner_cpu u32max
PARAM_VALUE 0 mp->m_error_meta_kobj.kobject.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mp->m_metafile_resv_avail 0
PARAM_VALUE 0 mp->m_metafile_resv_lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mp->m_metafile_resv_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mp->m_metafile_resv_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mp->m_metafile_resv_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_metafile_resv_lock.wait_lock.owner (-1)
PARAM_VALUE 0 mp->m_metafile_resv_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mp->m_metafile_resv_target 0
PARAM_VALUE 0 mp->m_metafile_resv_used 0
PARAM_VALUE 0 mp->m_rootip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mp->m_rootip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 mp->m_sb_bp->b_ops->name 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_bp->b_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_bp->b_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 mp->m_sb_bp->b_sema.first_waiter->up 0-1
PARAM_VALUE 0 mp->m_sb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mp->m_zoned_kobj.kobject.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 *mp->m_bm_maxlevels 0-4294967295
PARAM_VALUE 2 reserved 1
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
CAPPED_DATA 0 &mp->m_metafile_resv_lock 1
CAPPED_DATA 1 delta 1
CAPPED_DATA 1 delta 1
DATA_SOURCE 0 mp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte
LOCK2 0 &mp->m_metafile_resv_lock
HALF_LOCKED2 0 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_metafile_resv_lock

fs/xfs/libxfs/xfs_ag_resv.c __xfs_ag_resv_init() -> xfs_dec_fdblocks()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_errortag 4096-ptr_max
PARAM_VALUE 2 reserved 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte
HALF_LOCKED2 &mp->m_growlock