Searched refs:BPF_READ (Results 1 – 8 of 8) sorted by relevance
127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
43 if (arg == 2 && type == BPF_READ) { in BTF_ID_LIST_SINGLE()
4289 false, BPF_READ, NULL); in check_stack_read_var_off()4401 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()6050 if (atype != BPF_READ && !type_is_ptr_alloc_obj(reg->type)) { in check_ptr_to_btf_access()6127 if (atype == BPF_READ && value_regno >= 0) { in check_ptr_to_btf_access()6178 if (atype != BPF_READ) { in check_ptr_to_map_access()6241 if (type == BPF_READ) in check_stack_access_within_bounds()6370 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()6433 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()6450 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()6490 if (t == BPF_READ) in check_mem_access()[all …]
2398 if (type != BPF_READ) in sysctl_is_valid_access()2403 if (type == BPF_READ) { in sysctl_is_valid_access()
1461 if (type != BPF_READ) in tp_prog_is_valid_access()1818 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()1841 if (type != BPF_READ) in pe_prog_is_valid_access()
975 BPF_READ = 1, enumerator2988 if (type != BPF_READ) in bpf_tracing_ctx_access()
9032 return access_type == BPF_READ; in __sock_filter_check_attach_type()9404 if (type == BPF_READ) { in sock_addr_is_valid_access()9435 if (type != BPF_READ) in sock_addr_is_valid_access()9445 if (type != BPF_READ) in sock_addr_is_valid_access()11612 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()11794 if (type != BPF_READ) in sk_lookup_is_valid_access()
7353 if (type != BPF_READ) in bpf_scx_is_valid_access()