Searched refs:gq (Results 1 – 3 of 3) sorted by relevance
206 static unsigned int rswitch_next_queue_index(struct rswitch_gwca_queue *gq, in rswitch_next_queue_index() argument209 unsigned int index = cur ? gq->cur : gq->dirty; in rswitch_next_queue_index()211 if (index + num >= gq->ring_size) in rswitch_next_queue_index()212 index = (index + num) % gq->ring_size; in rswitch_next_queue_index()219 static unsigned int rswitch_get_num_cur_queues(struct rswitch_gwca_queue *gq) in rswitch_get_num_cur_queues() argument221 if (gq->cur >= gq->dirty) in rswitch_get_num_cur_queues()222 return gq->cur - gq->dirty; in rswitch_get_num_cur_queues()224 return gq->ring_size - gq->dirty + gq->cur; in rswitch_get_num_cur_queues()227 static bool rswitch_is_queue_rxed(struct rswitch_gwca_queue *gq) in rswitch_is_queue_rxed() argument229 struct rswitch_ext_ts_desc *desc = &gq->rx_ring[gq->dirty]; in rswitch_is_queue_rxed()[all …]
1676 struct xfs_dquot *gq = NULL; in xfs_qm_vop_dqalloc() local1741 XFS_DQTYPE_GROUP, true, &gq); in xfs_qm_vop_dqalloc()1746 xfs_dqunlock(gq); in xfs_qm_vop_dqalloc()1751 gq = xfs_qm_dqhold(ip->i_gdquot); in xfs_qm_vop_dqalloc()1780 *O_gdqpp = gq; in xfs_qm_vop_dqalloc()1782 xfs_qm_dqrele(gq); in xfs_qm_vop_dqalloc()1790 xfs_qm_dqrele(gq); in xfs_qm_vop_dqalloc()
75 …S[KX`MZbR_gUbjScjRbiPagT`hUbjZgnZgoWdl\enYaj]enWaiZgoZfnWgnVfm\go\goXemYgn\gq\ks\ks]mubmw`lv]irZeo…