Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/libxfs/xfs_inode_fork.c xfs_iformat_local() -> xfs_init_local_fork()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_af.if_format 1-2
PARAM_VALUE 0 ip->i_checked 0
PARAM_VALUE 0 ip->i_cowfp 0
PARAM_VALUE 0 ip->i_delayed_blks 0
PARAM_VALUE 0 ip->i_df.if_needextents 0-1
PARAM_VALUE 0 ip->i_ioend_list.next 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.next->next 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.prev 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ip->i_ioend_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ip->i_mount->m_super 4096-ptr_max
PARAM_VALUE 0 ip->i_prev_unlinked 0
PARAM_VALUE 0 ip->i_sick 0
PARAM_VALUE 1 whichfork 0-1
BUF_SIZE 0 ip->i_mount (-1),1-s32max
CAPPED_DATA 3 size 1
DATA_SOURCE 0 ip $0
DATA_SOURCE 1 whichfork $2
DATA_SOURCE 3 size $3
STR_LEN 0 ip->i_mount (-1),5,8
HARD_MAX 0 ip->i_af.if_format 2
HARD_MAX 1 whichfork 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 size unit_byte

fs/xfs/libxfs/xfs_exchmaps.c xfs_exchmaps_link_to_sf() -> xfs_init_local_fork()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_disk_size (-1)-3999999
PARAM_VALUE 0 ip->i_flags_lock.rlock.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.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 0-s32max
PARAM_VALUE 0 ip->i_gdquot->q_qlock.osq.tail.counter 0-s32max
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_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_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.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 0-s32max
PARAM_VALUE 0 ip->i_pdquot->q_qlock.osq.tail.counter 0-s32max
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.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 0-s32max
PARAM_VALUE 0 ip->i_udquot->q_qlock.osq.tail.counter 0-s32max
PARAM_VALUE 1 whichfork 0
PARAM_VALUE 2 data 16,4096-ptr_max
PARAM_VALUE 2 *data 0
PARAM_VALUE 3 size (-1)-3999999
BUF_SIZE 2 data 0-4294967296,9223372036854775809-u64max
CAPPED_DATA 0 ip->i_disk_size 1
CAPPED_DATA 3 size 1
CAPPED_DATA 3 size 1
DATA_SOURCE 2 data r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 size unit_byte
ELEM_LAST 2 ==data3 8052

fs/xfs/scrub/tempfile.c xrep_tempfile_copyout_local() -> xfs_init_local_fork()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
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 1 whichfork 0-1
BUF_SIZE 2 data s32min-(-2),1-s32max
DATA_SOURCE 1 whichfork $1
NOCHECK_CALL
UNITS 3 size unit_byte

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_block_to_sf() -> xfs_init_local_fork()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
PARAM_VALUE 1 whichfork 0
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 0-u16max
CAPPED_DATA 3 size 1
DATA_SOURCE 2 data r _kmalloc_noprof
DATA_SOURCE 3 size $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ip unit_byte
UNITS 3 size unit_byte

fs/xfs/libxfs/xfs_symlink_remote.c xfs_symlink_write_target() -> xfs_init_local_fork()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_df.if_bytes 0
PARAM_VALUE 0 ip->i_df.if_data 0
PARAM_VALUE 0 ip->i_df.if_format 0-2
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 1 whichfork 0
PARAM_VALUE 3 size 0-1024
CAPPED_DATA 0 ip 1
CAPPED_DATA 3 size 1
DATA_SOURCE 0 ip $1
DATA_SOURCE 2 data $3
DATA_SOURCE 3 size $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 size unit_byte