Lines Matching refs:SECTOR_SIZE
149 geom->sector_size = SECTOR_SIZE;
177 unsigned int sector_size;
181 if(ioctl (fd, DIOCGSECTORSIZE, §or_size) != 0)
182 sector_size = 512;
187 geom->total_sectors = media_size / sector_size;
884 offset = (loff_t) sector * (loff_t) SECTOR_SIZE;
893 off_t offset = (off_t) sector * (off_t) SECTOR_SIZE;
903 if (write (fd, buf, size * SECTOR_SIZE) != (size * SECTOR_SIZE))