Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-28 12:51:44
Last Modify:2022-05-19 18:06:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_map_init_from_attr

Proto:void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
union bpf_attr *attr
195  map_type = one of enum bpf_map_type
196  key_size = size of key in bytes
197  value_size = size of value in bytes
198  max_entries = max number of entries in a map
199  map_flags = bpf_map_flags_retain_permanent( BPF_MAP_CREATE related * flags defined above.)
200  numa_node = bpf_map_attr_numa_node(attr)
Caller
NameDescribe
htab_map_alloc
array_map_alloc
trie_alloc
cgroup_storage_map_alloc
queue_stack_map_alloc
dev_map_init_map
cpu_map_alloc
xsk_map_alloc
bpf_map_offload_map_alloc
stack_map_allocCalled from syscall
reuseport_array_alloc