函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called from syscall

函数原型:static int queue_stack_map_alloc_check(union bpf_attr *attr)

返回类型:int

参数:

类型参数名称
union bpf_attr *attr
48  如果非操作权限检查则返回:负EPERM
52  如果 max number of entries in a map 恒等于0或 size of key in bytes 不等于0或 size of value in bytes 恒等于0或 BPF_MAP_CREATE related * flags defined above.按位与QUEUE_STACK_CREATE_FLAG_MASK的反或非bpf_map_flags_access_ok( BPF_MAP_CREATE related * flags defined above.)则返回:负EINVAL
58  如果 size of value in bytes 大于Maximum allocatable size 则返回:负E2BIG
64  返回:0