Lines Matching refs:elen
44 do_test(int bufsize, const char *expect, int elen, in do_test() argument
57 if (ret != elen) { in do_test()
59 bufsize, fmt, ret, elen); in do_test()
72 written = min(bufsize-1, elen); in do_test()
88 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument
94 BUG_ON(elen >= BUF_SIZE); in __test()
104 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
105 rand = 1 + prandom_u32_max(elen+1); in __test()
107 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
108 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
112 if (memcmp(p, expect, elen+1)) { in __test()