Searched refs:bpf_strlen (Results 1 – 4 of 4) sorted by relevance
42 SEC("syscall") __retval(USER_PTR_ERR)int test_strlen_null(void *ctx) { return bpf_strlen(NULL); } in __retval() 68 SEC("syscall") __retval(USER_PTR_ERR) int test_strlen_user_ptr(void *ctx) { return bpf_strlen(user_ptr); }96 SEC("syscall") __retval(-EFAULT) int test_strlen_pagefault(void *ctx) { return bpf_strlen(invalid_kern_ptr); }
16 SEC("syscall") int test_strlen_too_long(void *ctx) { return bpf_strlen(long_str); } in test_strspn_str_too_long()
38 __test(11) int test_strlen(void *ctx) { return bpf_strlen(str); } in test_strnstr_found1()
3736 __bpf_kfunc int bpf_strlen(const char *s__ign) in bpf_strlen() function4670 BTF_ID_FLAGS(func, bpf_strlen);