Home
last modified time | relevance | path

Searched refs:max_items (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/staging/media/atomisp/pci/
A Dcss_trace.h206 #define DBG_NEXT_ITEM(x, max_items) (((x + 1) >= max_items) ? 0 : x + 1) argument
207 #define DBG_PREV_ITEM(x, max_items) ((x) ? x - 1 : max_items - 1) argument
/linux/net/rds/
A Dib_rdma.c183 iinfo->rdma_mr_max = pool_1m->max_items; in rds_ib_get_mr_info()
193 iinfo6->rdma_mr_max = pool_1m->max_items; in rds6_ib_get_mr_info()
450 if (atomic_inc_return(&pool->item_count) <= pool->max_items) in rds_ib_try_reuse_ibmr()
510 atomic_read(&pool->dirty_count) >= pool->max_items / 5) in rds_ib_free_mr()
664 pool->max_items = rds_ibdev->max_1m_mrs; in rds_ib_create_mr_pool()
668 pool->max_items = rds_ibdev->max_8k_mrs; in rds_ib_create_mr_pool()
671 pool->max_free_pinned = pool->max_items * pool->max_pages / 4; in rds_ib_create_mr_pool()
A Dib_mr.h104 unsigned long max_items; member
A Dib_frmr.c93 pool->max_items_soft = pool->max_items; in rds_ib_alloc_frmr()
119 atomic_read(&pool->dirty_count) >= pool->max_items / 5) in rds_ib_free_frmr()
/linux/include/linux/
A Dradix-tree.h238 unsigned int max_items);
252 unsigned int max_items, unsigned int tag);
255 unsigned int max_items, unsigned int tag);
/linux/drivers/infiniband/hw/hfi1/
A Dipoib_tx.c70 txq->tx_ring.max_items - 1); in hfi1_ipoib_ring_hwat()
76 txq->tx_ring.max_items) >> 1; in hfi1_ipoib_ring_lwat()
140 for (i = 0; i < tx_ring->max_items; i++) { in hfi1_ipoib_drain_tx_ring()
160 u32 max_tx = tx_ring->max_items; in hfi1_ipoib_poll_tx_ring()
368 CIRC_CNT(head, tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_common()
481 smp_store_release(&tx_ring->tail, CIRC_NEXT(tx_ring->tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_single()
544 smp_store_release(&tx_ring->tail, CIRC_NEXT(tx_ring->tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_list()
733 txq->tx_ring.max_items = tx_ring_size; in hfi1_ipoib_txreq_init()
844 dev->tx_queue_len, txq->tx_ring.max_items); in hfi1_ipoib_tx_timeout()
A Dipoib.h81 u32 max_items; member
/linux/lib/
A Dradix-tree.c1262 unsigned long first_index, unsigned int max_items) in radix_tree_gang_lookup() argument
1268 if (unlikely(!max_items)) in radix_tree_gang_lookup()
1279 if (++ret == max_items) in radix_tree_gang_lookup()
1302 unsigned long first_index, unsigned int max_items, in radix_tree_gang_lookup_tag() argument
1309 if (unlikely(!max_items)) in radix_tree_gang_lookup_tag()
1320 if (++ret == max_items) in radix_tree_gang_lookup_tag()
1344 unsigned int max_items, unsigned int tag) in radix_tree_gang_lookup_tag_slot() argument
1350 if (unlikely(!max_items)) in radix_tree_gang_lookup_tag_slot()
1355 if (++ret == max_items) in radix_tree_gang_lookup_tag_slot()
/linux/drivers/gpu/drm/i915/gt/
A Dgen7_renderclear.c31 u32 max_items; member
98 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()
113 GEM_BUG_ON((bc->end - bc->start) >= bc->max_items); in batch_add()
/linux/fs/xfs/libxfs/
A Dxfs_defer.h58 unsigned int max_items; member
A Dxfs_defer.c601 (ops->max_items && dfp->dfp_count >= ops->max_items)) in xfs_defer_add()
/linux/fs/xfs/
A Dxfs_extfree_item.c515 .max_items = XFS_EFI_MAX_FAST_EXTENTS,
580 .max_items = XFS_EFI_MAX_FAST_EXTENTS,
A Dxfs_refcount_item.c411 .max_items = XFS_CUI_MAX_FAST_EXTENTS,
A Dxfs_bmap_item.c411 .max_items = XFS_BUI_MAX_FAST_EXTENTS,
A Dxfs_rmap_item.c454 .max_items = XFS_RUI_MAX_FAST_EXTENTS,
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dmsgbuf.c190 __le16 max_items; member
630 create->max_items = cpu_to_le16(BRCMF_H2D_TXFLOWRING_MAX_ITEM); in brcmf_msgbuf_flowring_create_worker()

Completed in 39 milliseconds