Home
last modified time | relevance | path

Searched refs:sector_size (Results 1 – 13 of 13) sorted by relevance

/external/f2fs-tools/lib/
Dlibf2fs.c351 c->sector_size = DEFAULT_SECTOR_SIZE; in f2fs_init_configuration()
435 uint32_t sector_size; in f2fs_get_device_info() local
460 c->total_sectors = stat_buf.st_size / c->sector_size; in f2fs_get_device_info()
462 if (ioctl(fd, BLKSSZGET, &sector_size) < 0) { in f2fs_get_device_info()
465 if (c->sector_size < sector_size) { in f2fs_get_device_info()
466 c->sector_size = sector_size; in f2fs_get_device_info()
467 c->sectors_per_blk = PAGE_SIZE / sector_size; in f2fs_get_device_info()
476 c->total_sectors /= c->sector_size; in f2fs_get_device_info()
482 total_sectors /= c->sector_size; in f2fs_get_device_info()
495 c->total_sectors, c->sector_size); in f2fs_get_device_info()
[all …]
/external/autotest/client/site_tests/hardware_Badblocks/
Dhardware_Badblocks.py71 def _run_badblocks(self, dev, sector_size, tmout): argument
82 argv = [self._BADBLOCKS, '-svw', '-d', str(sector_size), dev]
163 sector_size = self._get_sector_size(site_utils.get_root_device())
164 logging.info('Sector size (bytes): ' + sector_size)
174 self._run_badblocks(dev, sector_size, tmout)
/external/fio/engines/
Dfusion-aw.c34 size_t sector_size; member
67 io_u->xfer_buflen, io_u->offset / d->sector_size); in queue()
137 d->sector_size = nvm_capability[3].cap_value; in open_file()
/external/e2fsprogs/lib/blkid/
Dprobe.c523 __u16 sector_size, dir_entries, reserved; in probe_fat() local
529 sector_size = tmp[0] + (tmp[1] << 8); in probe_fat()
530 if (sector_size != 0x200 && sector_size != 0x400 && in probe_fat()
531 sector_size != 0x800 && sector_size != 0x1000) in probe_fat()
548 (sector_size-1)) / sector_size; in probe_fat()
560 root_start = (reserved + fat_size) * sector_size; in probe_fat()
578 buf_size = vs->vs_cluster_size * sector_size; in probe_fat()
589 sector_size; in probe_fat()
603 fat_entry_off = (reserved * sector_size) + in probe_fat()
Dprobe.h653 __u32 sector_size; member
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c39 range[1] = config.total_sectors * config.sector_size; in f2fs_trim_device()
Df2fs_format.c176 log_sectorsize = log_base_2(config.sector_size); in f2fs_prepare_super_block()
201 (config.start_sector * config.sector_size + in f2fs_prepare_super_block()
204 config.start_sector * config.sector_size; in f2fs_prepare_super_block()
214 set_sb(segment_count, (config.total_sectors * config.sector_size - in f2fs_prepare_super_block()
/external/kernel-headers/original/uapi/linux/
Dmsdos_fs.h114 __u8 sector_size[2]; /* bytes per logical sector */ member
/external/vboot_reference/firmware/include/
Dvboot_struct.h424 uint32_t sector_size; member
/external/vboot_reference/firmware/lib/
Dvboot_kernel.c93 shcall->sector_size = (uint32_t)params->bytes_per_lba; in LoadKernel()
/external/vboot_reference/host/lib/
Dcrossystem.c275 shc->sector_size, in GetVdatLoadKernelDebug()
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dperfdiag.py1226 sector_size = 512
1242 rbytes = int(rbytes) * sector_size
1243 wbytes = int(wbytes) * sector_size
/external/f2fs-tools/include/
Df2fs_fs.h227 u_int32_t sector_size; member