Home
last modified time | relevance | path

Searched refs:bpf_map_area_alloc (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/kernel/bpf/
Dbpf_struct_ops.c619 st_map = bpf_map_area_alloc(st_map_size, NUMA_NO_NODE); in bpf_struct_ops_map_alloc()
626 st_map->uvalue = bpf_map_area_alloc(vt->size, NUMA_NO_NODE); in bpf_struct_ops_map_alloc()
628 bpf_map_area_alloc(btf_type_vlen(t) * sizeof(struct bpf_links *), in bpf_struct_ops_map_alloc()
Dbloom_filter.c145 bloom = bpf_map_area_alloc(sizeof(*bloom) + bitset_bytes, numa_node); in bloom_map_alloc()
Dqueue_stack_maps.c77 qs = bpf_map_area_alloc(queue_size, numa_node); in queue_stack_map_alloc()
Dreuseport_array.c161 array = bpf_map_area_alloc(struct_size(array, ptrs, attr->max_entries), numa_node); in reuseport_array_alloc()
Dstackmap.c51 smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries, in prealloc_elems_and_freelist()
103 smap = bpf_map_area_alloc(cost, bpf_map_attr_numa_node(attr)); in stack_map_alloc()
Ddevmap.c97 hash = bpf_map_area_alloc((u64) entries * sizeof(*hash), numa_node); in dev_map_create_hash()
148 dtab->netdev_map = bpf_map_area_alloc((u64) dtab->map.max_entries * in dev_map_init_map()
Dringbuf.c92 pages = bpf_map_area_alloc(array_size, numa_node); in bpf_ringbuf_area_alloc()
Dcpumap.c113 cmap->cpu_map = bpf_map_area_alloc(cmap->map.max_entries * in cpu_map_alloc()
Dhashtab.c330 htab->elems = bpf_map_area_alloc((u64)htab->elem_size * num_entries, in prealloc_init()
531 htab->buckets = bpf_map_area_alloc(htab->n_buckets * in htab_map_alloc()
Darraymap.c140 array = bpf_map_area_alloc(array_size, numa_node); in array_map_alloc()
Dsyscall.c337 void *bpf_map_area_alloc(u64 size, int numa_node) in bpf_map_area_alloc() function
/linux-5.19.10/net/xdp/
Dxskmap.c78 m = bpf_map_area_alloc(size, numa_node); in xsk_map_alloc()
/linux-5.19.10/net/core/
Dsock_map.c51 stab->sks = bpf_map_area_alloc((u64) stab->map.max_entries * in sock_map_alloc()
1103 htab->buckets = bpf_map_area_alloc(htab->buckets_num * in sock_hash_alloc()
/linux-5.19.10/include/linux/
Dbpf.h1509 void *bpf_map_area_alloc(u64 size, int numa_node);