Searched refs:sectors (Results 1 - 18 of 18) sorted by relevance

/macosx-10.10/diskdev_cmds-576/fdisk.tproj/
H A Ddisk.h61 unsigned int sectors; member in struct:_DISK_metrics
62 unsigned int size; /* Number of sectors in disk */
H A Ddisk.c149 lm->sectors = spt;
236 cyls = disk->label->size / (disk->bios->heads * disk->bios->sectors);
237 secs = cyls * (disk->bios->heads * disk->bios->sectors);
239 errx(1, "BIOS fixup botch (%u sectors)", disk->label->size - secs);
299 printf("geometry: %u/%u/%u [%u sectors]\n", disk->real->cylinders,
300 disk->real->heads, disk->real->sectors, disk->real->size);
H A Dcmd.c155 disk->real->sectors = ask_num("BIOS Sectors", ASK_DEC,
156 disk->real->sectors, 1, maxsec, NULL);
159 * disk->real->sectors;
216 maxsect = disk->real->sectors;
H A Dfdisk.c186 usermetrics->sectors = s_arg;
H A Dpart.c357 spt = disk->real->sectors;
394 spt = disk->real->sectors;
H A Dmbr.c101 mbr->part[3].esect = disk->real->sectors;
/macosx-10.10/hfs-285/newfs_hfs/
H A Dnewfs_hfs.c88 static UInt32 CalcHFSPlusBTreeClumpSize __P((UInt32 blockSize, UInt32 nodeSize, UInt64 sectors, int fileID));
631 * number of sectors because the product could overflow a 64 bit integer. We do a cursory
639 * We get the number of bits to represent the number of sectors and the sector size.
760 fatal("Error: Disk Device is too big (%llu sectors, %d bytes per sector", sectorCount, sectorSize);
770 fatal("%s: block size is too small for %lld sectors", optarg, gBlockSize, sectorCount);
805 dip.physSectorSize = kBytesPerSector; /* 512-byte sectors */
1056 // tiny journal (16k or so) with 512byte sectors.
1216 printf("%llu sectors (%u bytes per sector)\n", dip->physTotalSectors, dip->physSectorSize);
1317 CalcHFSPlusBTreeClumpSize(UInt32 blockSize, UInt32 nodeSize, UInt64 sectors, int fileID) argument
1341 if (sectors <
[all...]
H A Dmakehfs.c113 static void InitVH __P((hfsparams_t *defaults, UInt64 sectors,
366 * The first chunk is the boot sectors, volume header, allocation bitmap,
609 InitVH(hfsparams_t *defaults, UInt64 sectors, HFSPlusVolumeHeader *hp) argument
633 blockCount = sectors / (blockSize >> kLog2SectorSize);
1447 * size. Since WriteBuffer takes a sector # relative to 512 byte sectors,
1449 * its start LBA in 512 byte sectors.
1826 * startingSector is in terms of 512-byte sectors.
/macosx-10.10/pdisk-9/
H A DATA_media.c58 long sectors; member in struct:ATA_info
472 a->info.sectors = 0;
478 a->info.sectors = info.cur_sec_per_track;
650 sector = (block % info->sectors) + 1;
651 cyl = block / info->sectors;
704 sector = (block % info->sectors) + 1;
705 cyl = block / info->sectors;
H A Dpartition_map.c878 printf("HDIO_GETGEO: heads=%d, sectors=%d, cylinders=%d, start=%d, total=%d\n",
879 geometry.heads, geometry.sectors,
881 geometry.heads*geometry.sectors*geometry.cylinders);
/macosx-10.10/emacs-93/emacs/mac/
H A Dmake-package405 hdiutil create -ov ${builddir}/mac/EmacsRW -sectors ${sectorsAlloced}
431 hdiutil resize ${builddir}/mac/EmacsRW.dmg -sectors min
/macosx-10.10/vim-55/runtime/syntax/
H A Dlilo.vim61 syn keyword liloDiskOpt sectors heads cylinders start nextgroup=liloEqDecNumber,liloEqDecNumberComment,liloError skipwhite skipempty
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/modules/plotchart/
H A Dplotchart.tcl1925 # sectors Number of sectors (default: 16)
1933 proc ::Plotchart::createWindRose { w radius_data {sectors 16}} {
1962 for { set i 0 } { $i < $sectors } { incr i } {
1966 set data_series($w,start_angle) [expr {90.0 - 360.0/(4.0*$sectors)}]
1967 set data_series($w,d_angle) [expr {360.0/(2.0*$sectors)}]
1968 set data_series($w,increment_angle) [expr {360.0/$sectors}]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/fumagic/
H A Dfiletypes.tcl85 if {[N S 2 x {}]} {emit {\b, %d sectors per track}}
2416 if {[N Y 494 > 0x0]} {emit {%d sectors/track,}}
2661 if {[N c 13 > 0x1]} {emit {\b, sectors/cluster %u}}
2662 if {[N s 14 > 0x20]} {emit {\b, reserved sectors %u}}
2663 if {[N s 14 < 0x1]} {emit {\b, reserved sectors %u}}
2668 if {[N s 19 > 0x0]} {emit {\b, sectors %u \(volumes <=32 MB\)}}
2671 if {[N s 22 > 0x0]} {emit {\b, sectors/FAT %u}}
2674 if {[N i 28 > 0x0]} {emit {\b, hidden sectors %u}}
2675 if {[N i 32 > 0x0]} {emit {\b, sectors %u \(volumes > 32 MB\)}}
2692 if {[N i 36 x {}]} {emit {\b, sectors/FA
[all...]
/macosx-10.10/ntfs-84/kext/
H A Dntfs_layout.h52 * from within Windows as the bootsector contained number of sectors
55 * number of sectors/2 (integer divide), i.e. in the middle of the volume.
63 u8 sectors_per_cluster; /* Size of a cluster in sectors. */
67 le16 sectors; /* zero */ member in struct:__anon11327
73 relative to the disk in sectors. Required
92 /*0x28*/sle64 number_of_sectors; /* Number of sectors in volume. Gives
93 maximum volume size of 2^63 sectors.
2062 of sectors per index block when the
2091 and in units of sectors otherwise. */
H A Dntfs_vfsops.c178 /* Check sectors per cluster value is valid. */
192 le16_to_cpu(b->bpb.sectors) ||
435 ntfs_debug("number of hidden sectors = 0x%x", nr_hidden_sects);
/macosx-10.10/ntfs-84/util/
H A Dntfs.util.c145 /* Check sectors per cluster value is valid. */
159 le16_to_cpu(b->bpb.sectors) ||
310 /* Fixup all sectors. */
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/
H A Dmagic.tab1396 37633 string CD001 ISO 9660 CD-ROM filesystem image, raw 2352 byte sectors data/x-filesystem

Completed in 188 milliseconds