Lines Matching defs:expected
19 * @expected: Expected return value from call to strscpy_pad()
21 * @chars: Number of characters from the src string expected to be
23 * @pad: Number of pad characters expected (in the tail of dst buffer).
29 static int __init tc(char *src, int count, int expected,
55 if (expected > max_expected) {
56 pr_warn("expected (%d) is bigger than can possibly be returned (%d)",
57 expected, max_expected);
61 if ((written) != (expected)) {
62 pr_err("%d != %d (written, expected)\n", written, expected);
125 /* tc(src, count, expected, chars, terminator, pad) */