Searched refs:map_get_sys_perms (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 784 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms() function 1455 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_lookup_elem() 1528 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_update_elem() 1582 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_delete_elem() 1637 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_get_next_key() 1927 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ) || in map_lookup_and_delete_elem() 1928 !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_lookup_and_delete_elem() 2017 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_freeze() 4973 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch() 4977 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()
|