Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\queue_stack_maps.c Create Date:2022-07-28 13:14:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_queue_stack

Proto:static struct bpf_queue_stack *bpf_queue_stack(struct bpf_map *map)

Type:struct bpf_queue_stack

Parameter:

TypeParameterName
struct bpf_map *map
27  Return container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(map, structbpf_queue_stack, map)
Caller
NameDescribe
queue_stack_map_freeCalled when map->refcnt goes to zero, either from workqueue or from syscall
__queue_map_get
__stack_map_get
queue_stack_map_push_elemCalled from syscall or from eBPF program