Searched refs:PTR_MAYBE_NULL (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/include/linux/ |
D | bpf.h | 416 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/ |
D | map_iter.c | 177 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY }, 179 PTR_TO_BUF | PTR_MAYBE_NULL },
|
D | helpers.c | 710 .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,
|
D | verifier.c | 474 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()
|
D | btf.c | 5468 (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/ |
D | bpf_sk_storage.c | 951 PTR_TO_BUF | PTR_MAYBE_NULL },
|
D | sock_map.c | 1675 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
|
D | filter.c | 2023 .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/ |
D | bpf_trace.c | 463 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 505 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
|