Searched refs:has_write (Results 1 – 1 of 1) sorted by relevance
4498 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch() local4511 if (has_write) in bpf_map_do_batch()4517 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()4531 if (has_write) in bpf_map_do_batch()