Lines Matching refs:len
169 int len;
172 if (get_user(len, optlen)) {
179 if (len < 0 || len + PAGE_SIZE - 1 < len || start + len < start) {
184 /* a 0 len call is just trying to probe its length */
185 if (len == 0)
188 nr_pages = (PAGE_ALIGN(start + len) - (start & PAGE_MASK))
206 rdsdebug("len %d nr_pages %lu\n", len, nr_pages);
219 func(sock, len, &iter, &lens);
226 if (total > len) {
227 len = total;
230 len = total;
234 if (put_user(len, optlen))