Lines Matching defs:count
18 * @count: Size of destination buffer, argument to strscpy_pad()
29 static int __init tc(char *src, int count, int expected,
50 max_expected = count - 1; /* Space for the null */
51 if (count > max_count) {
52 pr_err("count (%d) is too big (%d) ... aborting", count, max_count);
60 written = strscpy_pad(buf, src, count);
66 if (count && written == -E2BIG) {
67 if (strncmp(buf, src, count - 1) != 0) {
71 if (buf[count - 1] != '\0') {
85 if (buf[count - 1] != '\0') {
120 * strings up to a maximum of 4 characters long and 'count'
125 /* tc(src, count, expected, chars, terminator, pad) */