/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | libuboot.h | 39 int partition; member in struct:uboot_devdesc::__anon367::__anon368
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | libi386.h | 46 int partition; member in struct:i386_devdesc::__anon281::__anon282
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 45 #include "partition.h" 97 * we just get the active solaris partition. 134 * If this is a slice desc. we need the first active solaris partition 135 * and if there isn't one then we need the first solaris partition. 159 /* we found a solaris partition to use */ 196 * format so that it refers to the fdisk partition 199 * physical disk partition. 256 * Look for the partition by the partition number (which is not too useful). 263 descriptor_t *partition local [all...] |
/illumos-gate/usr/src/cmd/avs/dsbitmap/ |
H A D | dsbitmap.c | 116 get_partsize(char *partition) argument 127 if ((fd = open(partition, O_RDONLY)) < 0) { 128 error(NULL, gettext("unable to open partition, %s: %s"), 129 partition, strerror(errno)); 142 gettext("unable to read the vtoc from partition, %s: %s"), 143 partition, strerror(errno)); 152 "from partition, %s: %s"), 153 partition, strerror(errno)); 177 gettext("unable to read disk partition, %s: %s"), 178 partition, strerro [all...] |
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils_impl.h | 65 /* A set of DSs for a given AD partition */ 72 adutils_ad_partition_t partition; /* Data or global catalog? */ member in struct:adutils_ad
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.h | 45 int partition; member in struct:_device_data
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vtoc.h | 74 #define V_UNASSIGNED 0x00 /* unassigned partition */ 75 #define V_BOOT 0x01 /* Boot partition */ 80 #define V_STAND 0x06 /* Stand partition */ 81 #define V_VAR 0x07 /* Var partition */ 82 #define V_HOME 0x08 /* Home partition */ 83 #define V_ALTSCTR 0x09 /* Alternate sector partition */ 84 #define V_CACHE 0x0a /* CacheFS partition (obsolete) */ 88 #define V_SYSTEM 0x0c /* EFI/GPT system partition */ 89 #define V_BIOS_BOOT 0x18 /* BIOS Boot partition */ 91 #define V_UNKNOWN 0xff /* Unknown partition */ 109 struct partition { struct [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | disk.c | 282 int rc, slice, partition; local 297 partition = dev->d_partition; 302 * main partition table. 305 DEBUG("%s unit %d, slice %d, partition %d => %p (cached)", 321 DEBUG("%s unit %d, slice %d, partition %d => %p", 328 DEBUG("Can't read partition table"); 335 partition >= 0) { 337 rc = ptable_getpart(od->table, &part, partition); 341 /* Try to get information about partition */ 351 partition 487 int unit, slice, partition; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/uboot/common/ |
H A D | main.c | 176 * Parse a device string into type, unit, slice and partition numbers. A 182 * The returned values for slice and partition are interpreted by 192 * <type_name><unit>:<slice>.<partition> DEV_TYP_STOR 199 get_load_device(int *type, int *unit, int *slice, int *partition) argument 208 *partition = -1; 252 /* No slice and partition specification. */ 275 /* No partition specification. */ 289 /* No partition specification. */ 293 *partition = strtol(p, &endp, 10); 300 /* Junk beyond partition numbe 311 char partition[32]; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | device.c | 804 /dev/rd/c<controller>d<logical drive>p<partition>. 856 a whole disk is not consistent with the one for a partition of the 870 write_to_partition (char **map, int drive, int partition, argument 876 if ((partition & 0x00FF00) != 0x00FF00) 878 /* If the partition is a BSD partition, it is difficult to 892 sprintf (dev + strlen(dev), "%d", ((partition >> 16) & 0xFF) + 1); 894 /* Open the partition. */
|
/illumos-gate/usr/src/cmd/avs/nsctl/ |
H A D | nskernd.c | 726 int partition; local 955 * - partition number (return) 957 partition = -1; 959 &partition, data.char1); 960 data.data2 = (uint64_t)partition;
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 74 int partition; /* partition number */ member in struct:raw_dev 360 cdi->partition = -1; 620 /* return partition number */ 634 /* do we have an EFI partition table? */ 693 * The only reliable way to get the partition size, is to bounce the 749 &_nsc_raw_files[cd].partition)); 803 /* do we have an EFI partition table? */ 829 if ((*partitionp = _nsc_raw_files[cd].partition) != -1) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_fip.c | 251 fip_desc_partition_t *partition; local 336 partition = &(ack->ak_vhub_partition); 337 if (partition->pn_type != FIP_DESC_TYPE_PARTITION || 338 partition->pn_len != FIP_DESC_LEN_PARTITION) { 340 "invalid type/len in partition desc: expected (0x%x,0x%x), " 342 FIP_DESC_LEN_PARTITION, partition->pn_type, 343 partition->pn_len); 391 ld->ld_vhub_pkey = ntohs(partition->pn_pkey);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | disklabel.h | 68 #define LABEL_PART 2 /* partition containing label */ 69 #define RAW_PART 2 /* partition containing whole disk */ 70 #define SWAP_PART 1 /* partition normally containing swap */ 133 /* filesystem and partition information: */ 137 struct partition { /* the partition table */ struct in struct:disklabel 138 u_int32_t p_size; /* number of sectors in partition */ 209 * per-partition information. 224 #define FS_BOOT 13 /* partition contains bootstrap */ 294 void bsd_partition_le_dec(u_char *ptr, struct partition * [all...] |
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_fflp.h | 233 fcram_parition_t partition[MAX_PARTITION]; member in struct:_nxge_classify
|
/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 53 #include "partition.h" 282 * definitions for the search path, known disk types, and known partition 288 * disk/partition/controller definition now keeps a pointer to the 445 else if (strcmp(cleaned, "partition") == 0) 930 * This routine processes a 'partition' line in the data file. It defines 931 * a known partition map for a particular disk type on a particular 966 * Allocate space for the partition map and fill in the name. 973 * Save the filename/linenumber where this partition was defined 979 * Install default vtoc information into the new partition table 1137 * Here's the index of the partition w 1508 char *partition = "s2"; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | disk_io.c | 102 /* The register ESI should contain the address of the partition to be 121 /* these are the translated numbers for the open partition */ 311 * Check partition boundaries 321 * Get the read to the beginning of a partition. 386 embed a Stage 1.5 into a partition instead of a MBR, use system 452 /* Turn on the active flag for the partition SAVED_PARTITION in the 465 /* If the partition is not a primary partition, the active flag is 477 /* If the partition is an extended partition, settin 596 next_partition(unsigned long drive, unsigned long dest, unsigned long *partition, int *type, unsigned long long *start, unsigned long long *len, unsigned long long *offset, int *entry, unsigned long long *ext_offset, unsigned long long *gpt_offset, int *gpt_count, int *gpt_size, char *buf) argument 1112 int partition = dev & 0xFFFFFF; local [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_nvram.c | 40 /* Cursor for TLV partition format */ 53 * The full length of the NVRAM partition. 585 __in nvram_partition_t *partition) 593 cursor = &partition->tlv_cursor; 598 ptr = partition->data; 612 nvram_partition_t partition; local 618 * We just modified the partition, so the total length may not be 622 partition.data = cursor->block; 623 (void) memcpy(&partition.tlv_cursor, cursor, sizeof (*cursor)); 624 header = (struct tlv_partition_header *)partition 584 checksum_tlv_partition( __in nvram_partition_t *partition) argument [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdf.c | 1385 /* check if partition is open, -1 - check all partitions on the disk */ 1387 xdf_isopen(xdf_t *vdp, int partition) argument 1393 ASSERT((partition == -1) || 1394 ((partition >= 0) || (partition < XDF_PEXT))); 1396 if (partition == -1) 1399 parbit = 1 << partition; 2734 /* Check if this I/O is accessing a partition or the entire disk */ 2740 /* This I/O is using a partition relative offset */ 2756 /* check for a starting block beyond the disk or partition limi [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 966 * a partition size and a starting address and this routine can compute 994 * Enable previously configured FCRAM partition 998 * partid: partition ID, Corresponds to the RDC table 1034 * Disable previously configured FCRAM partition 1038 * partid: partition ID, Corresponds to the RDC table 1249 * Reports hash table PIO read errors for the given partition. 1254 * partid: partition ID 1299 * Clears FCRAM PIO error status for the partition. 1305 * partid: partition ID 3013 p_hash_tbl_data_log_t p_err, uint8_t partition) 3012 npi_fflp_fcram_error_get(npi_handle_t handle, p_hash_tbl_data_log_t p_err, uint8_t partition) argument 3025 npi_fflp_fcram_error_clear(npi_handle_t handle, uint8_t partition) argument [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fflp.c | 311 * (1) configure and enable partition 0 with no relocation 315 * (4) disable the partition 326 NXGE_ERROR_MSG((nxgep, NXGE_ERR_CTL, "failed partition cfg\n")); 333 "failed partition enable\n")); 362 int partition; local 400 for (partition = 0; partition < FFLP_FCRAM_MAX_PARTITION; partition++) { 401 rs = npi_fflp_cfg_fcram_partition_disable(handle, partition); 404 "failed FCRAM partition" 1701 uint8_t partition; local 1734 uint8_t partition; local [all...] |
H A D | nxge_main.c | 34 uint32_t nxge_use_partition = 0; /* debug partition flag */ 1511 int partition; local 1563 for (partition = 0; partition < MAX_PARTITION; partition++) { 1564 MUTEX_INIT(&classify_ptr->hash_lock[partition], NULL, 1582 int partition; local 1602 for (partition = 0; partition < MAX_PARTITION; partition [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 216 * vDisk logical partition 247 * vDisk partition definition 250 uint16_t id_tag; /* ID tag of partition */ 251 uint16_t perm; /* permission flags for partition */ 253 uint64_t start; /* block number of partition start */ 254 uint64_t nblocks; /* number of blocks in partition */ 267 vd_partition_t partition[V_NUMPAR]; /* partition headers */ member in struct:vd_vtoc 397 (vtoc)->v_part[i].p_tag = (vd_vtoc)->partition[i].id_tag; \ 398 (vtoc)->v_part[i].p_flag = (vd_vtoc)->partition[ [all...] |
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 1409 * set up partition statistics for each partition 1423 "partition", 1632 * property operation routine. return the number of blocks for the partition 2244 int partition = DCDPART(bp->b_edev); local 2253 partition, 2266 * Make sure we don't run off the end of a partition. 2274 * First, compute partition-relative block number
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 35 * This program reads the partition table on the specified device and 151 /* Maximum number of digits for a valid partition size */ 154 /* Minimum partition size in cylinders */ 168 " Create a partition with specific attributes:\n" 169 " id = system id number (fdisk.h) for the partition type\n" 170 " act = active partition flag (0 is off and 128 is on)\n" 171 " bhead = beginning head for start of partition\n" 172 " bsect = beginning sector for start of partition\n" 173 " bcyl = beginning cylinder for start of partition\n" 174 " ehead = ending head for end of partition\ 3076 struct ipart *partition[FD_NUMPART]; local [all...] |