Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\hashtab.c Create Date:2022-07-28 13:10:35
Last Modify:2022-05-23 09:15:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ly called from syscall

Proto:int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, void *key, void *value, u64 map_flags)

Type:int

Parameter:

TypeParameterName
struct bpf_map *map
struct file *map_file
void *key
void *value
u64map_flags
1438  ufd = value
1440  ptr = map_fd_get_ptr(map, map_file, ufd)
1441  If IS_ERR(ptr) Then Return PTR_ERR(ptr)
1444  ret = Called from syscall or from eBPF program
1445  If ret Then map_fd_put_ptr(ptr)
1448  Return ret
Caller
NameDescribe
map_update_elem