Home
last modified time | relevance | path

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

/linux/lib/
H A Dtest_memcat_p.c18 #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/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c29 #define INPUT_MAX 80 macro
73 char input[INPUT_MAX]; in write_debugfs()
78 ret = vsnprintf(input, INPUT_MAX, fmt, argp); in write_debugfs()
81 if (ret >= INPUT_MAX) in write_debugfs()
281 char testfile[INPUT_MAX]; in split_file_backed_thp()
291 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp()
292 if (status >= INPUT_MAX) { in split_file_backed_thp()
438 char testfile[INPUT_MAX]; in split_thp_in_pagecache_to_order()
441 err = snprintf(testfile, INPUT_MAX, "%s/test", fs_loc); in split_thp_in_pagecache_to_order()