Lines Matching refs:size
145 struct page *page, unsigned long index, int size)
153 u32 iosize = roundup(size, bdev_logical_block_size(rdev->bdev));
232 unsigned int size = PAGE_SIZE;
243 size = roundup(last_page_size, bdev_logical_block_size(bdev));
244 opt_size = optimal_io_size(bdev, last_page_size, size);
258 size = bitmap_io_size(size, opt_size, offset + ps, 0);
259 if (size == 0)
268 size = bitmap_io_size(size, opt_size, sboff + ps, doff);
269 if (size == 0)
276 md_super_write(mddev, rdev, sboff + ps, (int) size, page);
538 pr_debug(" sync size: %llu KB\n",
597 /* keep the array size field of the bitmap superblock up to date */
707 /* keep the array size field of the bitmap superblock up to date */
2130 /* If chunk_size is 0, choose an appropriate chunk size.
2156 /* If there is enough space, leave the chunk size unchanged,
2164 * to current size - in sectors.
2175 /* 'chunkshift' is shift from block size to chunk size */