• Home
  • Raw
  • Download

Lines Matching refs:bytes

904 void bio_advance(struct bio *bio, unsigned bytes)  in bio_advance()  argument
907 bio_integrity_advance(bio, bytes); in bio_advance()
909 bio_advance_iter(bio, &bio->bi_iter, bytes); in bio_advance()
958 unsigned bytes; in bio_copy_data() local
983 bytes = min(src_bv.bv_len, dst_bv.bv_len); in bio_copy_data()
990 bytes); in bio_copy_data()
995 bio_advance_iter(src, &src_iter, bytes); in bio_copy_data()
996 bio_advance_iter(dst, &dst_iter, bytes); in bio_copy_data()
1194 unsigned int bytes = PAGE_SIZE; in bio_copy_user_iov() local
1196 bytes -= offset; in bio_copy_user_iov()
1198 if (bytes > len) in bio_copy_user_iov()
1199 bytes = len; in bio_copy_user_iov()
1219 if (bio_add_pc_page(q, bio, page, bytes, offset) < bytes) { in bio_copy_user_iov()
1225 len -= bytes; in bio_copy_user_iov()
1331 unsigned int bytes = PAGE_SIZE - offset; in bio_map_user_iov() local
1337 if (bytes > len) in bio_map_user_iov()
1338 bytes = len; in bio_map_user_iov()
1343 if (bio_add_pc_page(q, bio, pages[j], bytes, offset) < in bio_map_user_iov()
1344 bytes) in bio_map_user_iov()
1354 len -= bytes; in bio_map_user_iov()
1460 unsigned int bytes = PAGE_SIZE - offset; in bio_map_kern() local
1465 if (bytes > len) in bio_map_kern()
1466 bytes = len; in bio_map_kern()
1468 if (bio_add_pc_page(q, bio, virt_to_page(data), bytes, in bio_map_kern()
1469 offset) < bytes) { in bio_map_kern()
1475 data += bytes; in bio_map_kern()
1476 len -= bytes; in bio_map_kern()
1539 unsigned int bytes = PAGE_SIZE; in bio_copy_kern() local
1541 if (bytes > len) in bio_copy_kern()
1542 bytes = len; in bio_copy_kern()
1549 memcpy(page_address(page), p, bytes); in bio_copy_kern()
1551 if (bio_add_pc_page(q, bio, page, bytes, 0) < bytes) in bio_copy_kern()
1554 len -= bytes; in bio_copy_kern()
1555 p += bytes; in bio_copy_kern()