Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_attach_probe.c99 char data_long[20]; in verify_sleepable_user_copy_str() local
116 ret = bpf_copy_from_user_str(data_long, dynamic_sz & sizeof(data_long), user_ptr, 0); in verify_sleepable_user_copy_str()
121 ret = bpf_copy_from_user_str(data_long, sizeof(data_long), user_ptr, 0); in verify_sleepable_user_copy_str()
123 if (bpf_strncmp(data_long, 10, "test_data\0") != 0 || ret != 10) in verify_sleepable_user_copy_str()
131 …ret = bpf_copy_from_user_str(data_long_err, sizeof(data_long_err), (void *)data_long, BPF_F_PAD_ZE… in verify_sleepable_user_copy_str()
136 ret = bpf_copy_from_user_str(data_long, sizeof(data_long), user_ptr, 2); in verify_sleepable_user_copy_str()