Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dstring_kfuncs_success.c15 __test(0) int test_strcasecmp_eq1(void *ctx) { return bpf_strcasecmp(str, "hello world"); } in test_strcasecmp_eq1()
16 __test(0) int test_strcasecmp_eq2(void *ctx) { return bpf_strcasecmp(str, "HELLO WORLD"); } in test_strcasecmp_eq2()
17 __test(0) int test_strcasecmp_eq3(void *ctx) { return bpf_strcasecmp(str, "HELLO world"); } in test_strcasecmp_eq3()
18 __test(1) int test_strcasecmp_neq1(void *ctx) { return bpf_strcasecmp(str, "hello"); } in test_strcasecmp_neq1()
19 __test(1) int test_strcasecmp_neq2(void *ctx) { return bpf_strcasecmp(str, "HELLO"); } in test_strcasecmp_neq2()
/linux/kernel/bpf/
H A Dhelpers.c3470 __bpf_kfunc int bpf_strcasecmp(const char *s1__ign, const char *s2__ign) in bpf_strcasecmp() function
4523 BTF_ID_FLAGS(func, bpf_strcasecmp);