Searched refs:bpf_map_area_alloc (Results 1 – 15 of 15) sorted by relevance
/kernel/bpf/ |
D | bpf_struct_ops.c | 621 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()
|
D | bloom_filter.c | 145 bloom = bpf_map_area_alloc(sizeof(*bloom) + bitset_bytes, numa_node); in bloom_map_alloc()
|
D | devmap.c | 97 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()
|
D | ringbuf.c | 125 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()
|
D | cpumap.c | 102 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()
|
D | queue_stack_maps.c | 77 qs = bpf_map_area_alloc(queue_size, numa_node); in queue_stack_map_alloc()
|
D | stackmap.c | 51 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()
|
D | reuseport_array.c | 158 array = bpf_map_area_alloc(struct_size(array, ptrs, attr->max_entries), numa_node); in reuseport_array_alloc()
|
D | bpf_local_storage.c | 623 smap = bpf_map_area_alloc(sizeof(*smap), NUMA_NO_NODE); in bpf_local_storage_map_alloc()
|
D | local_storage.c | 316 map = bpf_map_area_alloc(sizeof(struct bpf_cgroup_storage_map), numa_node); in cgroup_storage_map_alloc()
|
D | lpm_trie.c | 564 trie = bpf_map_area_alloc(sizeof(*trie), NUMA_NO_NODE); in trie_alloc()
|
D | offload.c | 372 offmap = bpf_map_area_alloc(sizeof(*offmap), NUMA_NO_NODE); in bpf_map_offload_map_alloc()
|
D | hashtab.c | 316 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()
|
D | arraymap.c | 138 array = bpf_map_area_alloc(array_size, numa_node); in array_map_alloc()
|
D | syscall.c | 339 void *bpf_map_area_alloc(u64 size, int numa_node) in bpf_map_area_alloc() function
|