Searched refs:sector_offset (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/iomap/ |
| H A D | ioend.c | 381 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 D | dm-io-rewind.c | 153 dm_bio_rewind(new_orig, ((io->sector_offset << 9) - in dm_io_rewind()
|
| H A D | dm-core.h | 300 unsigned int sector_offset; /* offset to end of orig_bio */ member
|
| H A D | dm.c | 525 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 D | ice_nvm.c | 82 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 D | ixgbe_e610.c | 3547 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()
|