Searched refs:dqp (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_dquot.c | 266 dqp->q_prealloc_hi_wmark = dqp->q_blk.hardlimit; in xfs_dquot_set_prealloc_limits() 267 dqp->q_prealloc_lo_wmark = dqp->q_blk.softlimit; in xfs_dquot_set_prealloc_limits() 269 dqp->q_prealloc_lo_wmark = dqp->q_prealloc_hi_wmark; in xfs_dquot_set_prealloc_limits() 600 dqp->q_blk.reserved = dqp->q_blk.count; in xfs_dquot_from_disk() 601 dqp->q_ino.reserved = dqp->q_ino.count; in xfs_dquot_from_disk() 602 dqp->q_rtb.reserved = dqp->q_rtb.count; in xfs_dquot_from_disk() 865 if (dqp) { in xfs_qm_dqget() 1082 if (!dqp) in xfs_qm_dqrele() 1181 if (dqp->q_blk.softlimit && dqp->q_blk.count > dqp->q_blk.softlimit && in xfs_qm_dqflush_check() 1185 if (dqp->q_ino.softlimit && dqp->q_ino.count > dqp->q_ino.softlimit && in xfs_qm_dqflush_check() [all …]
|
A D | xfs_dquot.h | 115 complete(&dqp->q_flush); in xfs_dqfunlock() 125 mutex_lock(&dqp->q_qlock); in xfs_dqlock() 130 mutex_unlock(&dqp->q_qlock); in xfs_dqunlock() 172 const struct xfs_dquot *dqp) in xfs_dquot_is_enforced() argument 194 freesp = dqp->q_blk.hardlimit - dqp->q_blk.reserved; in xfs_dquot_lowsp() 203 #define XFS_DQ_IS_LOCKED(dqp) (mutex_is_locked(&((dqp)->q_qlock))) argument 204 #define XFS_DQ_IS_DIRTY(dqp) ((dqp)->q_flags & XFS_DQFLAG_DIRTY) argument 231 xfs_dqlock(dqp); in xfs_qm_dqhold() 232 dqp->q_nrefs++; in xfs_qm_dqhold() 233 xfs_dqunlock(dqp); in xfs_qm_dqhold() [all …]
|
A D | xfs_trans_dquot.c | 31 struct xfs_dquot *dqp) in xfs_trans_dqjoin() argument 34 ASSERT(dqp->q_logitem.qli_dquot == dqp); in xfs_trans_dqjoin() 60 if (dqp->q_id != 0 && in xfs_trans_log_dquot() 424 if (dqp->q_id) { in xfs_trans_apply_dquot_deltas() 461 ASSERT(dqp->q_blk.reserved >= dqp->q_blk.count); in xfs_trans_apply_dquot_deltas() 462 ASSERT(dqp->q_ino.reserved >= dqp->q_ino.count); in xfs_trans_apply_dquot_deltas() 463 ASSERT(dqp->q_rtb.reserved >= dqp->q_rtb.count); in xfs_trans_apply_dquot_deltas() 631 xfs_dqlock(dqp); in xfs_trans_dqresv() 693 if (XFS_IS_CORRUPT(mp, dqp->q_blk.reserved < dqp->q_blk.count) || in xfs_trans_dqresv() 694 XFS_IS_CORRUPT(mp, dqp->q_rtb.reserved < dqp->q_rtb.count) || in xfs_trans_dqresv() [all …]
|
A D | xfs_dquot_item.c | 77 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_qm_dquot_logitem_pin() 78 atomic_inc(&dqp->q_pincount); in xfs_qm_dquot_logitem_pin() 96 wake_up(&dqp->q_pinwait); in xfs_qm_dquot_logitem_unpin() 105 struct xfs_dquot *dqp) in xfs_qm_dqunpin_wait() argument 107 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_qm_dqunpin_wait() 115 wait_event(dqp->q_pinwait, (atomic_read(&dqp->q_pincount) == 0)); in xfs_qm_dqunpin_wait() 133 if (!xfs_dqlock_nowait(dqp)) in xfs_qm_dquot_logitem_push() 167 xfs_dqunlock(dqp); in xfs_qm_dquot_logitem_push() 185 xfs_dqunlock(dqp); in xfs_qm_dquot_logitem_release() 213 struct xfs_dquot *dqp) in xfs_qm_dquot_logitem_init() argument [all …]
|
A D | xfs_qm_syscalls.c | 280 struct xfs_dquot *dqp; in xfs_qm_scall_setqlim() local 307 xfs_dqunlock(dqp); in xfs_qm_scall_setqlim() 313 xfs_dqlock(dqp); in xfs_qm_scall_setqlim() 340 res = &dqp->q_blk; in xfs_qm_scall_setqlim() 355 res = &dqp->q_rtb; in xfs_qm_scall_setqlim() 369 res = &dqp->q_ino; in xfs_qm_scall_setqlim() 392 xfs_qm_dqrele(dqp); in xfs_qm_scall_setqlim() 433 if (xfs_dquot_is_enforced(dqp) && dqp->q_id != 0) { in xfs_qm_scall_getquota_fill_qc() 484 xfs_qm_dqput(dqp); in xfs_qm_scall_getquota() 511 *id = dqp->q_id; in xfs_qm_scall_getquota_next() [all …]
|
A D | xfs_qm.c | 128 xfs_dqlock(dqp); in xfs_qm_dqpurge() 129 if ((dqp->q_flags & XFS_DQFLAG_FREEING) || dqp->q_nrefs != 0) in xfs_qm_dqpurge() 134 xfs_dqflock(dqp); in xfs_qm_dqpurge() 156 xfs_dqflock(dqp); in xfs_qm_dqpurge() 265 dqp = *IO_idqpp; in xfs_qm_dqattach_one() 266 if (dqp) { in xfs_qm_dqattach_one() 287 *IO_idqpp = dqp; in xfs_qm_dqattach_one() 1919 if (!dqp || !xfs_dquot_is_enforced(dqp)) in xfs_inode_near_dquot_enforcement() 1930 if (dqp->q_blk.reserved < dqp->q_prealloc_lo_wmark) in xfs_inode_near_dquot_enforcement() 1933 if (dqp->q_blk.reserved >= dqp->q_prealloc_hi_wmark) in xfs_inode_near_dquot_enforcement() [all …]
|
A D | xfs_qm_bhv.c | 22 struct xfs_dquot *dqp) in xfs_fill_statvfs_from_dquot() argument 26 limit = dqp->q_blk.softlimit ? in xfs_fill_statvfs_from_dquot() 27 dqp->q_blk.softlimit : in xfs_fill_statvfs_from_dquot() 28 dqp->q_blk.hardlimit; in xfs_fill_statvfs_from_dquot() 32 (statp->f_blocks > dqp->q_blk.reserved) ? in xfs_fill_statvfs_from_dquot() 36 limit = dqp->q_ino.softlimit ? in xfs_fill_statvfs_from_dquot() 37 dqp->q_ino.softlimit : in xfs_fill_statvfs_from_dquot() 38 dqp->q_ino.hardlimit; in xfs_fill_statvfs_from_dquot() 42 (statp->f_files > dqp->q_ino.reserved) ? in xfs_fill_statvfs_from_dquot() 61 struct xfs_dquot *dqp; in xfs_qm_statvfs() local [all …]
|
A D | xfs_qm.h | 22 #define XFS_IS_DQUOT_UNINITIALIZED(dqp) ( \ argument 23 !dqp->q_blk.hardlimit && \ 24 !dqp->q_blk.softlimit && \ 25 !dqp->q_rtb.hardlimit && \ 26 !dqp->q_rtb.softlimit && \ 27 !dqp->q_ino.hardlimit && \ 28 !dqp->q_ino.softlimit && \ 29 !dqp->q_blk.count && \ 30 !dqp->q_rtb.count && \ 31 !dqp->q_ino.count) [all …]
|
A D | xfs_dquot_item.h | 19 void xfs_qm_dquot_logitem_init(struct xfs_dquot *dqp);
|
A D | xfs_trace.h | 1015 TP_PROTO(struct xfs_dquot *dqp), 1016 TP_ARGS(dqp), 1040 __entry->id = dqp->q_id; 1041 __entry->type = dqp->q_type; 1042 __entry->flags = dqp->q_flags; 1043 __entry->nrefs = dqp->q_nrefs; 1087 TP_ARGS(dqp)) 1115 TP_ARGS(tp, dqp, field, delta), 1126 __entry->type = dqp->q_type; 1127 __entry->flags = dqp->q_flags; [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | mcg.c | 178 dqp = kmalloc(sizeof(*dqp), GFP_KERNEL); in new_steering_entry() 179 if (!dqp) { in new_steering_entry() 183 dqp->qpn = qpn; in new_steering_entry() 229 if (dqp) { in new_steering_entry() 231 kfree(dqp); in new_steering_entry() 277 dqp = kmalloc(sizeof(*dqp), GFP_KERNEL); in existing_steering_entry() 278 if (!dqp) in existing_steering_entry() 280 dqp->qpn = qpn; in existing_steering_entry() 320 kfree(dqp); in check_duplicate_entry() 482 dqp = kmalloc(sizeof(*dqp), GFP_KERNEL); in add_promisc_qp() [all …]
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_dquot_buf.c | 316 struct xfs_dquot *dqp, in xfs_dquot_to_disk_ts() argument 321 if (timer != 0 && (dqp->q_type & XFS_DQTYPE_BIGTIME)) in xfs_dquot_to_disk_ts()
|
/linux-6.3-rc2/arch/powerpc/sysdev/ |
A D | fsl_rmu.c | 226 u32 dqp = in_be32(&rmu->msg_regs->odqdpar); in fsl_rio_tx_handler() local 227 int slot = (dqp - rmu->msg_tx_ring.phys) >> 5; in fsl_rio_tx_handler()
|
Completed in 130 milliseconds