Searched refs:map_get_sys_perms (Results 1 – 1 of 1) sorted by relevance
673 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms() function1331 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_lookup_elem()1404 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_update_elem()1458 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_delete_elem()1513 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_get_next_key()1807 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ) || in map_lookup_and_delete_elem()1808 !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_lookup_and_delete_elem()4513 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()4517 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()