Home
last modified time | relevance | path

Searched refs:map_get_sys_perms (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/kernel/bpf/
Dsyscall.c671 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms() function
1329 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_lookup_elem()
1402 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_update_elem()
1456 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_delete_elem()
1511 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_get_next_key()
1799 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ) || in map_lookup_and_delete_elem()
1800 !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_lookup_and_delete_elem()
4491 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()
4495 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()