Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bng_re/
H A Dbng_dev.c276 struct bng_re_ring_attr rattr = {}; in bng_re_dev_init() local
331 rattr.dma_arr = creq->hwq.pbl[BNG_PBL_LVL_0].pg_map_arr; in bng_re_dev_init()
332 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bng_re_dev_init()
333 rattr.type = type; in bng_re_dev_init()
334 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bng_re_dev_init()
335 rattr.depth = BNG_FW_CREQE_MAX_CNT - 1; in bng_re_dev_init()
336 rattr.lrid = rdev->nqr->msix_entries[BNG_RE_CREQ_NQ_IDX].ring_idx; in bng_re_dev_init()
337 rc = bng_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bng_re_dev_init()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c1820 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_alloc_res() local
1853 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1854 rattr.pages = nq->hwq.pbl[rdev->nqr->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
1855 rattr.type = type; in bnxt_re_alloc_res()
1856 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_alloc_res()
1857 rattr.depth = BNXT_QPLIB_NQE_MAX_CNT - 1; in bnxt_re_alloc_res()
1858 rattr.lrid = rdev->nqr->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
1859 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_alloc_res()
2184 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_dev_init() local
2249 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
[all …]
/linux/rust/kernel/
H A Dconfigfs.rs932 @eat($name:ident $attr:literal, $($rname:ident $rattr:literal,)*),
943 @eat($($rname $rattr,)*),
/linux/fs/btrfs/
H A Dsuper.c1619 const struct btrfs_raid_attr *rattr; in btrfs_calc_avail_data_space() local
1643 rattr = &btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)]; in btrfs_calc_avail_data_space()
1648 num_stripes = rattr->ncopies; in btrfs_calc_avail_data_space()
1653 min_stripe_size = rattr->dev_stripes * BTRFS_STRIPE_LEN; in btrfs_calc_avail_data_space()
1693 while (nr_devices >= rattr->devs_min) { in btrfs_calc_avail_data_space()