/fs/9p/ |
D | vfs_addr.c | 42 struct bio_vec bvec = {.bv_page = page, .bv_len = PAGE_SIZE}; in v9fs_fid_readpage() local 54 iov_iter_bvec(&to, READ, &bvec, 1, PAGE_SIZE); in v9fs_fid_readpage() 154 struct bio_vec bvec; in v9fs_vfs_writepage_locked() local 162 bvec.bv_page = page; in v9fs_vfs_writepage_locked() 163 bvec.bv_offset = 0; in v9fs_vfs_writepage_locked() 164 bvec.bv_len = len; in v9fs_vfs_writepage_locked() 165 iov_iter_bvec(&from, WRITE, &bvec, 1, len); in v9fs_vfs_writepage_locked()
|
/fs/btrfs/ |
D | file-item.c | 155 struct bio_vec bvec; in __btrfs_lookup_bio_sums() local 211 bio_for_each_segment(bvec, bio, iter) { in __btrfs_lookup_bio_sums() 212 page_bytes_left = bvec.bv_len; in __btrfs_lookup_bio_sums() 217 offset = page_offset(bvec.bv_page) + bvec.bv_offset; in __btrfs_lookup_bio_sums() 442 struct bio_vec bvec; in btrfs_csum_one_bio() local 473 bio_for_each_segment(bvec, bio, iter) { in btrfs_csum_one_bio() 475 offset = page_offset(bvec.bv_page) + bvec.bv_offset; in btrfs_csum_one_bio() 483 bvec.bv_len + fs_info->sectorsize in btrfs_csum_one_bio() 515 data = kmap_atomic(bvec.bv_page); in btrfs_csum_one_bio() 516 crypto_shash_update(shash, data + bvec.bv_offset in btrfs_csum_one_bio()
|
D | compression.c | 186 struct bio_vec *bvec; in end_compressed_bio_read() local 194 bio_for_each_segment_all(bvec, cb->orig_bio, iter_all) in end_compressed_bio_read() 195 SetPageChecked(bvec->bv_page); in end_compressed_bio_read() 1134 struct bio_vec bvec = bio_iter_iovec(bio, bio->bi_iter); in btrfs_decompress_buf2page() local 1140 start_byte = page_offset(bvec.bv_page) - disk_start; in btrfs_decompress_buf2page() 1160 bytes = min_t(unsigned long, bvec.bv_len, in btrfs_decompress_buf2page() 1164 kaddr = kmap_atomic(bvec.bv_page); in btrfs_decompress_buf2page() 1165 memcpy(kaddr + bvec.bv_offset, buf + buf_offset, bytes); in btrfs_decompress_buf2page() 1167 flush_dcache_page(bvec.bv_page); in btrfs_decompress_buf2page() 1177 bvec = bio_iter_iovec(bio, bio->bi_iter); in btrfs_decompress_buf2page() [all …]
|
D | extent_io.c | 2646 struct bio_vec *bvec; in end_bio_extent_writepage() local 2652 bio_for_each_segment_all(bvec, bio, iter_all) { in end_bio_extent_writepage() 2653 struct page *page = bvec->bv_page; in end_bio_extent_writepage() 2662 if (bvec->bv_offset || bvec->bv_len != PAGE_SIZE) { in end_bio_extent_writepage() 2663 if (bvec->bv_offset + bvec->bv_len != PAGE_SIZE) in end_bio_extent_writepage() 2666 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2670 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2674 end = start + bvec->bv_offset + bvec->bv_len - 1; in end_bio_extent_writepage() 2708 struct bio_vec *bvec; in end_bio_extent_readpage() local 2723 bio_for_each_segment_all(bvec, bio, iter_all) { in end_bio_extent_readpage() [all …]
|
D | check-integrity.c | 2807 struct bio_vec bvec; in __btrfsic_submit_bio() local 2828 bio_for_each_segment(bvec, bio, iter) { in __btrfsic_submit_bio() 2829 BUG_ON(bvec.bv_len != PAGE_SIZE); in __btrfsic_submit_bio() 2830 mapped_datav[i] = kmap(bvec.bv_page); in __btrfsic_submit_bio() 2836 i, cur_bytenr, bvec.bv_len, bvec.bv_offset); in __btrfsic_submit_bio() 2837 cur_bytenr += bvec.bv_len; in __btrfsic_submit_bio() 2843 bio_for_each_segment(bvec, bio, iter) in __btrfsic_submit_bio() 2844 kunmap(bvec.bv_page); in __btrfsic_submit_bio()
|
D | raid56.c | 1176 struct bio_vec bvec; in index_rbio_pages() local 1187 bio_for_each_segment(bvec, bio, iter) { in index_rbio_pages() 1188 rbio->bio_pages[page_index + i] = bvec.bv_page; in index_rbio_pages() 1479 struct bio_vec *bvec; in set_bio_pages_uptodate() local 1484 bio_for_each_segment_all(bvec, bio, iter_all) in set_bio_pages_uptodate() 1485 SetPageUptodate(bvec->bv_page); in set_bio_pages_uptodate()
|
D | inode.c | 8148 struct bio_vec bvec; in dio_read_error() local 8164 bio_get_first_bvec(failed_bio, &bvec); in dio_read_error() 8166 (bvec.bv_len > btrfs_inode_sectorsize(inode))) in dio_read_error() 8199 struct bio_vec *bvec; in btrfs_retry_endio_nocsum() local 8213 bio_for_each_segment_all(bvec, bio, iter_all) in btrfs_retry_endio_nocsum() 8215 io_tree, done->start, bvec->bv_page, in btrfs_retry_endio_nocsum() 8226 struct bio_vec bvec; in __btrfs_correct_data_nocsum() local 8243 bio_for_each_segment(bvec, &io_bio->bio, iter) { in __btrfs_correct_data_nocsum() 8244 nr_sectors = BTRFS_BYTES_TO_BLKS(fs_info, bvec.bv_len); in __btrfs_correct_data_nocsum() 8245 pgoff = bvec.bv_offset; in __btrfs_correct_data_nocsum() [all …]
|
D | disk-io.c | 841 struct bio_vec *bvec; in btree_csum_one_bio() local 847 bio_for_each_segment_all(bvec, bio, iter_all) { in btree_csum_one_bio() 848 root = BTRFS_I(bvec->bv_page->mapping->host)->root; in btree_csum_one_bio() 849 ret = csum_dirty_buffer(root->fs_info, bvec->bv_page); in btree_csum_one_bio()
|
/fs/gfs2/ |
D | lops.c | 171 struct bio_vec *bvec, in gfs2_end_log_write_bh() argument 175 struct page *page = bvec->bv_page; in gfs2_end_log_write_bh() 179 size = bvec->bv_len; in gfs2_end_log_write_bh() 180 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh() 206 struct bio_vec *bvec; in gfs2_end_log_write() local 216 bio_for_each_segment_all(bvec, bio, iter_all) { in gfs2_end_log_write() 217 page = bvec->bv_page; in gfs2_end_log_write() 219 gfs2_end_log_write_bh(sdp, bvec, bio->bi_status); in gfs2_end_log_write() 387 struct bio_vec *bvec; in gfs2_end_log_read() local 390 bio_for_each_segment_all(bvec, bio, iter_all) { in gfs2_end_log_read() [all …]
|
D | meta_io.c | 188 struct bio_vec *bvec; in gfs2_meta_read_endio() local 191 bio_for_each_segment_all(bvec, bio, iter_all) { in gfs2_meta_read_endio() 192 struct page *page = bvec->bv_page; in gfs2_meta_read_endio() 194 unsigned int len = bvec->bv_len; in gfs2_meta_read_endio() 196 while (bh_offset(bh) < bvec->bv_offset) in gfs2_meta_read_endio()
|
/fs/ext4/ |
D | page-io.c | 64 struct bio_vec *bvec; in ext4_finish_bio() local 67 bio_for_each_segment_all(bvec, bio, iter_all) { in ext4_finish_bio() 68 struct page *page = bvec->bv_page; in ext4_finish_bio() 71 unsigned bio_start = bvec->bv_offset; in ext4_finish_bio() 72 unsigned bio_end = bio_start + bvec->bv_len; in ext4_finish_bio()
|
/fs/iomap/ |
D | buffered-io.c | 168 iomap_read_page_end_io(struct bio_vec *bvec, int error) in iomap_read_page_end_io() argument 170 struct page *page = bvec->bv_page; in iomap_read_page_end_io() 177 iomap_set_range_uptodate(page, bvec->bv_offset, bvec->bv_len); in iomap_read_page_end_io() 187 struct bio_vec *bvec; in iomap_read_end_io() local 190 bio_for_each_segment_all(bvec, bio, iter_all) in iomap_read_end_io() 191 iomap_read_page_end_io(bvec, error); in iomap_read_end_io() 550 struct bio_vec bvec; in iomap_read_page_sync() local 559 bio_init(&bio, &bvec, 1); in iomap_read_page_sync()
|
/fs/xfs/ |
D | xfs_aops.c | 61 struct bio_vec *bvec, in xfs_finish_page_writeback() argument 64 struct iomap_page *iop = to_iomap_page(bvec->bv_page); in xfs_finish_page_writeback() 67 SetPageError(bvec->bv_page); in xfs_finish_page_writeback() 75 end_page_writeback(bvec->bv_page); in xfs_finish_page_writeback() 95 struct bio_vec *bvec; in xfs_destroy_ioend() local 108 bio_for_each_segment_all(bvec, bio, iter_all) in xfs_destroy_ioend() 109 xfs_finish_page_writeback(inode, bvec, error); in xfs_destroy_ioend()
|
/fs/erofs/ |
D | data.c | 14 struct bio_vec *bvec; in erofs_readendio() local 18 bio_for_each_segment_all(bvec, bio, iter_all) { in erofs_readendio() 19 struct page *page = bvec->bv_page; in erofs_readendio()
|
D | zdata.c | 726 struct bio_vec *bvec; in z_erofs_vle_read_endio() local 729 bio_for_each_segment_all(bvec, bio, iter_all) { in z_erofs_vle_read_endio() 730 struct page *page = bvec->bv_page; in z_erofs_vle_read_endio()
|
/fs/ |
D | io_uring.c | 161 struct bio_vec *bvec; member 1220 iov_iter_bvec(iter, rw, imu->bvec, imu->nr_bvecs, offset + len); in io_import_fixed() 1239 const struct bio_vec *bvec = imu->bvec; in io_import_fixed() local 1241 if (offset < bvec->bv_len) { in io_import_fixed() 1247 offset -= bvec->bv_len; in io_import_fixed() 1250 iter->bvec = bvec + seg_skip; in io_import_fixed() 1252 iter->count -= bvec->bv_len + offset; in io_import_fixed() 1375 iovec.iov_base = kmap(iter->bvec->bv_page) in loop_rw_iter() 1378 iter->bvec->bv_len - iter->iov_offset); in loop_rw_iter() 1390 kunmap(iter->bvec->bv_page); in loop_rw_iter() [all …]
|
/fs/cifs/ |
D | transport.c | 402 struct bio_vec bvec; in __smb_send_rqst() local 404 bvec.bv_page = rqst[j].rq_pages[i]; in __smb_send_rqst() 405 rqst_page_get_length(&rqst[j], i, &bvec.bv_len, in __smb_send_rqst() 406 &bvec.bv_offset); in __smb_send_rqst() 409 &bvec, 1, bvec.bv_len); in __smb_send_rqst()
|
D | smb2ops.c | 3960 struct bio_vec *bvec; in init_read_bvec() local 3963 bvec = kcalloc(npages, sizeof(struct bio_vec), GFP_KERNEL); in init_read_bvec() 3964 if (!bvec) in init_read_bvec() 3968 bvec[i].bv_page = pages[i]; in init_read_bvec() 3969 bvec[i].bv_offset = (i == 0) ? cur_off : 0; in init_read_bvec() 3970 bvec[i].bv_len = min_t(unsigned int, PAGE_SIZE, data_size); in init_read_bvec() 3971 data_size -= bvec[i].bv_len; in init_read_bvec() 3976 kfree(bvec); in init_read_bvec() 3980 *page_vec = bvec; in init_read_bvec() 3997 struct bio_vec *bvec = NULL; in handle_read_data() local [all …]
|
D | smbdirect.c | 2056 page = msg->msg_iter.bvec->bv_page; in smbd_recv() 2057 page_offset = msg->msg_iter.bvec->bv_offset; in smbd_recv() 2058 to_read = msg->msg_iter.bvec->bv_len; in smbd_recv()
|
/fs/afs/ |
D | yfsclient.c | 472 call->bvec[0].bv_len = size; in yfs_deliver_fs_fetch_data64() 473 call->bvec[0].bv_offset = req->offset; in yfs_deliver_fs_fetch_data64() 474 call->bvec[0].bv_page = req->pages[req->index]; in yfs_deliver_fs_fetch_data64() 475 iov_iter_bvec(&call->iter, READ, call->bvec, 1, size); in yfs_deliver_fs_fetch_data64() 487 req->remain -= call->bvec[0].bv_len; in yfs_deliver_fs_fetch_data64() 488 req->offset += call->bvec[0].bv_len; in yfs_deliver_fs_fetch_data64()
|
D | fsclient.c | 363 call->bvec[0].bv_len = size; in afs_deliver_fs_fetch_data() 364 call->bvec[0].bv_offset = req->offset; in afs_deliver_fs_fetch_data() 365 call->bvec[0].bv_page = req->pages[req->index]; in afs_deliver_fs_fetch_data() 366 iov_iter_bvec(&call->iter, READ, call->bvec, 1, size); in afs_deliver_fs_fetch_data() 378 req->remain -= call->bvec[0].bv_len; in afs_deliver_fs_fetch_data() 379 req->offset += call->bvec[0].bv_len; in afs_deliver_fs_fetch_data()
|
D | internal.h | 122 struct bio_vec bvec[1]; member
|
/fs/f2fs/ |
D | data.c | 339 struct bio_vec *bvec; in f2fs_write_end_io() local 347 bio_for_each_segment_all(bvec, bio, iter_all) { in f2fs_write_end_io() 348 struct page *page = bvec->bv_page; in f2fs_write_end_io() 599 struct bio_vec *bvec; in __has_merged_page() local 608 bio_for_each_segment_all(bvec, bio, iter_all) { in __has_merged_page() 609 struct page *target = bvec->bv_page; in __has_merged_page()
|