Home
last modified time | relevance | path

Searched refs:sector_offset (Results 1 – 6 of 6) sorted by relevance

/linux/fs/iomap/
H A Dioend.c381 int sector_offset; in iomap_split_ioend() local
390 sector_offset = bio_split_rw_at(bio, lim, &nr_segs, max_len); in iomap_split_ioend()
391 if (unlikely(sector_offset < 0)) in iomap_split_ioend()
392 return ERR_PTR(sector_offset); in iomap_split_ioend()
393 if (!sector_offset) in iomap_split_ioend()
398 sector_offset = max_len >> SECTOR_SHIFT; in iomap_split_ioend()
402 sector_offset = ALIGN_DOWN(sector_offset << SECTOR_SHIFT, in iomap_split_ioend()
405 split = bio_split(bio, sector_offset, GFP_NOFS, &iomap_ioend_bioset); in iomap_split_ioend()
/linux/drivers/md/
H A Ddm-io-rewind.c153 dm_bio_rewind(new_orig, ((io->sector_offset << 9) - in dm_io_rewind()
H A Ddm-core.h300 unsigned int sector_offset; /* offset to end of orig_bio */ member
H A Ddm.c525 sector = bio_end_sector(bio) - io->sector_offset; in dm_io_acct()
1345 io->sector_offset = bio_sectors(io->orig_bio); in dm_accept_partial_bio()
1463 io->sector_offset = bio_sectors(ci->bio); in setup_split_accounting()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_nvm.c82 u32 read_size, sector_offset; in ice_read_flat_nvm() local
89 sector_offset = offset % ICE_AQ_MAX_BUF_LEN; in ice_read_flat_nvm()
90 read_size = min_t(u32, ICE_AQ_MAX_BUF_LEN - sector_offset, in ice_read_flat_nvm()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c3547 u32 read_size, sector_offset; in ixgbe_read_flat_nvm() local
3553 sector_offset = offset % IXGBE_ACI_MAX_BUFFER_SIZE; in ixgbe_read_flat_nvm()
3555 IXGBE_ACI_MAX_BUFFER_SIZE - sector_offset, in ixgbe_read_flat_nvm()