Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dmain.c1148 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_alloc_res() local
1182 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1183 rattr.pages = nq->hwq.pbl[rdev->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
1184 rattr.type = type; in bnxt_re_alloc_res()
1185 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_alloc_res()
1186 rattr.depth = BNXT_QPLIB_NQE_MAX_CNT - 1; in bnxt_re_alloc_res()
1187 rattr.lrid = rdev->en_dev->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
1188 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_alloc_res()
1447 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_dev_init() local
1500 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
[all …]
/Linux-v6.6/fs/btrfs/
Dsuper.c1924 const struct btrfs_raid_attr *rattr; in btrfs_calc_avail_data_space() local
1948 rattr = &btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)]; in btrfs_calc_avail_data_space()
1953 num_stripes = rattr->ncopies; in btrfs_calc_avail_data_space()
1958 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space()
1998 while (nr_devices >= rattr->devs_min) { in btrfs_calc_avail_data_space()