/linux-master/fs/xfs/ |
H A D | xfs_trace.h | 1018 TP_PROTO(struct xfs_dquot *dqp), 1019 TP_ARGS(dqp), 1042 __entry->dev = dqp->q_mount->m_super->s_dev; 1043 __entry->id = dqp->q_id; 1044 __entry->type = dqp->q_type; 1045 __entry->flags = dqp->q_flags; 1046 __entry->nrefs = dqp->q_nrefs; 1048 __entry->res_bcount = dqp->q_blk.reserved; 1049 __entry->res_rtbcount = dqp->q_rtb.reserved; 1050 __entry->res_icount = dqp [all...] |
H A D | xfs_dquot.c | 51 struct xfs_dquot *dqp) 53 struct xfs_mount *mp = dqp->q_mount; 55 switch (dqp->q_type) { 76 struct xfs_dquot *dqp) 78 ASSERT(list_empty(&dqp->q_lru)); 80 kvfree(dqp->q_logitem.qli_item.li_lv_shadow); 81 mutex_destroy(&dqp->q_qlock); 83 XFS_STATS_DEC(dqp->q_mount, xs_qm_dquot); 84 kmem_cache_free(xfs_dquot_cache, dqp); 286 xfs_dquot_set_prealloc_limits(struct xfs_dquot *dqp) argument 50 xfs_dquot_mark_sick( struct xfs_dquot *dqp) argument 75 xfs_qm_dqdestroy( struct xfs_dquot *dqp) argument 312 xfs_dquot_disk_alloc( struct xfs_dquot *dqp, struct xfs_buf **bpp) argument 429 xfs_dquot_disk_read( struct xfs_mount *mp, struct xfs_dquot *dqp, struct xfs_buf **bpp) argument 499 struct xfs_dquot *dqp; local 551 xfs_dquot_check_type( struct xfs_dquot *dqp, struct xfs_disk_dquot *ddqp) argument 587 xfs_dquot_from_disk( struct xfs_dquot *dqp, struct xfs_buf *bp) argument 639 xfs_dquot_to_disk( struct xfs_disk_dquot *ddqp, struct xfs_dquot *dqp) argument 683 struct xfs_dquot *dqp; local 781 struct xfs_dquot *dqp; local 822 xfs_qm_dqget_cache_insert( struct xfs_mount *mp, struct xfs_quotainfo *qi, struct radix_tree_root *tree, xfs_dqid_t id, struct xfs_dquot *dqp) argument 891 struct xfs_dquot *dqp; local 980 struct xfs_dquot *dqp; local 1062 struct xfs_dquot *dqp; local 1091 xfs_qm_dqput( struct xfs_dquot *dqp) argument 1114 xfs_qm_dqrele( struct xfs_dquot *dqp) argument 1144 struct xfs_dquot *dqp = qip->qli_dquot; local 1203 xfs_qm_dqflush_check( struct xfs_dquot *dqp) argument 1248 xfs_qm_dqflush( struct xfs_dquot *dqp, struct xfs_buf **bpp) argument [all...] |
H A D | xfs_trans_dquot.c | 32 struct xfs_dquot *dqp) 34 ASSERT(XFS_DQ_IS_LOCKED(dqp)); 35 ASSERT(dqp->q_logitem.qli_dquot == dqp); 40 xfs_trans_add_item(tp, &dqp->q_logitem.qli_item); 56 struct xfs_dquot *dqp) 58 ASSERT(XFS_DQ_IS_LOCKED(dqp)); 61 if (dqp->q_id != 0 && 63 !(dqp->q_type & XFS_DQTYPE_BIGTIME)) 64 dqp 30 xfs_trans_dqjoin( struct xfs_trans *tp, struct xfs_dquot *dqp) argument 54 xfs_trans_log_dquot( struct xfs_trans *tp, struct xfs_dquot *dqp) argument 152 xfs_trans_mod_ino_dquot( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_dquot *dqp, unsigned int field, int64_t delta) argument 259 xfs_trans_get_dqtrx( struct xfs_trans *tp, struct xfs_dquot *dqp) argument 296 xfs_trans_mod_dquot( struct xfs_trans *tp, struct xfs_dquot *dqp, uint field, int64_t delta) argument 438 xfs_trans_apply_dquot_deltas_hook( struct xfs_trans *tp, struct xfs_dquot *dqp) argument 471 struct xfs_dquot *dqp; local 607 xfs_trans_unreserve_and_mod_dquots_hook( struct xfs_trans *tp, struct xfs_dquot *dqp) argument 639 struct xfs_dquot *dqp; local 697 xfs_quota_warn( struct xfs_mount *mp, struct xfs_dquot *dqp, int type) argument 780 xfs_trans_dqresv( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *dqp, int64_t nblks, long ninos, uint flags) argument [all...] |
H A D | xfs_quota.h | 136 struct xfs_dquot *dqp, unsigned int field, int64_t delta); 153 # define xfs_trans_mod_ino_dquot(tp, ip, dqp, field, delta) \ 154 xfs_trans_mod_dquot((tp), (dqp), (field), (delta))
|
H A D | xfs_qm.c | 41 STATIC void xfs_qm_dqfree_one(struct xfs_dquot *dqp); 55 int (*execute)(struct xfs_dquot *dqp, void *data), 84 struct xfs_dquot *dqp = batch[i]; local 86 next_index = dqp->q_id + 1; 123 struct xfs_dquot *dqp, 126 struct xfs_quotainfo *qi = dqp->q_mount->m_quotainfo; 129 xfs_dqlock(dqp); 130 if ((dqp->q_flags & XFS_DQFLAG_FREEING) || dqp->q_nrefs != 0) 133 dqp 52 xfs_qm_dquot_walk( struct xfs_mount *mp, xfs_dqtype_t type, int (*execute)(struct xfs_dquot *dqp, void *data), void *data) argument 122 xfs_qm_dqpurge( struct xfs_dquot *dqp, void *data) argument 255 struct xfs_dquot *dqp; local 419 struct xfs_dquot *dqp = container_of(item, local 527 struct xfs_dquot *dqp; local 553 struct xfs_dquot *dqp; local 584 struct xfs_dquot *dqp; local 1091 struct xfs_dquot *dqp; local 1241 xfs_qm_flush_one( struct xfs_dquot *dqp, void *data) argument 1648 xfs_qm_dqfree_one( struct xfs_dquot *dqp) argument 1944 struct xfs_dquot *dqp; local [all...] |
H A D | xfs_qm.h | 22 #define XFS_IS_DQUOT_UNINITIALIZED(dqp) ( \ 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 [all...] |
H A D | xfs_qm_bhv.c | 23 struct xfs_dquot *dqp) 27 limit = dqp->q_blk.softlimit ? 28 dqp->q_blk.softlimit : 29 dqp->q_blk.hardlimit; 33 (statp->f_blocks > dqp->q_blk.reserved) ? 34 (statp->f_blocks - dqp->q_blk.reserved) : 0; 37 limit = dqp->q_ino.softlimit ? 38 dqp->q_ino.softlimit : 39 dqp->q_ino.hardlimit; 43 (statp->f_files > dqp 21 xfs_fill_statvfs_from_dquot( struct kstatfs *statp, struct xfs_dquot *dqp) argument 62 struct xfs_dquot *dqp; local [all...] |
H A D | xfs_dquot.h | 103 static inline void xfs_dqflock(struct xfs_dquot *dqp) argument 105 wait_for_completion(&dqp->q_flush); 108 static inline bool xfs_dqflock_nowait(struct xfs_dquot *dqp) argument 110 return try_wait_for_completion(&dqp->q_flush); 113 static inline void xfs_dqfunlock(struct xfs_dquot *dqp) argument 115 complete(&dqp->q_flush); 118 static inline int xfs_dqlock_nowait(struct xfs_dquot *dqp) argument 120 return mutex_trylock(&dqp->q_qlock); 123 static inline void xfs_dqlock(struct xfs_dquot *dqp) argument 125 mutex_lock(&dqp 128 xfs_dqunlock(struct xfs_dquot *dqp) argument 134 xfs_dquot_type(const struct xfs_dquot *dqp) argument 171 xfs_dquot_is_enforced( const struct xfs_dquot *dqp) argument 190 xfs_dquot_lowsp(struct xfs_dquot *dqp) argument 229 xfs_qm_dqhold(struct xfs_dquot *dqp) argument [all...] |
H A D | xfs_qm_syscalls.c | 280 struct xfs_dquot *dqp; local 300 error = xfs_qm_dqget(mp, id, type, true, &dqp); 306 defq = xfs_get_defquota(q, xfs_dquot_type(dqp)); 307 xfs_dqunlock(dqp); 313 xfs_dqlock(dqp); 314 xfs_trans_dqjoin(tp, dqp); 336 dqp->q_blk.hardlimit; 339 dqp->q_blk.softlimit; 340 res = &dqp->q_blk; 344 xfs_dquot_set_prealloc_limits(dqp); 398 xfs_qm_scall_getquota_fill_qc( struct xfs_mount *mp, xfs_dqtype_t type, const struct xfs_dquot *dqp, struct qc_dqblk *dst) argument 454 struct xfs_dquot *dqp; local 499 struct xfs_dquot *dqp; local [all...] |
H A D | xfs_dquot_item.c | 75 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; local 77 ASSERT(XFS_DQ_IS_LOCKED(dqp)); 78 atomic_inc(&dqp->q_pincount); 92 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; local 94 ASSERT(atomic_read(&dqp->q_pincount) > 0); 95 if (atomic_dec_and_test(&dqp->q_pincount)) 96 wake_up(&dqp->q_pinwait); 105 struct xfs_dquot *dqp) 107 ASSERT(XFS_DQ_IS_LOCKED(dqp)); 108 if (atomic_read(&dqp 104 xfs_qm_dqunpin_wait( struct xfs_dquot *dqp) argument 125 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; variable in typeref:struct:xfs_dquot 167 xfs_dqunlock(dqp); variable 175 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; local 212 xfs_qm_dquot_logitem_init( struct xfs_dquot *dqp) argument [all...] |
H A D | xfs_dquot_item.h | 19 void xfs_qm_dquot_logitem_init(struct xfs_dquot *dqp);
|
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 226 u32 dqp = in_be32(&rmu->msg_regs->odqdpar); local 227 int slot = (dqp - rmu->msg_tx_ring.phys) >> 5;
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mcg.c | 157 struct mlx4_promisc_qp *dqp = NULL; local 178 dqp = kmalloc(sizeof(*dqp), GFP_KERNEL); 179 if (!dqp) { 183 dqp->qpn = qpn; 184 list_add_tail(&dqp->list, &new_entry->duplicates); 229 if (dqp) { 230 list_del(&dqp->list); 231 kfree(dqp); 246 struct mlx4_promisc_qp *dqp; local 294 struct mlx4_promisc_qp *dqp, *tmp_dqp; local 426 struct mlx4_promisc_qp *dqp; local 557 struct mlx4_promisc_qp *dqp; local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dquot_buf.c | 316 struct xfs_dquot *dqp, 321 if (timer != 0 && (dqp->q_type & XFS_DQTYPE_BIGTIME)) 315 xfs_dquot_to_disk_ts( struct xfs_dquot *dqp, time64_t timer) argument
|