Home
last modified time | relevance | path

Searched refs:max_slot (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dtree-mod-log.c814 int max_slot; in tree_mod_log_rewind() local
819 max_slot = n - 1; in tree_mod_log_rewind()
822 ASSERT(max_slot >= -1); in tree_mod_log_rewind()
839 if (tm->slot > max_slot) in tree_mod_log_rewind()
840 max_slot = tm->slot; in tree_mod_log_rewind()
859 if (tm->slot == max_slot) in tree_mod_log_rewind()
860 max_slot--; in tree_mod_log_rewind()
870 if (WARN_ON(move_src_end_slot > max_slot || in tree_mod_log_rewind()
876 tm->seq, n, max_slot); in tree_mod_log_rewind()
880 max_slot = move_dst_end_slot; in tree_mod_log_rewind()
H A Dctree.c3461 u32 max_slot) in __push_leaf_left() argument
3477 nr = min(right_nritems, max_slot); in __push_leaf_left()
3479 nr = min(right_nritems - 1, max_slot); in __push_leaf_left()
3597 int data_size, int empty, u32 max_slot) in push_leaf_left() argument
3646 free_space, right_nritems, max_slot); in push_leaf_left()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.h191 u32 max_slot; member
473 key |= ((info->hwq->prod / info->max_slot)) & DBC_DBC_INDEX_MASK; in bnxt_qplib_ring_prod_db()
H A Dqplib_fp.c685 srq->dbinfo.max_slot = 1; in bnxt_qplib_create_srq()
788 bnxt_qplib_hwq_incr_prod(&srq->dbinfo, srq_hwq, srq->dbinfo.max_slot); in bnxt_qplib_post_srq_recv()
921 sq->dbinfo.max_slot = bnxt_qplib_set_sq_max_slot(qp->wqe_mode); in bnxt_qplib_create_qp1()
926 rq->dbinfo.max_slot = bnxt_qplib_set_rq_max_slot(rq->wqe_size); in bnxt_qplib_create_qp1()
1150 sq->dbinfo.max_slot = bnxt_qplib_set_sq_max_slot(qp->wqe_mode); in bnxt_qplib_create_qp()
1155 rq->dbinfo.max_slot = bnxt_qplib_set_rq_max_slot(rq->wqe_size); in bnxt_qplib_create_qp()
1765 tail = swq->slot_idx / sq->dbinfo.max_slot; in bnxt_qplib_pull_psn_buff()
2068 if (bnxt_qplib_queue_full(rq, rq->dbinfo.max_slot)) { in bnxt_qplib_post_recv()
2077 swq->slots = rq->dbinfo.max_slot; in bnxt_qplib_post_recv()
2578 srq->dbinfo.max_slot, &srq->dbinfo.flags); in bnxt_qplib_release_srqe()