Home
last modified time | relevance | path

Searched refs:rattr (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/infiniband/hw/bnxt_re/
H A Dmain.c1742 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_alloc_res() local
1775 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1777 rattr.type = type; in bnxt_re_alloc_res()
1778 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_alloc_res()
1779 rattr.depth = BNXT_QPLIB_NQE_MAX_CNT - 1; in bnxt_re_alloc_res()
1780 rattr.lrid = rdev->nqr->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
2077 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_dev_init() local
2143 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
2145 rattr.type = type; in bnxt_re_dev_init()
2146 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_dev_init()
[all …]
/linux-6.15/fs/btrfs/
H A Dsuper.c1609 const struct btrfs_raid_attr *rattr; in btrfs_calc_avail_data_space() local
1633 rattr = &btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)]; in btrfs_calc_avail_data_space()
1638 num_stripes = rattr->ncopies; in btrfs_calc_avail_data_space()
1643 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space()
1683 while (nr_devices >= rattr->devs_min) { in btrfs_calc_avail_data_space()