Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dbpf.h359 PTR_MAYBE_NULL = BIT(0 + BPF_BASE_TYPE_BITS), enumerator
456 ARG_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MAP_VALUE,
457 ARG_PTR_TO_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MEM,
458 ARG_PTR_TO_CTX_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_CTX,
459 ARG_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_SOCKET,
460 ARG_PTR_TO_ALLOC_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_ALLOC_MEM,
461 ARG_PTR_TO_STACK_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_STACK,
462 ARG_PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_BTF_ID,
491 RET_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_MAP_VALUE,
492 RET_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_SOCKET,
[all …]
/linux-5.19.10/kernel/bpf/
Dmap_iter.c177 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
179 PTR_TO_BUF | PTR_MAYBE_NULL },
Dhelpers.c731 .ret_type = RET_PTR_TO_MEM_OR_BTF_ID | PTR_MAYBE_NULL | MEM_RDONLY,
1075 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
Dverifier.c477 return type & PTR_MAYBE_NULL; in type_may_be_null()
560 if (type & PTR_MAYBE_NULL) { in reg_type_str()
1385 reg->type &= ~PTR_MAYBE_NULL; in mark_ptr_not_null_reg()
3658 int perm_flags = PTR_MAYBE_NULL; in map_kptr_match_type()
3759 off_desc->kptr.btf_id, PTR_MAYBE_NULL | PTR_UNTRUSTED); in check_map_kptr_access()
5716 if (arg_type & PTR_MAYBE_NULL) in check_reg_type()
5717 type &= ~PTR_MAYBE_NULL; in check_reg_type()
7588 regs[BPF_REG_0].type |= PTR_MAYBE_NULL; in check_kfunc_call()
8064 if (ptr_reg->type & PTR_MAYBE_NULL) { in adjust_ptr_min_max_vals()
Dbtf.c5327 (flag & PTR_MAYBE_NULL)) { in btf_ctx_access()
6453 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in btf_prepare_func_args()
/linux-5.19.10/net/core/
Dbpf_sk_storage.c951 PTR_TO_BUF | PTR_MAYBE_NULL },
Dsock_map.c1651 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
Dfilter.c2022 .arg1_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2024 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2545 .arg2_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
/linux-5.19.10/kernel/trace/
Dbpf_trace.c461 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
503 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,