Home
last modified time | relevance | path

Searched refs:xqm (Results 1 – 2 of 2) sorted by relevance

/fs/xfs/quota/
Dxfs_qm.h161 #define XFS_QM_LOCK(xqm) (mutex_lock(&xqm##_lock)) argument
162 #define XFS_QM_UNLOCK(xqm) (mutex_unlock(&xqm##_lock)) argument
163 #define XFS_QM_HOLD(xqm) ((xqm)->qm_nrefs++) argument
164 #define XFS_QM_RELE(xqm) ((xqm)->qm_nrefs--) argument
Dxfs_qm.c114 xfs_qm_t *xqm; in xfs_Gqm_init() local
129 xqm = kmem_zalloc(sizeof(xfs_qm_t), KM_SLEEP); in xfs_Gqm_init()
130 xqm->qm_dqhashmask = hsize - 1; in xfs_Gqm_init()
131 xqm->qm_usr_dqhtable = udqhash; in xfs_Gqm_init()
132 xqm->qm_grp_dqhtable = gdqhash; in xfs_Gqm_init()
133 ASSERT(xqm->qm_usr_dqhtable != NULL); in xfs_Gqm_init()
134 ASSERT(xqm->qm_grp_dqhtable != NULL); in xfs_Gqm_init()
137 xfs_qm_list_init(&(xqm->qm_usr_dqhtable[i]), "uxdqh", i); in xfs_Gqm_init()
138 xfs_qm_list_init(&(xqm->qm_grp_dqhtable[i]), "gxdqh", i); in xfs_Gqm_init()
144 xfs_qm_freelist_init(&(xqm->qm_dqfreelist)); in xfs_Gqm_init()
[all …]