Searched refs:PTR_MAYBE_NULL (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/include/linux/ |
D | bpf.h | 584 PTR_MAYBE_NULL = BIT(0 + BPF_BASE_TYPE_BITS), enumerator 729 ARG_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MAP_VALUE, 730 ARG_PTR_TO_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MEM, 731 ARG_PTR_TO_CTX_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_CTX, 732 ARG_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_SOCKET, 733 ARG_PTR_TO_STACK_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_STACK, 734 ARG_PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_BTF_ID, 763 RET_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_MAP_VALUE, 764 RET_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_SOCKET, 765 RET_PTR_TO_TCP_SOCK_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_TCP_SOCK, [all …]
|
/linux-6.6.21/kernel/bpf/ |
D | map_iter.c | 176 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY }, 178 PTR_TO_BUF | PTR_MAYBE_NULL },
|
D | helpers.c | 722 .ret_type = RET_PTR_TO_MEM_OR_BTF_ID | PTR_MAYBE_NULL | MEM_RDONLY, 1077 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
|
D | verifier.c | 445 return type & PTR_MAYBE_NULL; in type_may_be_null() 635 if (type & PTR_MAYBE_NULL) { in reg_type_str() 1086 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM) in destroy_if_dynptr_stack_slot() 2197 reg->type &= ~PTR_MAYBE_NULL; in mark_ptr_not_null_reg() 5239 perm_flags = PTR_MAYBE_NULL | PTR_TRUSTED | MEM_RCU; in map_kptr_match_type() 5245 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type() 5372 PTR_MAYBE_NULL | MEM_RCU : in check_map_kptr_access() 5373 PTR_MAYBE_NULL | PTR_UNTRUSTED); in check_map_kptr_access() 6482 flag |= MEM_RCU | PTR_MAYBE_NULL; in check_ptr_to_btf_access() 8163 if (arg_type & PTR_MAYBE_NULL) in check_reg_type() [all …]
|
D | btf.c | 6035 (flag & PTR_MAYBE_NULL)) { in btf_ctx_access() 7049 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in btf_prepare_func_args()
|
/linux-6.6.21/net/core/ |
D | bpf_sk_storage.c | 919 PTR_TO_BUF | PTR_MAYBE_NULL },
|
D | sock_map.c | 1705 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
|
D | filter.c | 2037 .arg1_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 2039 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 2571 .arg2_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 5049 .arg1_type = ARG_PTR_TO_BTF_ID_SOCK_COMMON | PTR_MAYBE_NULL,
|
/linux-6.6.21/kernel/trace/ |
D | bpf_trace.c | 456 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 500 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
|