Home
last modified time | relevance | path

Searched refs:test_strchr_null (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dstring_kfuncs_success.c16 __test(11) int test_strchr_null(void *ctx) { return bpf_strchr(str, '\0'); } in test_strchr_null() function
H A Dstring_kfuncs_failure1.c34 SEC("syscall") __retval(USER_PTR_ERR)int test_strchr_null(void *ctx) { return bpf_strchr(NULL, 'a'… in __retval()