Home
last modified time | relevance | path

Searched full:nullable (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
Dverifier_global_ptr_args.c80 struct task_struct *nullable; in trusted_task_arg_nonnull_fail2() local
83 nullable = bpf_task_acquire(t); in trusted_task_arg_nonnull_fail2()
86 res = subprog_trusted_task_nonnull(nullable); in trusted_task_arg_nonnull_fail2()
88 if (nullable) in trusted_task_arg_nonnull_fail2()
89 bpf_task_release(nullable); in trusted_task_arg_nonnull_fail2()
Ddummy_st_ops_success.c14 /* Check that 'state' nullable status is detected correctly. in BPF_PROG()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
Dtest_struct_ops_maybe_null.c8 /* Test that the verifier accepts a program that access a nullable pointer
22 /* Test that the verifier rejects a program that access a nullable pointer
Ddummy_st_ops.c150 /* dummy_st_ops.test_sleepable() parameter is not marked as nullable,
/linux-6.15/tools/testing/selftests/bpf/test_kmods/
Dbpf_testmod.h37 /* Used to test nullable arguments. */
/linux-6.15/net/bpf/
Dbpf_dummy_struct_ops.c94 * - zero should not be passed for pointer parameters not marked as nullable.
/linux-6.15/kernel/bpf/
Dbpf_struct_ops.c151 /* Prepare argument info for every nullable argument of a member of a
225 /* Prepare info for every nullable argument */ in prepare_arg_info()
Dbtf.c7747 } else if (strcmp(tag, "nullable") == 0) { in btf_prepare_func_args()
/linux-6.15/tools/lib/bpf/
Dbpf_helpers.h208 #define __arg_nullable __attribute((btf_decl_tag("arg:nullable")))