Home
last modified time | relevance | path

Searched refs:bio_offset (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/fs/btrfs/
Dfile-item.c356 u32 bio_offset = 0; in btrfs_lookup_bio_sums() local
407 while (bio_offset < orig_len) { in btrfs_lookup_bio_sums()
409 u64 cur_disk_bytenr = orig_disk_bytenr + bio_offset; in btrfs_lookup_bio_sums()
411 (bio_offset >> fs_info->sectorsize_bits) * csum_size; in btrfs_lookup_bio_sums()
414 orig_len - bio_offset, csum_dst); in btrfs_lookup_bio_sums()
439 u64 file_offset = bbio->file_offset + bio_offset; in btrfs_lookup_bio_sums()
450 bio_offset += count * sectorsize; in btrfs_lookup_bio_sums()
Dbio.c234 u32 bio_offset, in repair_one_sector() argument
248 failed_bbio->file_offset + bio_offset); in repair_one_sector()
274 repair_bbio->file_offset = failed_bbio->file_offset + bio_offset; in repair_one_sector()
Dextent_io.c594 u32 bio_offset = 0; in end_bio_extent_readpage() local
661 ASSERT(bio_offset + len > bio_offset); in end_bio_extent_readpage()
662 bio_offset += len; in end_bio_extent_readpage()
1613 u32 bio_offset = 0; in extent_buffer_write_end_io() local
1619 u64 start = eb->start + bio_offset; in extent_buffer_write_end_io()
1624 bio_offset += len; in extent_buffer_write_end_io()
3870 u32 bio_offset = 0; in extent_buffer_read_end_io() local
3886 u64 start = eb->start + bio_offset; in extent_buffer_read_end_io()
3895 bio_offset += len; in extent_buffer_read_end_io()
Dbtrfs_inode.h414 u32 bio_offset, struct bio_vec *bv);
Dinode.c3269 u32 bio_offset, struct bio_vec *bv) in btrfs_data_csum_ok() argument
3273 u64 file_offset = bbio->file_offset + bio_offset; in btrfs_data_csum_ok()
3292 csum_expected = bbio->csum + (bio_offset >> fs_info->sectorsize_bits) * in btrfs_data_csum_ok()
/Linux-v6.6/fs/jfs/
Djfs_metapage.c352 unsigned long bio_offset = 0; in metapage_writepage() local
392 if (bio_add_page(bio, page, bio_bytes, bio_offset) < in metapage_writepage()
426 bio_offset = offset; in metapage_writepage()
433 if (bio_add_page(bio, page, bio_bytes, bio_offset) < bio_bytes) in metapage_writepage()
/Linux-v6.6/drivers/mtd/
Dmtd_blkdevs.c67 buf = kmap(bio_page(req->bio)) + bio_offset(req->bio); in do_blktrans_request()
86 buf = kmap(bio_page(req->bio)) + bio_offset(req->bio); in do_blktrans_request()
/Linux-v6.6/include/linux/
Dbio.h36 #define bio_offset(bio) bio_iter_offset((bio), (bio)->bi_iter) macro
76 return page_address(bio_page(bio)) + bio_offset(bio); in bio_data()
/Linux-v6.6/drivers/cdrom/
Dgdrom.c585 __raw_writel(page_to_phys(bio_page(req->bio)) + bio_offset(req->bio), in gdrom_readdisk_dma()
/Linux-v6.6/drivers/block/
Dswim3.c419 return page_to_phys(bio_page(bio)) + bio_offset(bio); in swim3_bio_phys()