Searched refs:partition (Results 1 - 4 of 4) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dreboot.h100 * adaptor (uba, mba, etc), unit number and partition number.
128 #define MAKEBOOTDEV(type, adaptor, controller, unit, partition) \
131 ((partition) << B_PARTITIONSHIFT) | B_DEVMAGIC)
H A Ddisktab.h66 typedef struct partition { struct
67 int p_base; /* base sector# of partition */
68 int p_size; /* #sectors in partition */
98 char d_rootpartition; /* root partition e.g. 'a' */
99 char d_rwpartition; /* r/w partition e.g. 'b' */
H A Ddisklabel.h97 * Translate between device numbers and major/disk unit/disk partition.
185 /* filesystem and partition information: */
189 struct partition { /* the partition table */ struct in struct:disklabel
190 u_int32_t p_size; /* number of sectors in partition */
248 * per-partition information.
263 #define FS_BOOT 13 /* partition contains bootstrap */
333 * Structure used internally to retrieve information about a partition
338 struct partition *part;
348 #define DIOCGPART _IOW('d', 104, struct partinfo) /* get partition */
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/
H A DIOKitBSDInit.cpp279 long partition = -1; local
284 // scan the tail of the path for "@unit:partition"
295 partition = strtol( look + 1, 0, 0 );
317 if( c || unit == -1 || partition == -1)
355 snprintf( comp, len + 1, "/@%lx,%lx:%ld';}", unit, lun, partition );
364 snprintf( comp, len + 1, "/@%lx:%ld';}", unit, partition );

Completed in 86 milliseconds