Searched refs:INPUT_MAX (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/lib/ |
D | test_memcat_p.c | 18 #define INPUT_MAX 128 macro 20 #define EXPECT (INPUT_MAX * 2 - 2) 27 in0 = kcalloc(INPUT_MAX, sizeof(*in0), GFP_KERNEL); in test_memcat_p_init() 31 in1 = kcalloc(INPUT_MAX, sizeof(*in1), GFP_KERNEL); in test_memcat_p_init() 35 for (i = 0, r = 1; i < INPUT_MAX - 1; i++) { in test_memcat_p_init() 61 for (i = 0, p = out; *p && (i < INPUT_MAX * 2 - 1); p++, i++) { in test_memcat_p_init() 82 for (i = 0; i < INPUT_MAX - 1; i++) in test_memcat_p_init() 83 if (out[i] != in0[i] || out[i + INPUT_MAX - 1] != in1[i]) { in test_memcat_p_init() 94 i = INPUT_MAX; in test_memcat_p_init()
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | split_huge_page_test.c | 26 #define INPUT_MAX 80 macro 72 char input[INPUT_MAX]; in write_debugfs() 77 ret = vsnprintf(input, INPUT_MAX, fmt, argp); in write_debugfs() 80 if (ret >= INPUT_MAX) { in write_debugfs() 238 char testfile[INPUT_MAX]; in split_file_backed_thp() 250 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp() 251 if (status >= INPUT_MAX) { in split_file_backed_thp()
|