Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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()
1416 reg->type &= ~PTR_MAYBE_NULL; in mark_ptr_not_null_reg()
3690 int perm_flags = PTR_MAYBE_NULL; in map_kptr_match_type()
3791 off_desc->kptr.btf_id, PTR_MAYBE_NULL | PTR_UNTRUSTED); in check_map_kptr_access()
5773 if (arg_type & PTR_MAYBE_NULL) in check_reg_type()
5774 type &= ~PTR_MAYBE_NULL; in check_reg_type()
7774 regs[BPF_REG_0].type |= PTR_MAYBE_NULL; in check_kfunc_call()
8245 if (ptr_reg->type & PTR_MAYBE_NULL) { in adjust_ptr_min_max_vals()
Dbtf.c5468 (flag & PTR_MAYBE_NULL)) { in btf_ctx_access()
6764 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in btf_prepare_func_args()
/Linux-v6.1/net/core/
Dbpf_sk_storage.c951 PTR_TO_BUF | PTR_MAYBE_NULL },
Dsock_map.c1675 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
Dfilter.c2023 .arg1_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2025 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
2546 .arg2_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
/Linux-v6.1/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,