函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\queue_stack_maps.c Create Date:2022-07-27 14:31:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_queue_stack

函数原型:static struct bpf_queue_stack *bpf_queue_stack(struct bpf_map *map)

返回类型:struct bpf_queue_stack

参数:

类型参数名称
struct bpf_map *map
27  返回: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)
调用者
名称描述
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