Searched refs:PTR_MAYBE_NULL (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/include/linux/ |
D | bpf.h | 575 PTR_MAYBE_NULL = BIT(0 + BPF_BASE_TYPE_BITS), enumerator 720 ARG_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MAP_VALUE, 721 ARG_PTR_TO_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MEM, 722 ARG_PTR_TO_CTX_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_CTX, 723 ARG_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_SOCKET, 724 ARG_PTR_TO_STACK_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_STACK, 725 ARG_PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_BTF_ID, 754 RET_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_MAP_VALUE, 755 RET_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_SOCKET, 756 RET_PTR_TO_TCP_SOCK_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_TCP_SOCK, [all …]
|
/Linux-v6.6/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 | 719 .ret_type = RET_PTR_TO_MEM_OR_BTF_ID | PTR_MAYBE_NULL | MEM_RDONLY, 1074 .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() 624 if (type & PTR_MAYBE_NULL) { in reg_type_str() 1075 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM) in destroy_if_dynptr_stack_slot() 1982 reg->type &= ~PTR_MAYBE_NULL; in mark_ptr_not_null_reg() 4995 perm_flags = PTR_MAYBE_NULL | PTR_TRUSTED | MEM_RCU; in map_kptr_match_type() 5001 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type() 5128 PTR_MAYBE_NULL | MEM_RCU : in check_map_kptr_access() 5129 PTR_MAYBE_NULL | PTR_UNTRUSTED); in check_map_kptr_access() 6252 flag |= MEM_RCU | PTR_MAYBE_NULL; in check_ptr_to_btf_access() 7827 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-v6.6/net/core/ |
D | bpf_sk_storage.c | 919 PTR_TO_BUF | PTR_MAYBE_NULL },
|
D | sock_map.c | 1703 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
|
D | filter.c | 2035 .arg1_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 2037 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 2568 .arg2_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 4996 .arg1_type = ARG_PTR_TO_BTF_ID_SOCK_COMMON | PTR_MAYBE_NULL,
|
/Linux-v6.6/kernel/trace/ |
D | bpf_trace.c | 453 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 497 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
|