Home
last modified time | relevance | path

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

/kernel/bpf/
Dbpf_struct_ops.c621 st_map = bpf_map_area_alloc(st_map_size, NUMA_NO_NODE); in bpf_struct_ops_map_alloc()
628 st_map->uvalue = bpf_map_area_alloc(vt->size, NUMA_NO_NODE); in bpf_struct_ops_map_alloc()
630 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()
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()
166 dtab = bpf_map_area_alloc(sizeof(*dtab), NUMA_NO_NODE); in dev_map_alloc()
Dringbuf.c125 pages = bpf_map_area_alloc(array_size, numa_node); in bpf_ringbuf_area_alloc()
201 rb_map = bpf_map_area_alloc(sizeof(*rb_map), NUMA_NO_NODE); in ringbuf_map_alloc()
Dcpumap.c102 cmap = bpf_map_area_alloc(sizeof(*cmap), NUMA_NO_NODE); in cpu_map_alloc()
115 cmap->cpu_map = bpf_map_area_alloc(cmap->map.max_entries * in cpu_map_alloc()
Dqueue_stack_maps.c77 qs = bpf_map_area_alloc(queue_size, numa_node); in queue_stack_map_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()
Dreuseport_array.c158 array = bpf_map_area_alloc(struct_size(array, ptrs, attr->max_entries), numa_node); in reuseport_array_alloc()
Dbpf_local_storage.c623 smap = bpf_map_area_alloc(sizeof(*smap), NUMA_NO_NODE); in bpf_local_storage_map_alloc()
Dlocal_storage.c316 map = bpf_map_area_alloc(sizeof(struct bpf_cgroup_storage_map), numa_node); in cgroup_storage_map_alloc()
Dlpm_trie.c564 trie = bpf_map_area_alloc(sizeof(*trie), NUMA_NO_NODE); in trie_alloc()
Doffload.c372 offmap = bpf_map_area_alloc(sizeof(*offmap), NUMA_NO_NODE); in bpf_map_offload_map_alloc()
Dhashtab.c316 htab->elems = bpf_map_area_alloc((u64)htab->elem_size * num_entries, in prealloc_init()
478 htab = bpf_map_area_alloc(sizeof(*htab), NUMA_NO_NODE); in htab_map_alloc()
515 htab->buckets = bpf_map_area_alloc(htab->n_buckets * in htab_map_alloc()
Darraymap.c138 array = bpf_map_area_alloc(array_size, numa_node); in array_map_alloc()
Dsyscall.c339 void *bpf_map_area_alloc(u64 size, int numa_node) in bpf_map_area_alloc() function