Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/xfs_qm.c xfs_dquot_is_enforced() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 1-u64max
DATA_SOURCE 0 dqp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_qm.c xfs_qm_dqfree_one() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
DATA_SOURCE 0 dqp $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qi->qi_tree_lock
HALF_LOCKED2 global &bch_register_lock
TYPE_LOCK (struct xfs_quotainfo)->qi_tree_lock

fs/xfs/xfs_qm.c xfs_qm_dqpurge() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
CAPPED_DATA 0 &dqp->q_qlock 1
DATA_SOURCE 0 dqp $0
RX_PATH
LOCK2 &qi->qi_tree_lock
HALF_LOCKED2 0 &dqp->q_logitem.qli_item.li_buf->b_sema
TYPE_LOCK (struct xfs_quotainfo)->qi_tree_lock

fs/xfs/xfs_qm.c xfs_qm_set_defquota() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/xfs_trans_dquot.c xfs_dquot_is_enforced() -> xfs_dquot_type()

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
USER_DATA 0 dqp->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_fileoffset 0-1431655765[c]
USER_DATA 0 dqp->q_id 1-u32max[c]
LOCK2 0 &dqp->q_qlock
TYPE_LOCK (struct xfs_dquot)->q_qlock

fs/xfs/xfs_trans_dquot.c xfs_quota_warn() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
CAPPED_DATA 0 dqp 1
DATA_SOURCE 0 dqp $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dqp->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_fileoffset 0-1431655765[c]
USER_DATA 0 dqp->q_id 1-u32max[c]
LOCK2 0 &dqp->q_qlock
TYPE_LOCK (struct xfs_dquot)->q_qlock

fs/xfs/xfs_trans_dquot.c xfs_trans_apply_dquot_deltas_hook() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 1-u64max
DATA_SOURCE 0 dqp $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mp->m_growlock

fs/xfs/xfs_trans_dquot.c xfs_trans_dqresv() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 1-u64max
CAPPED_DATA 0 dqp 1
CAPPED_DATA 0 &dqp->q_qlock 1
DATA_SOURCE 0 dqp $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dqp->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_fileoffset 0-1431655765[c]
USER_DATA 0 dqp->q_id 0-u32max[c]
LOCK2 0 &dqp->q_qlock
TYPE_LOCK (struct xfs_dquot)->q_qlock

fs/xfs/xfs_trans_dquot.c xfs_trans_dqresv() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
CAPPED_DATA 0 dqp 1
CAPPED_DATA 0 &dqp->q_qlock 1
DATA_SOURCE 0 dqp $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dqp->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_fileoffset 0-1431655765[c]
USER_DATA 0 dqp->q_id 1-u32max[c]

fs/xfs/xfs_trans_dquot.c xfs_trans_get_dqtrx() -> xfs_dquot_type()

Type Parameter Key Value
DATA_SOURCE 0 dqp $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dqp->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_fileoffset 0-1431655765[c]
USER_DATA 0 dqp->q_id 0-u32max[c]
HALF_LOCKED2 0 &dqp->q_qlock

fs/xfs/xfs_trans_dquot.c xfs_trans_mod_ino_dquot() -> xfs_dquot_type()

Type Parameter Key Value
DATA_SOURCE 0 dqp $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dqp->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_fileoffset 0-1431655765[c]
USER_DATA 0 dqp->q_id 0-u32max[c]

fs/xfs/xfs_trans_dquot.c xfs_trans_unreserve_and_mod_dquots_hook() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 1-u64max
DATA_SOURCE 0 dqp $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mp->m_growlock

fs/xfs/xfs_qm_syscalls.c xfs_dquot_is_enforced() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
DATA_SOURCE 0 dqp $0
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 0 &dqp->q_qlock

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

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
HALF_LOCKED2 &sb->s_umount

fs/xfs/xfs_dquot.c xfs_dquot_check_type() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
PARAM_VALUE 0 dqp->q_type 1-2,4
BUF_SIZE 0 dqp->q_mount (-1),1-s32max
CAPPED_DATA 0 dqp->q_bufoffset 1
DATA_SOURCE 0 dqp $0
NOSPEC 0 dqp->q_bufoffset
RX_PATH
TASK_NOT_RUNNING
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
USER_DATA 0 dqp->q_logitem.qli_dquot->q_bufoffset 0-s32max[c]
USER_DATA 0 dqp->q_logitem.qli_dquot->q_fileoffset 0-1431655765[c]
USER_DATA 0 dqp->q_logitem.qli_dquot->q_id 0-u32max

fs/xfs/xfs_dquot.c xfs_dquot_disk_alloc() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
PARAM_VALUE 0 dqp->q_type 1-2,4
BUF_SIZE 0 dqp->q_mount (-1),1-s32max
CAPPED_DATA 0 dqp->q_bufoffset 1
DATA_SOURCE 0 dqp $0
NOSPEC 0 dqp->q_bufoffset
RX_PATH
TASK_NOT_RUNNING
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
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_dquot_disk_read() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
PARAM_VALUE 0 dqp->q_type 1-2,4
BUF_SIZE 0 dqp->q_mount (-1),1-s32max
CAPPED_DATA 0 dqp->q_bufoffset 1
DATA_SOURCE 0 dqp $1
NOSPEC 0 dqp->q_bufoffset
RX_PATH
TASK_NOT_RUNNING
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
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_type()

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
HALF_LOCKED2 0 &dqp->q_qlock

fs/xfs/xfs_dquot.c xfs_qm_adjust_dqtimers() -> xfs_dquot_type()

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
HALF_LOCKED2 0 &dqp->q_qlock

fs/xfs/xfs_dquot.c xfs_qm_dqflush_check() -> xfs_dquot_type()

Type Parameter Key Value
PARAM_VALUE 0 dqp 4096-ptr_max
DATA_SOURCE 0 dqp $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &dqp->q_qlock
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &qi->qi_tree_lock
HALF_LOCKED2 0 &dqp->q_logitem.qli_item.li_buf->b_sema
TYPE_LOCK (struct xfs_dquot)->q_qlock