Searched refs:sector_offset (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/block/ |
H A D | vhdx-log.c | 869 int sector_offset; in vhdx_log_write() local 911 sector_offset = offset % VHDX_LOG_SECTOR_SIZE; in vhdx_log_write() 917 if (sector_offset) { in vhdx_log_write() 918 leading_length = (VHDX_LOG_SECTOR_SIZE - sector_offset); in vhdx_log_write() 984 memcpy(merged_sector + sector_offset, data_tmp, leading_length); in vhdx_log_write()
|
/openbmc/linux/drivers/md/ |
H A D | raid0.c | 321 sector_t sector, sector_t *sector_offset) in map_sector() argument 335 chunk = *sector_offset; in map_sector() 340 chunk = *sector_offset; in map_sector() 348 *sector_offset = (chunk * chunk_sects) + sect_in_chunk; in map_sector()
|
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 | 527 sector = bio_end_sector(bio) - io->sector_offset; in dm_io_acct() 1344 io->sector_offset = bio_sectors(io->orig_bio); in dm_accept_partial_bio() 1468 io->sector_offset = bio_sectors(ci->bio); in setup_split_accounting()
|
H A D | dm-zoned-metadata.c | 2846 sector_t sector_offset = in dmz_print_dev() local 2850 (u64)dev->capacity, (u64)sector_offset); in dmz_print_dev()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_nvm.c | 83 u32 read_size, sector_offset; in ice_read_flat_nvm() local 90 sector_offset = offset % ICE_AQ_MAX_BUF_LEN; in ice_read_flat_nvm() 91 read_size = min_t(u32, ICE_AQ_MAX_BUF_LEN - sector_offset, in ice_read_flat_nvm()
|
/openbmc/linux/fs/btrfs/ |
H A D | file.c | 1226 size_t sector_offset; in btrfs_buffered_write() local 1248 sector_offset = pos & (fs_info->sectorsize - 1); in btrfs_buffered_write() 1280 reserve_bytes = round_up(write_bytes + sector_offset, in btrfs_buffered_write() 1337 dirty_sectors = round_up(copied + sector_offset, in btrfs_buffered_write() 1376 release_bytes = round_up(copied + sector_offset, in btrfs_buffered_write()
|