/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_pinning.c | 43 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 …]
|
D | btf.c | 63 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 …]
|
D | global_func_args.c | 10 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()
|
D | obj_name.c | 51 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()
|
D | verifier.c | 188 static int init_test_val_map(struct bpf_object *obj, char *map_name) in init_test_val_map() argument 197 map = bpf_object__find_map_by_name(obj, map_name); in init_test_val_map() 199 PRINT_FAIL("Can't find map '%s'\n", map_name); in init_test_val_map() 205 PRINT_FAIL("Error while updating map '%s': %d\n", map_name, err); in init_test_val_map()
|
D | sockmap_listen.c | 1282 const char *family_name, *map_name, *sotype_name; in test_ops() local 1288 map_name = map_type_str(map); in test_ops() 1293 snprintf(s, sizeof(s), "%s %s %s %s", map_name, family_name, in test_ops() 1321 const char *family_name, *map_name; in test_redir() local 1326 map_name = map_type_str(map); in test_redir() 1329 snprintf(s, sizeof(s), "%s %s %s", map_name, family_name, in test_redir() 1416 const char *family_name, *map_name; in test_unix_redir() local 1420 map_name = map_type_str(map); in test_unix_redir() 1421 snprintf(s, sizeof(s), "%s %s %s", map_name, family_name, __func__); in test_unix_redir() 1566 const char *family_name, *map_name; in test_vsock_redir() local [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/map_tests/ |
D | map_in_map_batch_ops.c | 36 char map_name[15]; in create_inner_maps() local 39 memset(map_name, 0, sizeof(map_name)); in create_inner_maps() 40 sprintf(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.6.21/drivers/media/rc/ |
D | meson-ir.c | 92 const char *map_name; in meson_ir_probe() local 123 map_name = of_get_property(node, "linux,rc-map-name", NULL); in meson_ir_probe() 124 ir->rc->map_name = map_name ? map_name : RC_MAP_EMPTY; in meson_ir_probe()
|
D | gpio-ir-recv.c | 101 rcdev->map_name = of_get_property(np, "linux,rc-map-name", NULL); in gpio_ir_recv_probe() 102 if (!rcdev->map_name) in gpio_ir_recv_probe() 103 rcdev->map_name = RC_MAP_EMPTY; in gpio_ir_recv_probe()
|
D | sunxi-cir.c | 97 const char *map_name; member 322 ir->map_name = of_get_property(dn, "linux,rc-map-name", NULL); in sunxi_ir_probe() 323 ir->rc->map_name = ir->map_name ?: RC_MAP_EMPTY; in sunxi_ir_probe()
|
D | ir-hix5hd2.c | 255 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()
|
D | mtk-cir.c | 300 const char *map_name; in mtk_ir_probe() local 341 map_name = of_get_property(dn, "linux,rc-map-name", NULL); in mtk_ir_probe() 342 ir->rc->map_name = map_name ?: RC_MAP_EMPTY; in mtk_ir_probe()
|
/linux-6.6.21/drivers/media/tuners/ |
D | tda18271-maps.c | 1058 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.6.21/tools/testing/selftests/bpf/ |
D | flow_dissector_load.h | 12 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.6.21/drivers/mtd/maps/ |
D | amd76xrom.c | 45 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()
|
D | pci.c | 26 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()
|
D | ck804xrom.c | 49 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()
|
D | ichxrom.c | 50 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()
|
D | esb2rom.c | 111 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.6.21/drivers/of/ |
D | base.c | 1344 char *cells_name, *map_name = NULL, *mask_name = NULL; in of_parse_phandle_with_args_map() local 1363 map_name = kasprintf(GFP_KERNEL, "%s-map", stem_name); in of_parse_phandle_with_args_map() 1364 if (!map_name) in of_parse_phandle_with_args_map() 1393 map = of_get_property(cur, map_name, &map_len); in of_parse_phandle_with_args_map() 1474 kfree(map_name); in of_parse_phandle_with_args_map() 1956 const char *map_name, const char *map_mask_name, in of_map_id() argument 1963 if (!np || !map_name || (!target && !id_out)) in of_map_id() 1966 map = of_get_property(np, map_name, &map_len); in of_map_id() 1977 map_name, map_len); in of_map_id() 2001 np, map_name, map_name, in of_map_id() [all …]
|
/linux-6.6.21/tools/lib/bpf/ |
D | skel_internal.h | 220 const char *map_name, in skel_map_create() argument 231 strncpy(attr.map_name, map_name, sizeof(attr.map_name)); in skel_map_create()
|
D | libbpf.c | 1544 char map_name[BPF_OBJ_NAME_LEN], *p; in internal_map_name() local 1589 snprintf(map_name, sizeof(map_name), "%.*s%.*s", pfx_len, obj->name, in internal_map_name() 1593 for (p = map_name; *p && p < map_name + sizeof(map_name); p++) in internal_map_name() 1597 return strdup(map_name); in internal_map_name() 2133 static bool get_map_field_int(const char *map_name, const struct btf *btf, in get_map_field_int() argument 2143 map_name, name, btf_kind_str(t)); in get_map_field_int() 2150 map_name, name, t->type); in get_map_field_int() 2155 map_name, name, btf_kind_str(arr_t)); in get_map_field_int() 2198 int parse_btf_map_def(const char *map_name, struct btf *btf, in parse_btf_map_def() argument 2213 pr_warn("map '%s': invalid field #%d.\n", map_name, i); in parse_btf_map_def() [all …]
|
/linux-6.6.21/arch/arm/include/asm/mach/ |
D | flash.h | 25 const char *map_name; member
|
/linux-6.6.21/drivers/media/usb/em28xx/ |
D | em28xx-input.c | 747 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.6.21/Documentation/bpf/ |
D | maps.rst | 50 .map_name = "example_array"; 59 .. note:: Valid characters for ``map_name`` are ``A-Z``, ``a-z``, ``0-9``,
|