Searched refs:PTR_MAYBE_NULL (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | bpf.h | 269 PTR_MAYBE_NULL = BIT(0 + BPF_BASE_TYPE_BITS), enumerator 329 ARG_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MAP_VALUE, 330 ARG_PTR_TO_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_MEM, 331 ARG_PTR_TO_CTX_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_CTX, 332 ARG_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_SOCKET, 333 ARG_PTR_TO_ALLOC_MEM_OR_NULL = PTR_MAYBE_NULL | ARG_PTR_TO_ALLOC_MEM, 356 RET_PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_MAP_VALUE, 357 RET_PTR_TO_SOCKET_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_SOCKET, 358 RET_PTR_TO_TCP_SOCK_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_TCP_SOCK, 359 RET_PTR_TO_SOCK_COMMON_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_SOCK_COMMON, [all …]
|
/kernel/linux/linux-5.10/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 | 639 .ret_type = RET_PTR_TO_MEM_OR_BTF_ID | PTR_MAYBE_NULL | MEM_RDONLY,
|
D | verifier.c | 432 return type & PTR_MAYBE_NULL; in type_may_be_null() 516 if (type & PTR_MAYBE_NULL) { in reg_type_str() 4483 if (arg_type & PTR_MAYBE_NULL) in check_reg_type() 4484 type &= ~PTR_MAYBE_NULL; in check_reg_type() 6105 if (ptr_reg->type & PTR_MAYBE_NULL) { in adjust_ptr_min_max_vals() 7853 reg->type &= ~PTR_MAYBE_NULL; in mark_ptr_or_null_reg()
|
D | btf.c | 4537 (flag & PTR_MAYBE_NULL)) { in btf_ctx_access()
|
/kernel/linux/linux-5.10/net/core/ |
D | bpf_sk_storage.c | 867 PTR_TO_BUF | PTR_MAYBE_NULL },
|
D | sock_map.c | 1631 PTR_TO_BUF | PTR_MAYBE_NULL | MEM_RDONLY },
|
D | filter.c | 2024 .arg1_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 2026 .arg3_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY, 2573 .arg2_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | bpf_trace.c | 759 .arg4_type = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
|