/openbmc/linux/arch/x86/kernel/apic/ |
H A D | x2apic_uv_x.c | 875 enum map_type {map_wb, map_uc}; enum 878 …p_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, enum map_type map_type) in map_high() argument 888 if (map_type == map_uc) in map_high() 894 id, paddr, paddr + bytes, mt[map_type], max_pnode + 1); in map_high()
|
/openbmc/linux/Documentation/bpf/ |
H A D | maps.rst | 45 .map_type = BPF_MAP_TYPE_ARRAY; /* mandatory */
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | offload.c | 319 if (offmap->map.map_type == BPF_MAP_TYPE_ARRAY) in nfp_bpf_map_delete_elem() 347 if (!(bpf->maps.types & 1 << offmap->map.map_type)) { in nfp_bpf_map_alloc()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 664 enum bpf_map_type map_type; member 1521 ri->map_type = BPF_MAP_TYPE_UNSPEC; in __bpf_xdp_redirect_map() 1527 ri->map_type = map->map_type; in __bpf_xdp_redirect_map()
|
H A D | bpf.h | 256 enum bpf_map_type map_type; member 555 return map->map_type == BPF_MAP_TYPE_PERF_EVENT_ARRAY; in bpf_map_offload_neutral() 1810 return map->map_type == BPF_MAP_TYPE_PROG_ARRAY || in map_type_contains_progs() 1811 map->map_type == BPF_MAP_TYPE_DEVMAP || in map_type_contains_progs() 1812 map->map_type == BPF_MAP_TYPE_CPUMAP; in map_type_contains_progs()
|
H A D | bpf-cgroup.h | 155 if (map->map_type == BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE) in cgroup_storage_type()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 4315 enum bpf_map_type map_type = ri->map_type; in __xdp_do_redirect_xsk() local 4321 ri->map_type = BPF_MAP_TYPE_UNSPEC; in __xdp_do_redirect_xsk() 4339 enum bpf_map_type map_type = ri->map_type; in __xdp_do_redirect_frame() local 4348 ri->map_type = BPF_MAP_TYPE_UNSPEC; in __xdp_do_redirect_frame() 4355 switch (map_type) { in __xdp_do_redirect_frame() 4409 enum bpf_map_type map_type = ri->map_type; in xdp_do_redirect() local 4423 enum bpf_map_type map_type = ri->map_type; in xdp_do_redirect_frame() local 4443 switch (map_type) { in xdp_do_generic_redirect_map() 4494 enum bpf_map_type map_type = ri->map_type; in xdp_do_generic_redirect() local 4502 ri->map_type = BPF_MAP_TYPE_UNSPEC; in xdp_do_generic_redirect() [all …]
|
H A D | bpf_sk_storage.c | 523 if (map->map_type != BPF_MAP_TYPE_SK_STORAGE) { in bpf_sk_storage_diag_alloc() 873 if (map->map_type != BPF_MAP_TYPE_SK_STORAGE) in bpf_iter_attach_map()
|
/openbmc/linux/drivers/edac/ |
H A D | e752x_edac.c | 218 int map_type; member 1059 if (!pvt->map_type) in remap_csrow_index() 1329 pvt->map_type = ((stat8 & 0x0f) > ((stat8 >> 4) & 0x0f)); in e752x_probe1()
|
/openbmc/linux/fs/smb/client/ |
H A D | readdir.c | 945 int map_type; in cifs_filldir() local 947 map_type = cifs_remap(cifs_sb); in cifs_filldir() 953 (size_t)max_len), nlt, map_type); in cifs_filldir()
|
/openbmc/linux/fs/btrfs/ |
H A D | raid56.c | 956 ASSERT(btrfs_nr_parity_stripes(bioc->map_type)); in alloc_rbio() 957 rbio->nr_data = real_stripes - btrfs_nr_parity_stripes(bioc->map_type); in alloc_rbio() 1191 const bool has_qstripe = rbio->bioc->map_type & BTRFS_BLOCK_GROUP_RAID6; in generate_pq_vertical() 1773 if (rbio->bioc->map_type & BTRFS_BLOCK_GROUP_RAID6) { in recover_vertical() 2095 if (!(rbio->bioc->map_type & BTRFS_BLOCK_GROUP_DATA) || in fill_data_csums() 2096 rbio->bioc->map_type & BTRFS_BLOCK_GROUP_METADATA) in fill_data_csums()
|
H A D | volumes.h | 417 u64 map_type; /* get from map_lookup->type */ member
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 511 enum bpf_map_type map_type = map ? map->map_type : BPF_MAP_TYPE_UNSPEC; in is_acquire_function() 521 (map_type == BPF_MAP_TYPE_SOCKMAP || in is_acquire_function() 522 map_type == BPF_MAP_TYPE_SOCKHASH)) in is_acquire_function() 6552 map->map_type); in check_ptr_to_map_access() 8016 switch (meta->map_ptr->map_type) { in resolve_map_arg_type() 8791 switch (map->map_type) { in check_map_func_compatibility() 8940 if (map->map_type != BPF_MAP_TYPE_RINGBUF) in check_map_func_compatibility() 8960 map->map_type != BPF_MAP_TYPE_XSKMAP) in check_map_func_compatibility() 8966 if (map->map_type != BPF_MAP_TYPE_SOCKMAP) in check_map_func_compatibility() 8988 map->map_type != BPF_MAP_TYPE_STACK) in check_map_func_compatibility() [all …]
|
H A D | offload.c | 515 if (attr->map_type != BPF_MAP_TYPE_ARRAY && in bpf_map_offload_map_alloc() 516 attr->map_type != BPF_MAP_TYPE_HASH) in bpf_map_offload_map_alloc()
|
H A D | local_storage.c | 294 if (attr->map_type == BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE) in cgroup_storage_map_alloc()
|
/openbmc/linux/drivers/media/tuners/ |
H A D | tda18271-maps.c | 1052 enum tda18271_map_type map_type, in tda18271_lookup_pll_map() argument 1063 switch (map_type) { in tda18271_lookup_pll_map() 1103 enum tda18271_map_type map_type, in tda18271_lookup_map() argument 1114 switch (map_type) { in tda18271_lookup_map()
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | mmu.h | 518 enum tlb_map_type map_type);
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.h | 57 LIBBPF_API int bpf_map_create(enum bpf_map_type map_type,
|
H A D | bpf.c | 165 int bpf_map_create(enum bpf_map_type map_type, in bpf_map_create() argument 183 attr.map_type = map_type; in bpf_map_create()
|
H A D | libbpf_internal.h | 265 __u32 map_type; member
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_int.h | 200 u32 map_type; member
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_maps.c | 1584 static void test_map_wronly_stack_or_queue(enum bpf_map_type map_type) in test_map_wronly_stack_or_queue() argument 1590 assert(map_type == BPF_MAP_TYPE_QUEUE || in test_map_wronly_stack_or_queue() 1591 map_type == BPF_MAP_TYPE_STACK); in test_map_wronly_stack_or_queue() 1594 fd = bpf_map_create(map_type, NULL, 0, sizeof(value), MAP_SIZE, &map_opts); in test_map_wronly_stack_or_queue()
|
H A D | test_verifier.c | 533 static bool skip_unsupported_map(enum bpf_map_type map_type) in skip_unsupported_map() argument 535 if (!libbpf_probe_bpf_map_type(map_type, NULL)) { in skip_unsupported_map() 536 printf("SKIP (unsupported map type %d)\n", map_type); in skip_unsupported_map()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | core.c | 1808 static inline const char *map_type(enum pinctrl_map_type type) in map_type() function 1834 map->dev_name, map->name, map_type(map->type), in pinctrl_maps_show() 1883 map_type(setting->type), in pinctrl_show()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_vm.c | 89 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot() argument
|