Lines Matching refs:size
329 size_t size = BBTOB(bp->b_length);
335 bp->b_addr = kmem_alloc(size, kmflag_mask);
339 if (((unsigned long)(bp->b_addr + size - 1) & PAGE_MASK) !=
523 /* Check for IOs smaller than the sector size / not sector aligned */
1466 int size;
1478 * Limit the IO size to the length of the current vector, and update the
1481 size = min_t(int, BBTOB(bp->b_maps[map].bm_len), *count);
1482 *count -= size;
1483 *buf_offset += size;
1494 for (; size && nr_pages; nr_pages--, page_index++) {
1497 if (nbytes > size)
1498 nbytes = size;
1507 size -= nbytes;
1517 if (size)
1538 int size;
1590 * into the buffer and the desired IO size before we start -
1595 size = BBTOB(bp->b_length);
1598 xfs_buf_ioapply_map(bp, i, &offset, &size, op);
1601 if (size <= 0)
1968 /* Set up metadata sector size info */
1979 /* Set up device logical sector size mask */