Searched refs:sector_size (Results 1 – 13 of 13) sorted by relevance
/external/f2fs-tools/lib/ |
D | libf2fs.c | 351 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, §or_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/ |
D | hardware_Badblocks.py | 71 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/ |
D | fusion-aw.c | 34 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/ |
D | probe.c | 523 __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()
|
D | probe.h | 653 __u32 sector_size; member
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format_utils.c | 39 range[1] = config.total_sectors * config.sector_size; in f2fs_trim_device()
|
D | f2fs_format.c | 176 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/ |
D | msdos_fs.h | 114 __u8 sector_size[2]; /* bytes per logical sector */ member
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 424 uint32_t sector_size; member
|
/external/vboot_reference/firmware/lib/ |
D | vboot_kernel.c | 93 shcall->sector_size = (uint32_t)params->bytes_per_lba; in LoadKernel()
|
/external/vboot_reference/host/lib/ |
D | crossystem.c | 275 shc->sector_size, in GetVdatLoadKernelDebug()
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
D | perfdiag.py | 1226 sector_size = 512 1242 rbytes = int(rbytes) * sector_size 1243 wbytes = int(wbytes) * sector_size
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 227 u_int32_t sector_size; member
|