Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dhelpers.c538 .arg1_type = ARG_PTR_TO_MEM | MEM_RDONLY,
568 .arg1_type = ARG_PTR_TO_MEM | MEM_RDONLY,
584 .arg1_type = ARG_PTR_TO_MEM | MEM_RDONLY,
654 .arg4_type = ARG_PTR_TO_MEM | MEM_RDONLY,
726 .ret_type = RET_PTR_TO_MEM_OR_BTF_ID | PTR_MAYBE_NULL | MEM_RDONLY,
739 .ret_type = RET_PTR_TO_MEM_OR_BTF_ID | MEM_RDONLY,
1081 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
1653 .arg3_type = ARG_PTR_TO_DYNPTR | MEM_RDONLY,
1701 .arg1_type = ARG_PTR_TO_DYNPTR | MEM_RDONLY,
1703 .arg3_type = ARG_PTR_TO_MEM | MEM_RDONLY,
[all …]
H A Dmap_iter.c176 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
H A Dringbuf.c566 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
H A Dverifier.c505 return type & MEM_RDONLY; in type_is_rdonly_mem()
643 type & MEM_RDONLY ? "rdonly_" : "", in reg_type_str()
7606 if ((arg_type & (MEM_UNINIT | MEM_RDONLY)) == (MEM_UNINIT | MEM_RDONLY)) { in process_dynptr_func()
7645 if (reg->type == CONST_PTR_TO_DYNPTR && !(arg_type & MEM_RDONLY)) { in process_dynptr_func()
7658 if (!is_dynptr_type_expected(env, reg, arg_type & ~MEM_RDONLY)) { in process_dynptr_func()
8171 if (arg_type & MEM_RDONLY) in check_reg_type()
8172 type &= ~MEM_RDONLY; in check_reg_type()
8201 if (!(arg_type & MEM_RDONLY)) { in check_reg_type()
8342 case PTR_TO_MEM | MEM_RDONLY: in check_func_arg_reg_off()
8345 case PTR_TO_BUF | MEM_RDONLY: in check_func_arg_reg_off()
[all …]
H A Dcgroup.c2179 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
H A Dsyscall.c5658 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
H A Dbtf.c7567 .arg1_type = ARG_PTR_TO_MEM | MEM_RDONLY,
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c353 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
399 .arg1_type = ARG_PTR_TO_MEM | MEM_RDONLY,
454 .arg1_type = ARG_PTR_TO_MEM | MEM_RDONLY,
456 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
498 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
500 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
515 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
539 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
703 .arg4_type = ARG_PTR_TO_MEM | MEM_RDONLY,
1029 .arg3_type = ARG_PTR_TO_MEM | MEM_RDONLY,
[all …]
/openbmc/linux/net/core/
H A Dfilter.c1726 .arg3_type = ARG_PTR_TO_MEM | MEM_RDONLY,
2042 .arg1_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2044 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2578 .arg2_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
4633 .arg4_type = ARG_PTR_TO_MEM | MEM_RDONLY,
4647 .arg4_type = ARG_PTR_TO_MEM | MEM_RDONLY,
4847 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
4873 .arg2_type = ARG_PTR_TO_MEM | MEM_RDONLY,
5045 .arg4_type = ARG_PTR_TO_MEM | MEM_RDONLY,
5059 .arg4_type = ARG_PTR_TO_MEM | MEM_RDONLY,
[all...]
H A Dsock_map.c1718 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
/openbmc/linux/include/linux/
H A Dbpf.h592 MEM_RDONLY = BIT(1 + BPF_BASE_TYPE_BITS), enumerator