Home
last modified time | relevance | path

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

/linux-6.15/fs/btrfs/
H A Dtree-mod-log.c813 int max_slot; in tree_mod_log_rewind() local
818 max_slot = n - 1; in tree_mod_log_rewind()
821 ASSERT(max_slot >= -1); in tree_mod_log_rewind()
838 if (tm->slot > max_slot) in tree_mod_log_rewind()
839 max_slot = tm->slot; in tree_mod_log_rewind()
858 if (tm->slot == max_slot) in tree_mod_log_rewind()
859 max_slot--; in tree_mod_log_rewind()
869 if (WARN_ON(move_src_end_slot > max_slot || in tree_mod_log_rewind()
875 tm->seq, n, max_slot); in tree_mod_log_rewind()
879 max_slot = move_dst_end_slot; in tree_mod_log_rewind()
H A Dctree.c3313 u32 max_slot) in __push_leaf_left() argument
3329 nr = min(right_nritems, max_slot); in __push_leaf_left()
3331 nr = min(right_nritems - 1, max_slot); in __push_leaf_left()
3449 int data_size, int empty, u32 max_slot) in push_leaf_left() argument
3498 free_space, right_nritems, max_slot); in push_leaf_left()
/linux-6.15/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.h210 u32 max_slot; member
509 indx = (((info->hwq->prod / info->max_slot) & DBC_DBC_INDEX_MASK) | in bnxt_qplib_ring_prod_db()
H A Dqplib_fp.c706 srq->dbinfo.max_slot = 1; in bnxt_qplib_create_srq()
809 bnxt_qplib_hwq_incr_prod(&srq->dbinfo, srq_hwq, srq->dbinfo.max_slot); in bnxt_qplib_post_srq_recv()
942 sq->dbinfo.max_slot = bnxt_qplib_set_sq_max_slot(qp->wqe_mode); in bnxt_qplib_create_qp1()
947 rq->dbinfo.max_slot = bnxt_qplib_set_rq_max_slot(rq->wqe_size); in bnxt_qplib_create_qp1()
1177 sq->dbinfo.max_slot = bnxt_qplib_set_sq_max_slot(qp->wqe_mode); in bnxt_qplib_create_qp()
1182 rq->dbinfo.max_slot = bnxt_qplib_set_rq_max_slot(rq->wqe_size); in bnxt_qplib_create_qp()
1852 tail = swq->slot_idx / sq->dbinfo.max_slot; in bnxt_qplib_pull_psn_buff()
2155 if (bnxt_qplib_queue_full(rq, rq->dbinfo.max_slot)) { in bnxt_qplib_post_recv()
2164 swq->slots = rq->dbinfo.max_slot; in bnxt_qplib_post_recv()
2730 srq->dbinfo.max_slot, &srq->dbinfo.flags); in bnxt_qplib_release_srqe()