Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-28 12:51:54
Last Modify:2022-05-19 18:06:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:map_get_sys_perms

Proto:static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f)

Type:fmode_t

Parameter:

TypeParameterName
struct bpf_map *map
struct fdf
378  mode = f_mode
383  If READ_ONCE( write-once; write-protected by freeze_mutex ) Then mode &= ~Has write method(s)
385  Return mode
Caller
NameDescribe
map_lookup_elem
map_update_elem
map_delete_elem
map_get_next_key
map_lookup_and_delete_elem