Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/xfs_qm_syscalls.c xfs_qm_scall_setqlim() -> xfs_dquot_set_prealloc_limits()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
CAPPED_DATA 0 dqp 1
CAPPED_DATA 0 &dqp->q_qlock 1
NOCHECK_CALL
LOCK2 0 &dqp->q_qlock
HALF_LOCKED2 &sb->s_umount
TYPE_LOCK (struct xfs_dquot)->q_qlock

fs/xfs/xfs_dquot.c xfs_dquot_from_disk() -> xfs_dquot_set_prealloc_limits()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
BUF_SIZE 0 dqp->q_mount (-1),1-s32max
CAPPED_DATA 0 dqp->q_bufoffset 1
CAPPED_DATA 0 dqp->q_id 1
DATA_SOURCE 0 dqp $0
NOSPEC 0 dqp->q_bufoffset
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 dqp->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_fileoffset 0-u32max[c]
USER_DATA 0 dqp->q_id 0-u32max[c]
USER_DATA 0 dqp->q_logitem.qli_dquot->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_logitem.qli_dquot->q_fileoffset 0-u32max[c]
USER_DATA 0 dqp->q_logitem.qli_dquot->q_id 0-u32max
USER_DATA 0 dqp->q_mount->m_rsumlevels 1-32[c]

fs/xfs/xfs_dquot.c xfs_qm_adjust_dqlimits() -> xfs_dquot_set_prealloc_limits()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
CAPPED_DATA 0 dqp 1
DATA_SOURCE 0 dqp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &dqp->q_qlock