/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | local_storage_bench.c | 82 unsigned int map_idx = index % num_maps; local 84 do_lookup(map_idx, lctx); 85 if (interleave && map_idx % 3 == 0)
|
/linux-master/tools/lib/bpf/ |
H A D | bpf_gen_internal.h | 61 struct bpf_map_create_opts *map_attr, int map_idx); 66 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size); 67 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx);
|
H A D | gen_loader.c | 452 struct bpf_map_create_opts *map_attr, int map_idx) 474 attr.map_name, map_idx, map_type, attr.btf_value_type_id); 492 if (map_idx >= 0) 495 sizeof(struct bpf_map_desc) * map_idx + 501 attr.map_name, map_idx, map_type, value_size, 505 if (map_idx < 0) { 506 /* This bpf_gen__map_create() function is called with map_idx >= 0 512 } else if (map_idx != gen->nr_maps) { 1034 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *pvalue, argument 1043 pr_debug("gen: map_update_elem: idx %d\n", map_idx); 448 bpf_gen__map_create(struct bpf_gen *gen, enum bpf_map_type map_type, const char *map_name, __u32 key_size, __u32 value_size, __u32 max_entries, struct bpf_map_create_opts *map_attr, int map_idx) argument 1108 bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx) argument [all...] |
H A D | libbpf.c | 355 int map_idx; member in struct:reloc_desc::__anon168::__anon169 4382 size_t map_idx, nr_maps = prog->obj->nr_maps; local 4475 reloc_desc->map_idx = obj->arena_map - obj->maps; 4487 for (map_idx = 0; map_idx < nr_maps; map_idx++) { 4488 map = &obj->maps[map_idx]; 4494 prog->name, map_idx, map->name, map->sec_idx, 4498 if (map_idx >= nr_maps) { 4505 reloc_desc->map_idx 5890 poison_map_ldimm64(struct bpf_program *prog, int relo_idx, int insn_idx, struct bpf_insn *insn, int map_idx, const struct bpf_map *map) argument 7591 int insn_idx, map_idx; local [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-bcm7120-l2.c | 190 unsigned int map_idx = gc_idx * 2; local 191 void __iomem *en = of_iomap(dn, map_idx + 0); 192 void __iomem *stat = of_iomap(dn, map_idx + 1); 195 data->map_base[map_idx + 0] = en; 196 data->map_base[map_idx + 1] = stat;
|
/linux-master/sound/soc/atmel/ |
H A D | mchp-pdmc.c | 254 int map_idx = map->channels == 1 ? map->map[i] - SNDRV_CHMAP_MONO : local 258 if (dd->channel_mic_map[map_idx].ds_pos) 260 if (dd->channel_mic_map[map_idx].clk_edge) 293 int map_idx; local 296 map_idx = map->channels == 1 ? map->map[i] - SNDRV_CHMAP_MONO : 300 if (dd->channel_mic_map[map_idx].ds_pos) 302 if (dd->channel_mic_map[map_idx].clk_edge)
|
/linux-master/sound/soc/fsl/ |
H A D | fsl_asrc.c | 1078 u32 map_idx; local 1158 ret = of_property_read_u32(np, "fsl,asrc-clk-map", &map_idx); 1164 if (map_idx > 1) { 1169 asrc_priv->clk_map[IN] = clk_map_imx8qm[map_idx]; 1170 asrc_priv->clk_map[OUT] = clk_map_imx8qm[map_idx]; 1172 asrc_priv->clk_map[IN] = clk_map_imx8qxp[map_idx]; 1173 asrc_priv->clk_map[OUT] = clk_map_imx8qxp[map_idx];
|
/linux-master/arch/s390/include/asm/ |
H A D | pci.h | 95 u16 map_idx; /* index into bar mapping array */ member in struct:zpci_bar_struct
|
/linux-master/arch/s390/pci/ |
H A D | pci.c | 288 idx = zdev->bars[bar].map_idx; 481 idx = zdev->bars[bar].map_idx; 537 zdev->bars[i].map_idx = entry; 577 zpci_free_iomap(zdev, zdev->bars[i].map_idx);
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | device.c | 2661 u32 map_idx = 0; local 2700 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; 2701 pgf_info->user_mappings[map_idx].size = userptr->size; 2702 map_idx++; 2705 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; 2706 pgf_info->user_mappings[map_idx].size = phys_pg_pack->total_size; 2707 map_idx++;
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | isp.c | 2325 unsigned int map_idx = i ? OMAP3_ISP_IOMEM_CSI2A_REGS1 : 0; local 2327 isp->mmio_base[map_idx] = 2329 if (IS_ERR(isp->mmio_base[map_idx])) { 2330 ret = PTR_ERR(isp->mmio_base[map_idx]);
|
/linux-master/samples/bpf/ |
H A D | map_perf_test_user.c | 62 enum map_idx { enum
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 3888 ring->map_idx = i + ulp_msix; 3890 ring->map_idx = i; 5175 return cpr->cp_ring_struct.map_idx; 5189 int map_idx = bnxt_cp_num_to_irq_num(bp, i); local 5191 synchronize_irq(bp->irq_tbl[map_idx].vector); 6751 u32 map_idx, u32 xid) 6776 db->doorbell = bp->bar1 + map_idx * 0x80; 6807 u32 map_idx = ring->map_idx; local 6810 vector = bp->irq_tbl[map_idx] 6750 bnxt_set_db(struct bnxt *bp, struct bnxt_db_info *db, u32 ring_type, u32 map_idx, u32 xid) argument 6833 u32 map_idx; local 6863 u32 map_idx = bnapi->index; local 6895 u32 map_idx = grp_idx + bp->rx_nr_rings; local 10194 int map_idx = bnxt_cp_num_to_irq_num(bp, i); local 10493 int map_idx = bnxt_cp_num_to_irq_num(bp, i); local 10530 int map_idx = bnxt_cp_num_to_irq_num(bp, i); local [all...] |
H A D | bnxt.h | 897 u16 map_idx; /* Used by cmpl rings */ member in union:bnxt_ring_struct::__anon489
|
/linux-master/drivers/md/ |
H A D | dm-zoned-metadata.c | 1839 int map_idx = chunk & DMZ_MAP_ENTRIES_MASK; local 1841 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); 1842 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id);
|