Lines Matching refs:size
116 * Don't impose further limits on the size and buffer
276 static void io_free_page_table(void **table, size_t size)
278 unsigned i, nr_tables = DIV_ROUND_UP(size, PAGE_SIZE);
287 size_t size = data->nr * sizeof(data->tags[0][0]);
290 io_free_page_table((void **)data->tags, size);
294 static __cold void **io_alloc_page_table(size_t size)
296 unsigned i, nr_tables = DIV_ROUND_UP(size, PAGE_SIZE);
297 size_t init_size = size;
305 unsigned int this_size = min_t(size_t, size, PAGE_SIZE);
312 size -= this_size;
509 unsigned size, unsigned type)
513 if (size != sizeof(up))
523 unsigned int size, unsigned int type)
528 if (size != sizeof(rr))
532 if (copy_from_user(&rr, arg, size))
812 * avoid double accounting it. This allows us to account the full size of the
921 size_t size;
975 size = iov->iov_len;
984 bvec_set_page(&imu->bvec[0], pages[0], size, off);
990 vec_len = min_t(size_t, size, PAGE_SIZE - off);
993 size -= vec_len;
1078 * Might not be a start of buffer, set size appropriately
1092 * 2) all bvecs are PAGE_SIZE in size, except potentially the