Searched refs:long_str (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | string_kfuncs_failure2.c | 7 char long_str[XATTR_SIZE_MAX + 1]; variable 9 SEC("syscall") int test_strcmp_too_long(void *ctx) { return bpf_strcmp(long_str, long_str); } in test_strcmp_too_long() 10 SEC("syscall") int test_strcasecmp_too_long(void *ctx) { return bpf_strcasecmp(long_str, long_str); } in test_strcasecmp_too_long() 11 SEC("syscall") int test_strncasecmp_too_long(void *ctx) { return bpf_strncasecmp(long_str, long_str, sizeof(long_str)); } in test_strchr_too_long() 12 SEC("syscall") int test_strchr_too_long(void *ctx) { return bpf_strchr(long_str, 'b'); } in test_strchrnul_too_long() 13 SEC("syscall") int test_strchrnul_too_long(void *ctx) { return bpf_strchrnul(long_str, ' in test_strchrnul_too_long() [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | string_kfuncs.c | 40 memset(skel->bss->long_str, 'a', sizeof(skel->bss->long_str)); in run_too_long_tests()
|
| /linux/fs/hfsplus/ |
| H A D | unicode_test.c | 1434 char *long_str; in hfsplus_compare_dentry_edge_cases_test() local 1450 long_str = kzalloc(str_size, GFP_KERNEL); in hfsplus_compare_dentry_edge_cases_test() 1451 KUNIT_ASSERT_NOT_NULL(test, long_str); in hfsplus_compare_dentry_edge_cases_test() 1457 memset(long_str, 'a', str_size - 1); in hfsplus_compare_dentry_edge_cases_test() 1458 long_str[str_size - 1] = '\0'; in hfsplus_compare_dentry_edge_cases_test() 1460 create_qstr(&name, long_str); in hfsplus_compare_dentry_edge_cases_test() 1462 long_str, &name); in hfsplus_compare_dentry_edge_cases_test() 1471 long_str, &name); in hfsplus_compare_dentry_edge_cases_test() 1492 kfree(long_str); in hfsplus_compare_dentry_edge_cases_test()
|