Searched refs:sector_size (Results 1 - 12 of 12) sorted by relevance

/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_ns.c45 uint32_t sector_size; local
54 sector_size = 1 << nsdata->lbaf[nsdata->flbas.format].lbads;
56 ns->sector_size = sector_size;
57 ns->sectors_per_max_io = ctrlr->max_xfer_size / sector_size;
58 ns->sectors_per_stripe = ns->stripe_size / sector_size;
193 ns_stat->sector_size = ns->sector_size;
245 uint32_t sector_size = ns->sector_size; local
309 uint32_t sector_size; local
[all...]
H A Dnvme.h432 size_t sector_size; member in struct:nvme_ns_stat
H A Dnvme_internal.h412 uint32_t sector_size; member in struct:nvme_ns
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dbootsect.c202 vol->sector_size = le16_to_cpu(bs->bpb.bytes_per_sector);
203 vol->sector_size_bits = ffs(vol->sector_size) - 1;
204 ntfs_log_debug("SectorSize = 0x%x\n", vol->sector_size);
252 vol->cluster_size = sectors_per_cluster * vol->sector_size;
H A Ddevice.c589 int sector_size; local
591 sector_size = ntfs_device_sector_size_get(dev);
592 if (sector_size >= 0 && dev->d_ops->ioctl(dev,
598 return blocks * sector_size / block_size;
H A Dvolume.h196 u16 sector_size; /* Byte size of a sector. */ member in struct:_ntfs_volume
H A Dvolume.c588 if (ntfs_device_block_size_set(vol->dev, vol->sector_size))
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c217 long sector_size; /* -s, in bytes, power of 2, default is 512 bytes. */ member in struct:mkntfs_options
465 opts2->sector_size = -1;
2006 if (index_block_size < (u32)opts.sector_size) {
3202 if (opts.sector_size) {
3204 opts.num_sectors = sbuf.st_size / opts.sector_size;
3206 opts.num_sectors = ((s64)sbuf.st_blocks << 9) / opts.sector_size;
3212 opts.sector_size = 512;
3264 if (opts.sector_size < 0) {
3265 opts.sector_size = ntfs_device_sector_size_get(vol->dev);
3266 if (opts.sector_size <
[all...]
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dbtrfs.h183 uint32 sector_size; member in struct:btrfs_chunk
195 { return B_LENDIAN_TO_HOST_INT32(sector_size); }
209 uint32 sector_size; member in struct:btrfs_device
236 uint32 sector_size; member in struct:btrfs_super_block
261 uint32 SectorSize() const { return B_LENDIAN_TO_HOST_INT32(sector_size); }
H A DVolume.cpp68 sector_size = B_HOST_TO_LENDIAN_INT32(sectorSize);
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp225 nsstat.sector_size, info->ns->stripe_size);
226 nvme_disk_set_capacity(info, nsstat.sectors, nsstat.sector_size);
306 info->max_io_blocks = cstat.max_xfer_size / nsstat.sector_size;
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_ich8lan.c4732 s32 j, iteration, sector_size; local
4753 sector_size = ICH_FLASH_SEG_SIZE_256;
4757 sector_size = ICH_FLASH_SEG_SIZE_4K;
4761 sector_size = ICH_FLASH_SEG_SIZE_8K;
4765 sector_size = ICH_FLASH_SEG_SIZE_64K;
4809 flash_linear_addr += (j * sector_size);

Completed in 161 milliseconds