Lines Matching defs:size
358 size_t size;
379 size = BBTOB(bp->b_length);
380 if (size < PAGE_SIZE) {
382 bp->b_addr = kmem_alloc_io(size, align_mask,
389 if (((unsigned long)(bp->b_addr + size - 1) & PAGE_MASK) !=
447 nbytes = min_t(size_t, size, PAGE_SIZE - offset);
448 size -= nbytes;
603 /* Check for IOs smaller than the sector size / not sector aligned */
1487 int size;
1499 * Limit the IO size to the length of the current vector, and update the
1502 size = min_t(int, BBTOB(bp->b_maps[map].bm_len), *count);
1503 *count -= size;
1504 *buf_offset += size;
1517 for (; size && nr_pages; nr_pages--, page_index++) {
1520 if (nbytes > size)
1521 nbytes = size;
1530 size -= nbytes;
1540 if (size)
1561 int size;
1612 * into the buffer and the desired IO size before we start -
1617 size = BBTOB(bp->b_length);
1620 xfs_buf_ioapply_map(bp, i, &offset, &size, op);
1623 if (size <= 0)
1961 /* Set up metadata sector size info */
1972 /* Set up device logical sector size mask */