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_dir2.c xfs_dir_createname_args() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 4096-ptr_max
PARAM_VALUE 0 args->op_flags 12-13
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 7245062463026782208
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args->name s32min-(-1),1-s32max
DATA_SOURCE 0 args $0
STR_LEN 0 args->dp (-1),5,8
STR_LEN 0 args->trans (-1),5,8
BIT_INFO 0 args->op_flags 0xc,0xd
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 args->trans->t_blk_res

fs/xfs/libxfs/xfs_dir2.c xfs_dir_lookup_args() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 4096-ptr_max
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->op_flags 8,24
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 4832937699709038592
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args->name s32min-(-1),1-s32max
DATA_SOURCE 0 args $0
FUZZY_MAX 0 args->op_flags 8
BIT_INFO 0 args->op_flags 0x8,0x18
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2.c xfs_dir_removename_args() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 4096-ptr_max
PARAM_VALUE 0 args->dp 0,4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount 4096-ptr_max
PARAM_VALUE 0 args->trans 4096-ptr_max
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 6379437368154902528
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args->name s32min-(-1),1-s32max
DATA_SOURCE 0 args $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 args->trans->t_blk_res

fs/xfs/libxfs/xfs_dir2.c xfs_dir_replace_args() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 4096-ptr_max
PARAM_VALUE 0 args->trans 4096-ptr_max
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 3534743945311412224
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args (-1),144
BUF_SIZE 0 args->name s32min-(-1),1-s32max
DATA_SOURCE 0 args $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 args->trans->t_blk_res

fs/xfs/libxfs/xfs_exchmaps.c xfs_exchmaps_dir_to_sf() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 3571163616774221824
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 0
PARAM_VALUE 0 args->namelen 0
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->trans 4096-ptr_max
PARAM_VALUE 0 args->value 0
PARAM_VALUE 0 args->valuelen 0
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 8652559876565143552
PARAM_VALUE 1 *error 0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_dir2_readdir.c xfs_readdir() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 5112712541974679552
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 0
PARAM_VALUE 0 args->namelen 0
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->trans 0
PARAM_VALUE 0 args->value 0
PARAM_VALUE 0 args->valuelen 0
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 1531751982821261312
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/scrub/dir.c xchk_directory_blocks() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 5674814425701646336
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 0
PARAM_VALUE 0 args->namelen 0
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->value 0
PARAM_VALUE 0 args->valuelen 0
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 8362263565760032768

fs/xfs/scrub/readdir.c xchk_dir_walk() -> xfs_dir2_format()

Type Parameter Key Value
PARAM_VALUE 0 args 4873327540221296640
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 0
PARAM_VALUE 0 args->namelen 0
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->value 0
PARAM_VALUE 0 args->valuelen 0
PARAM_VALUE 0 args->whichfork 0
PARAM_VALUE 1 error 1711937640815075328