Searched refs:max_items (Results 1 – 16 of 16) sorted by relevance
/linux/drivers/staging/media/atomisp/pci/ |
A D | css_trace.h | 206 #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 D | ib_rdma.c | 183 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 D | ib_mr.h | 104 unsigned long max_items; member
|
A D | ib_frmr.c | 93 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 D | radix-tree.h | 238 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 D | ipoib_tx.c | 70 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 D | ipoib.h | 81 u32 max_items; member
|
/linux/lib/ |
A D | radix-tree.c | 1262 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 D | gen7_renderclear.c | 31 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 D | xfs_defer.h | 58 unsigned int max_items; member
|
A D | xfs_defer.c | 601 (ops->max_items && dfp->dfp_count >= ops->max_items)) in xfs_defer_add()
|
/linux/fs/xfs/ |
A D | xfs_extfree_item.c | 515 .max_items = XFS_EFI_MAX_FAST_EXTENTS, 580 .max_items = XFS_EFI_MAX_FAST_EXTENTS,
|
A D | xfs_refcount_item.c | 411 .max_items = XFS_CUI_MAX_FAST_EXTENTS,
|
A D | xfs_bmap_item.c | 411 .max_items = XFS_BUI_MAX_FAST_EXTENTS,
|
A D | xfs_rmap_item.c | 454 .max_items = XFS_RUI_MAX_FAST_EXTENTS,
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | msgbuf.c | 190 __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