Function report |
Source Code:kernel\bpf\queue_stack_maps.c |
Create Date:2022-07-28 13:14:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called from syscall
Proto:static int queue_stack_map_alloc_check(union bpf_attr *attr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
union bpf_attr * | attr |
48 | If Not Check operation authority Then Return -EPERM |
52 | If 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 || Not bpf_map_flags_access_ok( BPF_MAP_CREATE related * flags defined above.) Then Return -EINVAL |
58 | If size of value in bytes > Maximum allocatable size Then Return -E2BIG |
64 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |