Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dbpf.h416 PTR_MAYBE_NULL = BIT(0 + BPF_BASE_TYPE_BITS), enumerator
513 ARG_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MAP_VALUE,
514 ARG_PTR_TO_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MEM,
515 ARG_PTR_TO_CTX_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_CTX,
516 ARG_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_SOCKET,
517 ARG_PTR_TO_ALLOC_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_ALLOC_MEM,
518 ARG_PTR_TO_STACK_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_STACK,
519 ARG_PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_BTF_ID,
548 RET_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_MAP_VALUE,
549 RET_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_SOCKET,
[all …]
/linux-6.1.9/kernel/bpf/
Dmap_iter.c177 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
179 PTR_TO_BUF | PTR_MAYBE_NULL },
Dhelpers.c710 .ret_type = RET_PTR_TO_MEM_OR_BTF_ID | PTR_MAYBE_NULL | MEM_RDONLY,
1054 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
Dverifier.c474 return type & PTR_MAYBE_NULL; in type_may_be_null()
569 if (type & PTR_MAYBE_NULL) { in reg_type_str()
1420 reg->type &= ~PTR_MAYBE_NULL; in mark_ptr_not_null_reg()
3706 int perm_flags = PTR_MAYBE_NULL; in map_kptr_match_type()
3807 off_desc->kptr.btf_id, PTR_MAYBE_NULL | PTR_UNTRUSTED); in check_map_kptr_access()
5790 if (arg_type & PTR_MAYBE_NULL) in check_reg_type()
5791 type &= ~PTR_MAYBE_NULL; in check_reg_type()
7791 regs[BPF_REG_0].type |= PTR_MAYBE_NULL; in check_kfunc_call()
8262 if (ptr_reg->type & PTR_MAYBE_NULL) { in adjust_ptr_min_max_vals()
Dbtf.c5473 (flag & PTR_MAYBE_NULL)) { in btf_ctx_access()
6769 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in btf_prepare_func_args()
/linux-6.1.9/net/core/
Dbpf_sk_storage.c951 PTR_TO_BUF | PTR_MAYBE_NULL },
Dsock_map.c1677 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
Dfilter.c2024 .arg1_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2026 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2556 .arg2_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
/linux-6.1.9/kernel/trace/
Dbpf_trace.c463 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
505 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,