Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_alloc_account() -> xfs_mod_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 2 ind_delta 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ip->i_delayed_blks
NO_OVERFLOW_SIMPLE 0 ip->i_nblocks
UNITS 0 ip unit_byte

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_alloc_account() -> xfs_mod_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_flags_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_itemp 4096-ptr_max
PARAM_VALUE 0 ip->i_itemp->ili_dirty_flags 0-4294967295
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 2 ind_delta 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ip->i_delayed_blks
NO_OVERFLOW_SIMPLE 0 ip->i_nblocks
UNITS 0 ip unit_byte

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_del_extent_delay() -> xfs_mod_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_gdquot->q_qlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ip->i_gdquot->q_qlock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_pdquot->q_qlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ip->i_pdquot->q_qlock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ip->i_udquot->q_qlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ip->i_udquot->q_qlock.osq.tail.counter 0-s32max
PARAM_VALUE 1 data_delta (-9223372036854775807)-s64max
PARAM_VALUE 2 ind_delta (-9223372036854775807)-s64max
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $0
NOSPEC 0 ip->i_disk_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ip->i_disk_size (-9223372036854775807)-(-4096),0-s64max[c]
USER_DATA 1 data_delta (-9223372036854775807)-s64max
USER_DATA 2 ind_delta (-2147614717)-131070
NO_OVERFLOW_SIMPLE 0 ip->i_delayed_blks
NO_OVERFLOW_SIMPLE 0 ip->i_pdquot->q_id
UNITS 0 ip unit_byte

fs/xfs/xfs_iomap.c xfs_bmap_add_extent_hole_delay() -> xfs_mod_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_df.if_format 2-3
PARAM_VALUE 0 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_delalloc_rtextents.lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_mount->m_delalloc_rtextents.lock.owner (-1)
PARAM_VALUE 0 ip->i_mount->m_delalloc_rtextents.lock.owner_cpu u32max
PARAM_VALUE 0 ip->i_mount->m_errortag 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_super 4096-ptr_max
PARAM_VALUE 1 data_delta 0
CAPPED_DATA 2 ind_delta 1
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_df.if_format 2-3
PARAM_VALUE 0 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_errortag 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_super 4096-ptr_max
DATA_SOURCE 0 ip $0
DATA_SOURCE 2 ind_delta r xfs_bmap_worst_indlen
NOCHECK_CALL
UNITS 1 data_delta unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_cowfp 4096-ptr_max
PARAM_VALUE 0 ip->i_df.if_format 2-3
PARAM_VALUE 0 ip->i_gdquot->q_qlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ip->i_gdquot->q_qlock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip->i_lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_errortag 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_sb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_mount->m_super 4096-ptr_max
PARAM_VALUE 0 ip->i_pdquot->q_qlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ip->i_pdquot->q_qlock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ip->i_udquot->q_qlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ip->i_udquot->q_qlock.osq.tail.counter 0-s32max
PARAM_VALUE 1 data_delta 0-2097151
CAPPED_DATA 1 data_delta 1
DATA_SOURCE 0 ip r XFS_I
DATA_SOURCE 2 ind_delta r xfs_bmap_worst_indlen
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_avail 1-9223372036854775807
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 data_delta 0
PARAM_VALUE 2 ind_delta (-4294967295)-s64max
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ip->i_delayed_blks
NO_OVERFLOW_SIMPLE 0 ip->i_nblocks
UNITS 0 ip unit_byte
LOCK2 &mp->m_metafile_resv_lock
TYPE_LOCK (struct xfs_mount)->m_metafile_resv_lock

fs/xfs/libxfs/xfs_metafile.c xfs_metafile_resv_free_space() -> xfs_mod_delalloc()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_flags_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_itemp 4096-ptr_max
PARAM_VALUE 0 ip->i_itemp->ili_dirty_flags 0-4294967295
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ip->i_mount->m_metafile_resv_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 data_delta 0
PARAM_VALUE 2 ind_delta 1
DATA_SOURCE 0 ip $0
STR_LEN 0 ip (-1)-1024
STR_LEN 0 ip (-1)-1024
NOSPEC 0 ip->i_disk_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ip->i_disk_size (-9223372036854775807)-s64max[c]
NO_OVERFLOW_SIMPLE 0 ip->i_delayed_blks
NO_OVERFLOW_SIMPLE 0 ip->i_nblocks
UNITS 0 ip unit_byte
LOCK2 &mp->m_metafile_resv_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xfs_mount)->m_metafile_resv_lock