| /Linux-v6.1/tools/perf/util/ |
| D | stat-shadow.c | 36 int map_idx; /* cpu or thread map index */ member 50 if (a->map_idx != b->map_idx) in saved_value_cmp() 51 return a->map_idx - b->map_idx; in saved_value_cmp() 98 int map_idx, in saved_value_lookup() argument 108 .map_idx = map_idx, in saved_value_lookup() 206 int map_idx, u64 count, in update_runtime_stat() argument 209 struct saved_value *v = saved_value_lookup(NULL, map_idx, true, type, in update_runtime_stat() 222 int map_idx, struct runtime_stat *st) in perf_stat__update_shadow_stats() argument 234 update_runtime_stat(st, STAT_NSECS, map_idx, count_ns, &rsd); in perf_stat__update_shadow_stats() 236 update_runtime_stat(st, STAT_CYCLES, map_idx, count, &rsd); in perf_stat__update_shadow_stats() [all …]
|
| D | stat.h | 235 int map_idx, struct runtime_stat *st); 245 double avg, int map_idx, 280 double test_generic_metric(struct metric_expr *mexp, int map_idx, struct runtime_stat *st);
|
| /Linux-v6.1/tools/lib/bpf/ |
| D | bpf_gen_internal.h | 59 struct bpf_map_create_opts *map_attr, int map_idx); 64 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size); 65 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx);
|
| D | gen_loader.c | 452 struct bpf_map_create_opts *map_attr, int map_idx) in bpf_gen__map_create() argument 474 attr.map_name, map_idx, map_type, attr.btf_value_type_id); in bpf_gen__map_create() 492 if (map_idx >= 0) in bpf_gen__map_create() 495 sizeof(struct bpf_map_desc) * map_idx + in bpf_gen__map_create() 501 attr.map_name, map_idx, map_type, value_size, in bpf_gen__map_create() 505 if (map_idx < 0) { in bpf_gen__map_create() 512 } else if (map_idx != gen->nr_maps) { in bpf_gen__map_create() 1032 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *pvalue, in bpf_gen__map_update_elem() argument 1041 pr_debug("gen: map_update_elem: idx %d\n", map_idx); in bpf_gen__map_update_elem() 1055 sizeof(struct bpf_map_desc) * map_idx + in bpf_gen__map_update_elem() [all …]
|
| D | libbpf.c | 329 int map_idx; member 3950 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local 4046 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc() 4047 map = &obj->maps[map_idx]; in bpf_program__record_reloc() 4053 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc() 4057 if (map_idx >= nr_maps) { in bpf_program__record_reloc() 4064 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc() 4075 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc() 4076 map = &obj->maps[map_idx]; in bpf_program__record_reloc() 4080 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc() [all …]
|
| /Linux-v6.1/tools/testing/selftests/bpf/progs/ |
| D | local_storage_bench.c | 82 unsigned int map_idx = index % num_maps; in loop() local 84 do_lookup(map_idx, lctx); in loop() 85 if (interleave && map_idx % 3 == 0) in loop()
|
| /Linux-v6.1/drivers/irqchip/ |
| D | irq-bcm7120-l2.c | 190 unsigned int map_idx = gc_idx * 2; in bcm7120_l2_intc_iomap_3380() local 191 void __iomem *en = of_iomap(dn, map_idx + 0); in bcm7120_l2_intc_iomap_3380() 192 void __iomem *stat = of_iomap(dn, map_idx + 1); in bcm7120_l2_intc_iomap_3380() 195 data->map_base[map_idx + 0] = en; in bcm7120_l2_intc_iomap_3380() 196 data->map_base[map_idx + 1] = stat; in bcm7120_l2_intc_iomap_3380()
|
| /Linux-v6.1/sound/soc/atmel/ |
| D | mchp-pdmc.c | 255 int map_idx = map->channels == 1 ? map->map[i] - SNDRV_CHMAP_MONO : in mchp_pdmc_chmap_ctl_get() local 259 if (dd->channel_mic_map[map_idx].ds_pos) in mchp_pdmc_chmap_ctl_get() 261 if (dd->channel_mic_map[map_idx].clk_edge) in mchp_pdmc_chmap_ctl_get() 294 int map_idx; in mchp_pdmc_chmap_ctl_put() local 297 map_idx = map->channels == 1 ? map->map[i] - SNDRV_CHMAP_MONO : in mchp_pdmc_chmap_ctl_put() 301 if (dd->channel_mic_map[map_idx].ds_pos) in mchp_pdmc_chmap_ctl_put() 303 if (dd->channel_mic_map[map_idx].clk_edge) in mchp_pdmc_chmap_ctl_put()
|
| /Linux-v6.1/sound/soc/fsl/ |
| D | fsl_asrc.c | 1078 u32 map_idx; in fsl_asrc_probe() local 1158 ret = of_property_read_u32(np, "fsl,asrc-clk-map", &map_idx); in fsl_asrc_probe() 1164 if (map_idx > 1) { in fsl_asrc_probe() 1169 asrc_priv->clk_map[IN] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe() 1170 asrc_priv->clk_map[OUT] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe() 1172 asrc_priv->clk_map[IN] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe() 1173 asrc_priv->clk_map[OUT] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe()
|
| /Linux-v6.1/arch/s390/pci/ |
| D | pci.c | 313 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh() 506 idx = zdev->bars[bar].map_idx; in zpci_do_update_iomap_fh() 563 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources() 599 zpci_free_iomap(zdev, zdev->bars[i].map_idx); in zpci_cleanup_bus_resources()
|
| /Linux-v6.1/arch/s390/include/asm/ |
| D | pci.h | 95 u16 map_idx; /* index into bar mapping array */ member
|
| /Linux-v6.1/drivers/staging/qlge/ |
| D | qlge_main.c | 1235 int frag_idx, err, map_idx = 0; in qlge_map_send() local 1258 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in qlge_map_send() 1259 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); in qlge_map_send() 1260 map_idx++; in qlge_map_send() 1269 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in qlge_map_send() 1313 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, in qlge_map_send() 1315 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send() 1318 map_idx++; in qlge_map_send() 1334 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in qlge_map_send() 1335 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt.c | 3544 ring->map_idx = i + ulp_msix; in bnxt_alloc_cp_rings() 3546 ring->map_idx = i; in bnxt_alloc_cp_rings() 4690 return cpr->cp_ring_struct.map_idx; in bnxt_cp_num_to_irq_num() 4704 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_disable_int_sync() local 4706 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync() 5836 u32 map_idx, u32 xid) in bnxt_set_db() argument 5860 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db() 5890 u32 map_idx = ring->map_idx; in bnxt_hwrm_ring_alloc() local 5893 vector = bp->irq_tbl[map_idx].vector; in bnxt_hwrm_ring_alloc() 5895 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc() [all …]
|
| D | bnxt.h | 758 u16 map_idx; /* Used by cmpl rings */ member
|
| /Linux-v6.1/samples/bpf/ |
| D | map_perf_test_user.c | 62 enum map_idx { enum
|
| /Linux-v6.1/drivers/media/platform/ti/omap3isp/ |
| D | isp.c | 2324 unsigned int map_idx = i ? OMAP3_ISP_IOMEM_CSI2A_REGS1 : 0; in isp_probe() local 2327 isp->mmio_base[map_idx] = in isp_probe() 2329 if (IS_ERR(isp->mmio_base[map_idx])) { in isp_probe() 2330 ret = PTR_ERR(isp->mmio_base[map_idx]); in isp_probe()
|
| /Linux-v6.1/drivers/md/ |
| D | dm-zoned-metadata.c | 1840 int map_idx = chunk & DMZ_MAP_ENTRIES_MASK; in dmz_set_chunk_mapping() local 1842 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); in dmz_set_chunk_mapping() 1843 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id); in dmz_set_chunk_mapping()
|