Home
last modified time | relevance | path

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

/external/f2fs-tools/lib/
Dlibf2fs.c351 c->sector_size = DEFAULT_SECTOR_SIZE; in f2fs_init_configuration()
424 uint32_t sector_size; in f2fs_get_device_info() local
445 c->total_sectors = stat_buf.st_size / c->sector_size; in f2fs_get_device_info()
447 if (ioctl(fd, BLKSSZGET, &sector_size) < 0) { in f2fs_get_device_info()
450 if (c->sector_size < sector_size) { in f2fs_get_device_info()
454 c->sector_size, sector_size); in f2fs_get_device_info()
455 c->sector_size = sector_size; in f2fs_get_device_info()
456 c->sectors_per_blk = PAGE_SIZE / sector_size; in f2fs_get_device_info()
465 c->total_sectors /= c->sector_size; in f2fs_get_device_info()
471 total_sectors /= c->sector_size; in f2fs_get_device_info()
[all …]
/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/stressapptest/src/
Ddisk_blocks.h73 void SetParameters(int sector_size, int write_block_size,
Ddisk_blocks.cc169 int sector_size, int write_block_size, int64 device_sectors, in SetParameters() argument
172 sector_size_ = sector_size; in SetParameters()
/external/kernel-headers/original/uapi/linux/
Dmsdos_fs.h114 __u8 sector_size[2]; /* bytes per logical sector */ member
/external/f2fs-tools/include/
Df2fs_fs.h225 u_int32_t sector_size; member
/external/f2fs-tools/mkfs/
Df2fs_format.c112 log_sectorsize = log_base_2(config.sector_size); in f2fs_prepare_super_block()