Home
last modified time | relevance | path

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

/linux-6.15/fs/btrfs/
H A Dfile-item.c351 u32 bio_offset = 0; in btrfs_lookup_bio_sums() local
400 while (bio_offset < orig_len) { in btrfs_lookup_bio_sums()
402 u64 cur_disk_bytenr = orig_disk_bytenr + bio_offset; in btrfs_lookup_bio_sums()
404 (bio_offset >> fs_info->sectorsize_bits) * csum_size; in btrfs_lookup_bio_sums()
407 orig_len - bio_offset, csum_dst); in btrfs_lookup_bio_sums()
431 u64 file_offset = bbio->file_offset + bio_offset; in btrfs_lookup_bio_sums()
442 bio_offset += count * sectorsize; in btrfs_lookup_bio_sums()
H A Dbio.c211 u32 bio_offset, in repair_one_sector() argument
225 failed_bbio->file_offset + bio_offset); in repair_one_sector()
251 repair_bbio->file_offset = failed_bbio->file_offset + bio_offset; in repair_one_sector()
H A Dbtrfs_inode.h535 u32 bio_offset, struct bio_vec *bv);
H A Dinode.c3381 u32 bio_offset, struct bio_vec *bv) in btrfs_data_csum_ok() argument
3385 u64 file_offset = bbio->file_offset + bio_offset; in btrfs_data_csum_ok()
3404 csum_expected = bbio->csum + (bio_offset >> fs_info->sectorsize_bits) * in btrfs_data_csum_ok()
/linux-6.15/fs/jfs/
H A Djfs_metapage.c358 unsigned long bio_offset = 0; in metapage_write_folio() local
397 bio_add_folio_nofail(bio, folio, bio_bytes, bio_offset); in metapage_write_folio()
429 bio_offset = offset; in metapage_write_folio()
436 bio_add_folio_nofail(bio, folio, bio_bytes, bio_offset); in metapage_write_folio()
/linux-6.15/drivers/md/dm-vdo/
H A Dvio.c47 return ((pbn == VDO_GEOMETRY_BLOCK_LOCATION) ? pbn : pbn + vdo->geometry.bio_offset); in pbn_from_vio_bio()
179 pbn -= vdo->geometry.bio_offset; in vdo_set_bio_properties()
H A Dencodings.c254 block_count_t bio_offset = 0; in decode_volume_geometry() local
268 decode_u64_le(buffer, offset, &bio_offset); in decode_volume_geometry()
269 geometry->bio_offset = bio_offset; in decode_volume_geometry()
H A Dencodings.h100 block_count_t bio_offset; member
H A Ddedupe.c2190 geometry.bio_offset) * VDO_BLOCK_SIZE); in initialize_index()
H A Ddm-vdo-target.c2544 physical_block_number_t pbn = partition->offset - vdo->geometry.bio_offset; in partition_to_region()
H A Dslab-depot.c3495 pbn = slab->journal_origin - depot->vdo->geometry.bio_offset; in erase_next_slab_journal()
/linux-6.15/drivers/mtd/
H A 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-6.15/include/linux/
H A Dbio.h34 #define bio_offset(bio) bio_iter_offset((bio), (bio)->bi_iter) macro
74 return page_address(bio_page(bio)) + bio_offset(bio); in bio_data()
/linux-6.15/drivers/cdrom/
H A Dgdrom.c585 __raw_writel(page_to_phys(bio_page(req->bio)) + bio_offset(req->bio), in gdrom_readdisk_dma()
/linux-6.15/drivers/block/
H A Dswim3.c419 return page_to_phys(bio_page(bio)) + bio_offset(bio); in swim3_bio_phys()