Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c1146 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_alloc_res() local
1180 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1181 rattr.pages = nq->hwq.pbl[rdev->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
1182 rattr.type = type; in bnxt_re_alloc_res()
1183 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_alloc_res()
1184 rattr.depth = BNXT_QPLIB_NQE_MAX_CNT - 1; in bnxt_re_alloc_res()
1185 rattr.lrid = rdev->en_dev->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
1186 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_alloc_res()
1445 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_dev_init() local
1498 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
[all …]
/openbmc/linux/fs/btrfs/
H A Dsuper.c1927 const struct btrfs_raid_attr *rattr; in btrfs_calc_avail_data_space() local
1951 rattr = &btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)]; in btrfs_calc_avail_data_space()
1956 num_stripes = rattr->ncopies; in btrfs_calc_avail_data_space()
1961 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space()
2001 while (nr_devices >= rattr->devs_min) { in btrfs_calc_avail_data_space()