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.c3453 u32 max_slot) in __push_leaf_left() argument
3469 nr = min(right_nritems, max_slot); in __push_leaf_left()
3471 nr = min(right_nritems - 1, max_slot); in __push_leaf_left()
3589 int data_size, int empty, u32 max_slot) in push_leaf_left() argument
3638 free_space, right_nritems, max_slot); in push_leaf_left()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.h188 u32 max_slot; member
442 key |= ((info->hwq->prod / info->max_slot)) & DBC_DBC_INDEX_MASK; in bnxt_qplib_ring_prod_db()
H A Dqplib_fp.c688 srq->dbinfo.max_slot = 1; in bnxt_qplib_create_srq()
934 sq->dbinfo.max_slot = bnxt_qplib_set_sq_max_slot(qp->wqe_mode); in bnxt_qplib_create_qp1()
939 rq->dbinfo.max_slot = bnxt_qplib_set_rq_max_slot(rq->wqe_size); in bnxt_qplib_create_qp1()
1145 sq->dbinfo.max_slot = bnxt_qplib_set_sq_max_slot(qp->wqe_mode); in bnxt_qplib_create_qp()
1150 rq->dbinfo.max_slot = bnxt_qplib_set_rq_max_slot(rq->wqe_size); in bnxt_qplib_create_qp()
1724 tail = swq->slot_idx / sq->dbinfo.max_slot; in bnxt_qplib_pull_psn_buff()
2014 if (bnxt_qplib_queue_full(rq, rq->dbinfo.max_slot)) { in bnxt_qplib_post_recv()
2023 swq->slots = rq->dbinfo.max_slot; in bnxt_qplib_post_recv()