Home
last modified time | relevance | path

Searched refs:map_name (Results 1 – 25 of 92) sorted by relevance

1234

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_pinning.c43 const char *map_name = "fsmount_map"; in bpf_obj_pinning_detached() local
75 map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY, map_name, 4, 4, 1, NULL); in bpf_obj_pinning_detached()
82 err = bpf_obj_pin_opts(map_fd, map_name, &pin_opts); in bpf_obj_pinning_detached()
89 map_fd2 = bpf_obj_get_opts(map_name, &get_opts); in bpf_obj_pinning_detached()
123 static void validate_pin(int map_fd, const char *map_name, int src_value, in validate_pin() argument
131 snprintf(abs_path, sizeof(abs_path), "/sys/fs/bpf/%s", map_name); in validate_pin()
143 pin_path = map_name; in validate_pin()
150 pin_path = map_name; in validate_pin()
183 static void validate_get(int map_fd, const char *map_name, int src_value, in validate_get() argument
191 snprintf(abs_path, sizeof(abs_path), "/sys/fs/bpf/%s", map_name); in validate_get()
[all …]
Dbtf.c63 const char *map_name; member
135 .map_name = "struct_test1_map",
190 .map_name = "struct_test2_map",
215 .map_name = "struct_test3_map",
256 .map_name = "struct_test1_map",
301 .map_name = ".bss",
323 .map_name = ".bss",
345 .map_name = ".bss",
367 .map_name = ".bss",
392 .map_name = ".bss",
[all …]
Dglobal_func_args.c10 const char *map_name = "values"; in test_global_func_args0() local
12 map_fd = bpf_find_map(__func__, obj, map_name); in test_global_func_args0()
14 map_name, strerror(errno))) in test_global_func_args0()
Dobj_name.c51 ncopy = name_len < sizeof(attr.map_name) ? in test_obj_name()
52 name_len : sizeof(attr.map_name); in test_obj_name()
59 memcpy(attr.map_name, tests[i].name, ncopy); in test_obj_name()
Dverifier.c245 static int init_test_val_map(struct bpf_object *obj, char *map_name) in init_test_val_map() argument
254 map = bpf_object__find_map_by_name(obj, map_name); in init_test_val_map()
256 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map()
262 PRINT_FAIL("Error while updating map '%s': %d\n", map_name, err); in init_test_val_map()
Dsockmap_listen.c1310 const char *family_name, *map_name, *sotype_name; in test_ops() local
1316 map_name = map_type_str(map); in test_ops()
1321 snprintf(s, sizeof(s), "%s %s %s %s", map_name, family_name, in test_ops()
1351 const char *family_name, *map_name; in test_redir() local
1356 map_name = map_type_str(map); in test_redir()
1359 snprintf(s, sizeof(s), "%s %s %s", map_name, family_name, in test_redir()
1479 const char *family_name, *map_name; in test_unix_redir() local
1483 map_name = map_type_str(map); in test_unix_redir()
1484 snprintf(s, sizeof(s), "%s %s %s", map_name, family_name, __func__); in test_unix_redir()
1587 const char *family_name, *map_name; in test_vsock_redir() local
[all …]
Dmap_in_map.c73 static void test_map_in_map_access(const char *prog_name, const char *map_name) in test_map_in_map_access() argument
91 outer_map = bpf_object__find_map_by_name(skel->obj, map_name); in test_map_in_map_access()
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/
Dmap_in_map_batch_ops.c36 char map_name[16]; in create_inner_maps() local
39 memset(map_name, 0, sizeof(map_name)); in create_inner_maps()
40 snprintf(map_name, sizeof(map_name), "inner_map_fd_%d", map_index); in create_inner_maps()
41 map_fd = bpf_map_create(map_type, map_name, sizeof(__u32), in create_inner_maps()
46 map_type, map_name, strerror(errno)); in create_inner_maps()
62 map_type, map_name, strerror(errno)); in create_inner_maps()
/linux-6.12.1/drivers/media/tuners/
Dtda18271-maps.c1058 char *map_name; in tda18271_lookup_pll_map() local
1066 map_name = "main_pll"; in tda18271_lookup_pll_map()
1070 map_name = "cal_pll"; in tda18271_lookup_pll_map()
1074 map_name = "undefined"; in tda18271_lookup_pll_map()
1079 tda_warn("%s map is not set!\n", map_name); in tda18271_lookup_pll_map()
1087 map_name, *freq); in tda18271_lookup_pll_map()
1097 i, map_name, *post_div, *div); in tda18271_lookup_pll_map()
1109 char *map_name; in tda18271_lookup_map() local
1117 map_name = "bp_filter"; in tda18271_lookup_map()
1121 map_name = "km"; in tda18271_lookup_map()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dflow_dissector_load.h12 const char *map_name, in bpf_flow_load() argument
35 prog_array = bpf_object__find_map_by_name(*obj, map_name); in bpf_flow_load()
/linux-6.12.1/drivers/media/rc/
Dgpio-ir-recv.c100 rcdev->map_name = of_get_property(np, "linux,rc-map-name", NULL); in gpio_ir_recv_probe()
101 if (!rcdev->map_name) in gpio_ir_recv_probe()
102 rcdev->map_name = RC_MAP_EMPTY; in gpio_ir_recv_probe()
Dsunxi-cir.c98 const char *map_name; member
323 ir->map_name = of_get_property(dn, "linux,rc-map-name", NULL); in sunxi_ir_probe()
324 ir->rc->map_name = ir->map_name ?: RC_MAP_EMPTY; in sunxi_ir_probe()
Dmtk-cir.c301 const char *map_name; in mtk_ir_probe() local
342 map_name = of_get_property(dn, "linux,rc-map-name", NULL); in mtk_ir_probe()
343 ir->rc->map_name = map_name ?: RC_MAP_EMPTY; in mtk_ir_probe()
Dir-hix5hd2.c256 const char *map_name; in hix5hd2_ir_probe() local
304 map_name = of_get_property(node, "linux,rc-map-name", NULL); in hix5hd2_ir_probe()
305 rdev->map_name = map_name ?: RC_MAP_EMPTY; in hix5hd2_ir_probe()
Dmeson-ir.c450 const char *map_name; in meson_ir_probe() local
504 map_name = of_get_property(node, "linux,rc-map-name", NULL); in meson_ir_probe()
505 ir->rc->map_name = map_name ? map_name : RC_MAP_EMPTY; in meson_ir_probe()
/linux-6.12.1/drivers/mtd/maps/
Dpci.c26 const char *map_name; member
148 .map_name = "cfi_probe",
221 .map_name = "jedec_probe",
282 mtd = do_map_probe(info->map_name, &map->map); in mtd_pci_probe()
Damd76xrom.c45 char map_name[sizeof(MOD_NAME) + 2 + ADDRESS_NAME_LEN]; member
197 map->map.name = map->map_name; in amd76xrom_init_one()
204 sprintf(map->map_name, "%s @%08Lx", in amd76xrom_init_one()
243 map->rsrc.name = map->map_name; in amd76xrom_init_one()
Dck804xrom.c49 char map_name[sizeof(MOD_NAME) + 2 + ADDRESS_NAME_LEN]; member
227 map->map.name = map->map_name; in ck804xrom_init_one()
234 sprintf(map->map_name, "%s @%08Lx", in ck804xrom_init_one()
273 map->rsrc.name = map->map_name; in ck804xrom_init_one()
Dichxrom.c50 char map_name[sizeof(MOD_NAME) + 2 + ADDRESS_NAME_LEN]; member
221 map->map.name = map->map_name; in ichxrom_init_one()
228 sprintf(map->map_name, "%s @%08Lx", in ichxrom_init_one()
270 map->rsrc.name = map->map_name; in ichxrom_init_one()
Desb2rom.c111 char map_name[sizeof(MOD_NAME) + 2 + ADDRESS_NAME_LEN]; member
287 map->map.name = map->map_name; in esb2rom_init_one()
294 sprintf(map->map_name, "%s @%08Lx", in esb2rom_init_one()
335 map->rsrc.name = map->map_name; in esb2rom_init_one()
/linux-6.12.1/tools/lib/bpf/
Dskel_internal.h220 const char *map_name, in skel_map_create() argument
231 strncpy(attr.map_name, map_name, sizeof(attr.map_name)); in skel_map_create()
/linux-6.12.1/drivers/of/
Dbase.c1398 char *map_name __free(kfree) = kasprintf(GFP_KERNEL, "%s-map", stem_name); in of_parse_phandle_with_args_map()
1413 if (!cells_name || !map_name || !mask_name || !pass_name) in of_parse_phandle_with_args_map()
1434 map = of_get_property(cur, map_name, &map_len); in of_parse_phandle_with_args_map()
1990 const char *map_name, const char *map_mask_name, in of_map_id() argument
1997 if (!np || !map_name || (!target && !id_out)) in of_map_id()
2000 map = of_get_property(np, map_name, &map_len); in of_map_id()
2011 map_name, map_len); in of_map_id()
2035 np, map_name, map_name, in of_map_id()
2061 np, map_name, map_mask, id_base, out_base, in of_map_id()
2066 pr_info("%pOF: no %s translation for id 0x%x on %pOF\n", np, map_name, in of_map_id()
/linux-6.12.1/arch/arm/include/asm/mach/
Dflash.h25 const char *map_name; member
/linux-6.12.1/drivers/media/usb/em28xx/
Dem28xx-input.c747 rc->map_name = RC_MAP_EM_TERRATEC; in em28xx_ir_init()
751 rc->map_name = RC_MAP_PINNACLE_GREY; in em28xx_ir_init()
755 rc->map_name = RC_MAP_HAUPPAUGE; in em28xx_ir_init()
760 rc->map_name = RC_MAP_WINFAST_USBII_DELUXE; in em28xx_ir_init()
798 rc->map_name = dev->board.ir_codes; in em28xx_ir_init()
/linux-6.12.1/Documentation/bpf/
Dmaps.rst50 .map_name = "example_array";
59 .. note:: Valid characters for ``map_name`` are ``A-Z``, ``a-z``, ``0-9``,

1234