Searched refs:xqm (Results 1 – 2 of 2) sorted by relevance
180 #define XFS_QM_LOCK(xqm) (mutex_lock(&xqm##_lock, PINOD)) argument181 #define XFS_QM_UNLOCK(xqm) (mutex_unlock(&xqm##_lock)) argument182 #define XFS_QM_HOLD(xqm) ((xqm)->qm_nrefs++) argument183 #define XFS_QM_RELE(xqm) ((xqm)->qm_nrefs--) argument
121 xfs_qm_t *xqm; in xfs_Gqm_init() local124 xqm = kmem_zalloc(sizeof(xfs_qm_t), KM_SLEEP); in xfs_Gqm_init()125 ASSERT(xqm); in xfs_Gqm_init()132 xqm->qm_dqhashmask = hsize - 1; in xfs_Gqm_init()134 xqm->qm_usr_dqhtable = (xfs_dqhash_t *)kmem_zalloc(hsize * in xfs_Gqm_init()137 xqm->qm_grp_dqhtable = (xfs_dqhash_t *)kmem_zalloc(hsize * in xfs_Gqm_init()140 ASSERT(xqm->qm_usr_dqhtable != NULL); in xfs_Gqm_init()141 ASSERT(xqm->qm_grp_dqhtable != NULL); in xfs_Gqm_init()144 xfs_qm_list_init(&(xqm->qm_usr_dqhtable[i]), "uxdqh", i); in xfs_Gqm_init()145 xfs_qm_list_init(&(xqm->qm_grp_dqhtable[i]), "gxdqh", i); in xfs_Gqm_init()[all …]