Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/xfs/scrub/orphanage.c xrep_chown_orphanage() -> xfs_qm_vop_dqalloc()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 3 prid 0
PARAM_VALUE 4 flags 7
PARAM_VALUE 5 O_udqpp 7515210682779168768
PARAM_VALUE 5 *O_udqpp 0
PARAM_VALUE 6 O_gdqpp 37188906388840448
PARAM_VALUE 6 *O_gdqpp 0
PARAM_VALUE 7 O_pdqpp 2364562509521764352
PARAM_VALUE 7 *O_pdqpp 0
DATA_SOURCE 0 ip $1
CAPABLE 0 21

fs/xfs/xfs_inode.c xfs_icreate_dqalloc() -> xfs_qm_vop_dqalloc()

Type Parameter Key Value
PARAM_VALUE 4 flags 7,2147483655
PARAM_VALUE 5 O_udqpp 1002793873841733632,1541383185376808960,3958878478826627072,4737695336691875840
PARAM_VALUE 5 *O_udqpp 0
PARAM_VALUE 6 O_gdqpp 820085501476311040,6502809430408142848,8395237701954764800,8986215582241853440
PARAM_VALUE 6 *O_gdqpp 0
PARAM_VALUE 7 O_pdqpp 64292547014135808,3515725914055684096,4192188491209867264,8291876362087600128
PARAM_VALUE 7 *O_pdqpp 0
DATA_SOURCE 5 O_udqpp $1
DATA_SOURCE 6 O_gdqpp $2
DATA_SOURCE 7 O_pdqpp $3
FUZZY_MAX 4 flags 7
BIT_INFO 4 flags 0x7,0x80000007
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_iops.c xfs_setattr_nonsize() -> xfs_qm_vop_dqalloc()

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_qflags 1-u32max
PARAM_VALUE 4 flags 0-3
PARAM_VALUE 5 O_udqpp 1731715899852111872
PARAM_VALUE 5 *O_udqpp 0
PARAM_VALUE 6 O_gdqpp 2752173191889104896
PARAM_VALUE 6 *O_gdqpp 0
PARAM_VALUE 7 O_pdqpp 0
DATA_SOURCE 0 ip $2
FUZZY_MAX 4 flags 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem

fs/xfs/xfs_ioctl.c xfs_fileattr_set() -> xfs_qm_vop_dqalloc()

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_qflags 1-u32max
PARAM_VALUE 4 flags 4
PARAM_VALUE 5 O_udqpp 0
PARAM_VALUE 6 O_gdqpp 0
PARAM_VALUE 7 O_pdqpp 5817993083183267840
PARAM_VALUE 7 *O_pdqpp 0
DATA_SOURCE 0 ip r XFS_I
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 prid 0-u32max
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem