| /onnv/onnv-gate/usr/src/cmd/format/ |
| main.c | 85 struct disk_info *disk = NULL; local 176 * If there was only 1 disk on the command line, mark it 177 * to be the current disk. If it wasn't found, it's an error. 180 disk = disk_list; 181 if (disk == NULL) { 182 err_print("Unable to find specified disk '%s'.\n", 188 * A disk was forced on the command line. 193 * be the current disk. 195 for (disk = disk_list; disk != NULL; disk = disk->disk_next [all...] |
| /onnv/onnv-gate/usr/src/cmd/availdevs/ |
| availdevs.c | 70 xmlNodePtr disk = xmlNewChild( local 72 xmlSetProp(disk, 75 set_uint64_prop(disk, ATTR_DISK_SIZE, dp->size); 77 xmlSetProp(disk, (xmlChar *)ATTR_DISK_INUSE, (xmlChar *) 83 disk, NULL, (xmlChar *)ELEMENT_ALIAS, NULL); 94 disk, NULL, (xmlChar *)ELEMENT_SLICE, NULL);
|
| /onnv/onnv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
| mdescplugin.c | 33 * PICL tree which will have a disk node created for each disk node in the 69 picl_nodehdl_t disk; member in struct:disk_lookup 87 lookup->disk = node; 175 * and determine which disk (if any) we are working with 183 lookup.disk = NULL; 186 status = ptree_walk_tree_by_class(root_node, "disk", (void *)&lookup, 194 ptree_update_propval_by_name(lookup.disk, "State", 197 ptree_update_propval_by_name(lookup.disk, "State",
|
| /onnv/onnv-gate/usr/src/cmd/acct/ |
| acctdusg.c | 37 * and computes disk resource consumption by login 50 struct disk { struct 51 struct disk *next; /* next entry at same hash tbl index */ 53 blkcnt_t dsk_du; /* disk usage */ 62 static struct disk *usglist[MAXUSERS]; /* holds data on disk usg by uid */ 65 static struct disk *hash_insert(uid_t); 66 static struct disk *hash_find(uid_t); 69 static void validate_entry(struct disk *, struct passwd *); 82 struct disk *entry [all...] |
| /onnv/onnv-gate/usr/src/cmd/hal/utils/ |
| fsutils.c | 57 char *part, *slice, *disk; local 67 disk = strrchr(devlink, 'd'); 69 if ((part != NULL) && (part > slice) && (part > disk)) { 71 } else if ((slice != NULL) && (slice > disk)) { 74 s = disk; 221 * are tagged backup/entire disk.
|
| /onnv/onnv-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
| piclsbl.h | 38 picl_nodehdl_t disk; member in struct:disk_lookup
|
| /onnv/onnv-gate/usr/src/lib/libzfs_jni/common/ |
| libzfs_jni_disk.c | 48 jobject disk = NULL; local 70 disk = (*env)->NewObject(env, class_DiskDeviceBean, 76 return (disk); 194 jobject disk = create_DiskDeviceBean(env, dp); local 196 /* Add disk to zjni_ArrayList */ 198 ((zjni_Collection_t *)list)->method_add, disk); local
|
| libzfs_jni_diskmgt.c | 40 static dmgt_disk_t *get_disk(dm_descriptor_t disk, int *error); 41 static char **get_disk_aliases(dm_descriptor_t disk, char *name, int *error); 42 static int get_disk_online(dm_descriptor_t disk, int *error); 92 * Gets a dmgt_disk_t for the given disk dm_descriptor_t. 101 get_disk(dm_descriptor_t disk, int *error) 113 dp->name = get_device_name(disk, error); 117 dp->aliases = get_disk_aliases(disk, dp->name, error); 122 dm_get_associated_descriptors(disk, 127 "could not get media from disk %s", 163 get_disk_aliases(dm_descriptor_t disk, char *name, int *error 690 dm_descriptor_t disk = (dm_descriptor_t)disks[i]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/labels/ |
| aix.c | 3 libparted - a library for manipulating disk partitions 103 PedDisk* disk; local 105 disk = _ped_disk_alloc (dev, &aix_disk_type); 106 if (!disk) 109 return disk; 113 aix_duplicate (const PedDisk* disk) 117 new_disk = ped_disk_new_fresh (disk->dev, &aix_disk_type); 125 aix_free (PedDisk *disk) 127 _ped_disk_free (disk); 131 aix_read (PedDisk* disk) [all...] |
| loop.c | 2 libparted - a library for manipulating disk partitions 37 static void loop_free (PedDisk* disk); 42 PedDisk* disk; local 49 disk = loop_alloc (dev); 50 if (!disk) 60 geom = ped_geometry_new (dev, 0, disk->dev->length); 66 loop_free (disk); 70 loop_free (disk); 105 loop_duplicate (const PedDisk* disk) 107 return ped_disk_new_fresh (disk->dev, &loop_disk_type) [all...] |
| dvh.c | 2 libparted - a library for manipulating disk partitions 89 PedDisk* disk; local 94 disk = _ped_disk_alloc (dev, &dvh_disk_type); 95 if (!disk) 98 disk->disk_specific = dvh_disk_data 109 volume_part = ped_partition_new (disk, PED_PARTITION_EXTENDED, NULL, 115 if (!ped_disk_add_partition (disk, volume_part, constraint_any)) 118 return disk; 124 ped_free (disk->disk_specific); 126 ped_free (disk); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| raidioctl.h | 52 * define disk status flags 69 int disk[RAID_MAXDISKS]; member in struct:raid_config
|
| /onnv/onnv-gate/usr/src/cmd/lvm/metassist/layout/ |
| layout.c | 76 * disk is the dm_descriptor_t of the modified disk 77 * accessname is the name to access the disk thru 78 * slices is the list of modified slices on the disk 81 dm_descriptor_t disk; member in struct:__anon764 102 void *disk, 130 /* initialize using the the top-level disk set request... */ 179 "disk set request.")); 240 * Determines the requested disk set and validates it. 259 /* determine & validate requested disk set name * 517 dm_descriptor_t disk = (dm_descriptor_t)0; local 654 dm_descriptor_t disk = (dm_descriptor_t)0; local 740 dm_descriptor_t disk = moddisk->disk; local 849 dm_descriptor_t disk = (dm_descriptor_t)0; local 926 dm_descriptor_t disk; local [all...] |
| layout_hsp.c | 241 gettext(" --->Using %s from disk set %s...\n"), 255 gettext(" --->Created %s for disk set %s...\n "), 758 * for the input component and not on the same disk as any 796 dm_descriptor_t disk = NULL; local 798 /* see if spare's disk is independent of the volume */ 799 error = get_disk_for_named_slice(spname, &disk); 801 (void *)(uintptr_t)disk, compare_descriptor_names) == 849 * disk relative to the input lists of used HBAs and disks 879 * is on a unique disk. 883 * 1st B_TRUE: require a different disk than those used b [all...] |
| layout_validate.c | 90 * - a valid but non-existent disk (c0t0d8, c1t0d0) 91 * - a valid slice on a non-existent disk or controller 93 * - a valid slice on an existing disk (c0t0d0s12, 782 * The CTD name must be of an available slice, disk or 783 * HBA, or a known used slice, disk or HBA that was 809 dm_descriptor_t disk = (dm_descriptor_t)0; local 813 /* name must correspond to a known HBA, disk, or slice */ 816 if ((error = disk_get_by_name(name, &disk)) == 0) { 817 if (disk == (dm_descriptor_t)0) { 840 which, array[i], slice, disk, hba) 1795 dm_descriptor_t disk = (dm_descriptor_t)0; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
| fcal_leds.c | 32 * to match the disk status. 174 int disk, led; local 190 * search the leds of each disk for a match with this UnitAddress 192 for (disk = 0; disk < dtls->n_disks; disk++) { 194 if (addr == dtls->led_addr[led][disk]) 200 if (disk == dtls->n_disks) 202 stat = dtls->led_state[led][disk]; 218 find_disk_slot(led_dtls_t *dtls, int disk, picl_nodehdl_t *nodeh [all...] |
| fcal_leds_thread.c | 46 static int update_picl(led_dtls_t *dtls, int disk); 55 static void start_led_test(led_dtls_t *dtls, int disk); 56 static void end_led_test(led_dtls_t *dtls, int disk); 75 delete_disk_unit(led_dtls_t *dtls, int disk) 81 r = find_disk_slot(dtls, disk, &slotndh); 86 * is there a disk-unit node here? 95 * remove disk-unit node and its properties 105 * Called when disk goes off-line or goes to ready status. 106 * In the case of disk ready, locate platform tree node for the disk 425 int disk; local 436 int err, led, disk, led_bit; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/fs/ntfs/ |
| ntfs.c | 2 libparted - a library for manipulating disk partitions 104 PedDisk *disk; local 110 disk = ped_disk_new (geom->dev); 111 if (!disk) { 115 part = ped_disk_get_partition_by_sector (disk, geom->start); 124 ped_disk_destroy (disk); 373 * The ntfsresize cmd wants the block disk device, not the raw one. 374 * It also wants the partition device, not the whole disk.
|
| /onnv/onnv-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
| mptsas_raid.c | 109 uint8_t numelements, vol, disk; local 172 disk = 0; 235 * their DevHandles in the phys disk 237 * some variation of a Phys Disk and 241 raidconfig->m_physdisk_devhdl[disk] = ddi_get16(accessp, 245 * Increment disk index within this 248 disk++;
|
| /onnv/onnv-gate/usr/src/lib/libdiskmgt/common/ |
| disks_private.h | 68 struct disk **disks; 88 struct disk **disks; 96 typedef struct disk { struct 105 struct disk *next; 117 disk_t *disk; member in union:descriptor::__anon3454
|
| entry.c | 498 * slices for the named disk drive. 505 dm_descriptor_t *disk; local 522 disk = dm_get_associated_descriptors(alias, DM_DRIVE, errp); 524 if (disk != NULL) { 525 media = dm_get_associated_descriptors(*disk, 527 dm_free_descriptors(disk); 565 * overlaps with any non-backup slice on the disk, return true with a detailed 672 * of the whole disk 674 * the whole disk, continue. If another slice is found
|
| /onnv/onnv-gate/usr/src/lib/libparted/common/include/parted/ |
| disk.h | 2 libparted - a library for manipulating disk partitions 24 /** \file disk.h */ 95 /** \file disk.h */ 105 PedDisk* disk; member in struct:_PedPartition 111 - different disk labels have different rules. */ 123 a disk. 127 allocated to represent free space, or disk 151 * Represents a disk label (partition table). 156 const PedDiskType* type; /**< type of disk label */ 172 /* disk label operations * [all...] |
| /onnv/onnv-gate/usr/src/cmd/devfsadm/ |
| disk_link.c | 52 * The number of minor nodes per LUN is defined by the disk drivers. 67 static void disk_common(di_minor_t minor, di_node_t node, char *disk, 74 { "disk", DDI_NT_BLOCK, NULL, 77 { "disk", DDI_NT_BLOCK_CHAN, NULL, 80 { "disk", DDI_NT_BLOCK_FABRIC, NULL, 83 { "disk", DDI_NT_BLOCK_WWN, NULL, 86 { "disk", DDI_NT_BLOCK_SAS, NULL, 89 { "disk", DDI_NT_CD, NULL, 92 { "disk", DDI_NT_CD_CHAN, NULL, 95 { "disk", DDI_NT_BLOCK_XVMD, NULL 139 char disk[20]; local 155 char disk[10]; local 169 char disk[10]; local 195 char disk[DISK_SUBPATH_MAX]; local 243 char disk[DISK_SUBPATH_MAX]; local 348 char disk[16]; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/power/ |
| sysstat.c | 91 #define DISK_DELTA(x) (disk->new_kios.x - disk->old_kios.x) 193 struct diskinfo *disk, *prevdisk, *comp; local 196 disk = &zerodisk; 207 strcmp(ksp->ks_class, "disk") != 0) { 210 prevdisk = disk; 211 if (disk->next) { 212 disk = disk->next; 214 safe_zalloc((void **)&disk->next 256 struct diskinfo *disk; local 272 struct diskinfo *disk; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/stat/common/ |
| acquire_iodevs.c | 486 struct iodev_snapshot *disk) 488 controller->is_stats.nread += disk->is_stats.nread; 489 controller->is_stats.nwritten += disk->is_stats.nwritten; 490 controller->is_stats.reads += disk->is_stats.reads; 491 controller->is_stats.writes += disk->is_stats.writes; 492 controller->is_stats.wtime += disk->is_stats.wtime; 493 controller->is_stats.wlentime += disk->is_stats.wlentime; 494 controller->is_stats.rtime += disk->is_stats.rtime; 495 controller->is_stats.rlentime += disk->is_stats.rlentime; 496 controller->is_crtime += disk->is_crtime 584 int ctr, disk, slice, ret; local [all...] |