Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/libxfs/xfs_dir2.c xfs_dir_add_child() -> xfs_dir_createname()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 2 name 4096-ptr_max
DATA_SOURCE 0 tp $0
DATA_SOURCE 4 total $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2.c xfs_dir_canenter() -> xfs_dir_createname()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 2 name 4096-ptr_max
PARAM_VALUE 3 inum 0
PARAM_VALUE 4 total 0
CAPPED_DATA 1 dp 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 dp $1
DATA_SOURCE 2 name $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

fs/xfs/libxfs/xfs_dir2.c xfs_dir_create_child() -> xfs_dir_createname()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_icount.lock.dep_map->name 0-255
PARAM_VALUE 0 tp->t_mountp->m_icount.lock.owner (-1)
PARAM_VALUE 0 tp->t_mountp->m_icount.lock.owner_cpu u32max
PARAM_VALUE 0 tp->t_mountp->m_icount.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 tp->t_mountp->m_ifree.lock.dep_map->name 0-255
PARAM_VALUE 0 tp->t_mountp->m_ifree.lock.owner (-1)
PARAM_VALUE 0 tp->t_mountp->m_ifree.lock.owner_cpu u32max
PARAM_VALUE 0 tp->t_mountp->m_ifree.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_agcount 1-u32max
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_fdblocks 0-9223372036854775807
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_frextents 0-9223372036854775807
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_icount 0-9223372036854775807
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_ifree 0-9223372036854775807
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_map_count 0-s32max
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_sema.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_sema.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_sema.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_sema.lock.owner_cpu u32max
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_transp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_transp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_sb_bp->b_transp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_sb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 2 name 5434382714463490048,5726428386383998976,8439464016390635520
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 4 total $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2.c xfs_dir_rename_children() -> xfs_dir_createname()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_highest_agno u32max
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_pflags 0,262144
PARAM_VALUE 1 dp 4096-ptr_max
PARAM_VALUE 2 name 4054032053945585664
CAPPED_DATA 1 dp 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 4 total $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/xfs/scrub/orphanage.c xrep_adoption_move() -> xfs_dir_createname()

Type Parameter Key Value
PARAM_VALUE 2 name 4096-ptr_max