Lines Matching refs:left
58 size_t left, len;
65 left = *lenp;
68 if (!access_ok(VERIFY_READ, buffer, left))
71 while (left && __get_user(c, p) >= 0 && isspace(c))
72 left--, p++;
73 if (!left)
76 if (left > sizeof(tmpbuf) - 1)
78 if (copy_from_user(tmpbuf, p, left))
80 tmpbuf[left] = '\0';
82 for (s = tmpbuf, value = 0; '0' <= *s && *s <= '9'; s++, left--)
86 while (left && isspace(*s))
87 left--, s++;
94 if (!access_ok(VERIFY_WRITE, buffer, left))
97 if (len > left)
98 len = left;
101 if ((left -= len) > 0) {
104 left--;
109 *lenp -= left;