/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Attribute/Handlers/demo/ |
H A D | demo4.pl | 3 my $capacity : Name(capacity) 4 : Purpose(to store max storage capacity for files)
|
/opensolaris-onvv-gate/usr/src/head/ |
H A D | pkgdev.h | 40 longlong_t capacity; /* number of 512-blocks on device */ member in struct:pkgdev
|
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | cvrt_spd_data.c | 104 int capacity; local 162 * calculate the capacity and insert into capacity record 180 capacity = spd->mod_row_density; 182 (capacity > 16)) || 183 (capacity > 4)) { 184 capacity *= 4; 192 capacity *= c; 193 if ((m_or_g == 'M') && (capacity >= 1024)) { 194 capacity / [all...] |
/opensolaris-onvv-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.h | 35 uint_t capacity; member in struct:disc_info 54 boolean_t read_format_capacity(int fd, uint64_t *capacity); 57 uint64_t *capacity);
|
H A D | cdutils.c | 398 di->capacity = ((buf[21] * 60) + buf[22]) * 75; 400 di->capacity = 0; 407 * returns current/maximum format capacity in bytes 410 read_format_capacity(int fd, uint64_t *capacity) argument 436 *capacity = (uint64_t)num_blocks * block_len; 449 * disc capacity (in bytes) 452 get_disc_capacity_for_profile(int fd, int profile, uint64_t *capacity) argument 462 *capacity = mi.dki_capacity * mi.dki_lbsize; 467 if (read_format_capacity(fd, capacity) && (*capacity > [all...] |
/opensolaris-onvv-gate/usr/src/cmd/pgstat/ |
H A D | pgstat.pl | 506 my ($hwload, $utilization, $capacity, $accuracy) = 522 $pgs{$pg}->{capacity} = $capacity; 584 my $capacity = $pgs{$pg}->{capacity}; 600 number_to_scaled_string($capacity), 635 number_to_scaled_string($capacity); 687 my ($hwload, $utilization, $capacity, $accuracy) = 704 $pgs{$pg}->{capacity} = number_to_scaled_string($capacity); [all...] |
/opensolaris-onvv-gate/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl_hash.h | 83 IN DAT_COUNT capacity,
|
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/ |
H A D | StringVector.java | 72 public final int capacity() { method in class:StringVector 73 return vector.capacity();
|
/opensolaris-onvv-gate/usr/src/lib/libpkg/common/ |
H A D | devtype.c | 50 devp->capacity = 0; 79 /* check for capacity */ 80 if (name = devattr(alias, "capacity")) { 82 devp->capacity = atoll(name);
|
/opensolaris-onvv-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_concat.c | 71 * nbytes - the desired capacity of the concat 356 * capacity using slices on disks in the input list. 380 uint64_t capacity = 0; local 410 while (capacity < nbytes) { 430 error = choose_slice((nbytes-capacity), npaths, slices, comps, 456 /* increment concat's capacity */ 459 capacity += csize; 473 if (capacity >= nbytes) { 486 if (capacity > 0) { 488 print_insufficient_capacity_msg(capacity); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/format/ |
H A D | auto_sense.c | 68 * Disk capacity root swap usr 143 * capacity of the configured lun. 181 struct scsi_capacity_16 *capacity, 189 struct scsi_capacity_16 *capacity); 230 static int adjust_disk_geometry(diskaddr_t capacity, uint_t *cyl, 237 diskaddr_t capacity, 262 * get vendor, product, revision and capacity info. 343 disk->capacity = label->capacity; 541 /* get the LBA size and capacity */ 825 struct scsi_capacity_16 capacity; local 943 generic_disk_sense( int fd, int can_prompt, struct dk_label *label, struct scsi_inquiry *inquiry, struct scsi_capacity_16 *capacity, char *disk_name) argument 1427 use_existing_disk_type( int fd, int can_prompt, struct dk_label *label, struct scsi_inquiry *inquiry, struct disk_type *disk_type, struct scsi_capacity_16 *capacity) argument 1505 diskaddr_t capacity; local 2144 adjust_disk_geometry(diskaddr_t capacity, uint_t *cyl, uint_t *nhead, uint_t *nsect) argument 2200 square_box( diskaddr_t capacity, uint_t *dim1, uint_t lim1, uint_t *dim2, uint_t lim2, uint_t *dim3, uint_t lim3) argument [all...] |
H A D | hardware_structs.h | 117 uint64_t capacity; member in struct:disk_type 124 uint64_t capacity; member in struct:efi_info
|
H A D | io.h | 122 uint64_t capacity);
|
H A D | ctlr_scsi.c | 2045 * formatting drives with huge capacity 2597 uscsi_read_capacity_16(fd, capacity) 2599 struct scsi_capacity_16 *capacity; 2605 (void) memset((char *)capacity, 0, sizeof (struct scsi_capacity_16)); 2611 ucmd.uscsi_bufaddr = (caddr_t)capacity; 2639 err_print("Read capacity 16 failed\n"); 2643 * Dump the capacity data if anyone's interested 2645 dump("Capacity: ", (caddr_t)capacity, 2649 capacity->sc_capacity = BE_64(capacity 3603 get_cur_protection_type(struct scsi_capacity_16 *capacity) argument [all...] |
H A D | label.c | 188 * The SCSI READ_CAPACITY command is used here to get the capacity of the 196 struct scsi_capacity_16 capacity; local 198 if (uscsi_read_capacity(cur_file, &capacity)) { 199 err_print("Warning: Unable to get capacity." 204 if (capacity.sc_capacity < ncyl * nhead * nsect) { 399 * written now is not way off from the actual capacity 549 label->capacity = minf.dki_capacity * minf.dki_lbsize / 512; 564 struct scsi_capacity_16 capacity; local 580 if (uscsi_read_capacity(fd, &capacity)) { 585 label->capacity [all...] |
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/ |
H A D | Sd.cxx | 219 Boolean Sd::lookupCapacityName(const StringC &name, Sd::Capacity &capacity) 224 capacity = Sd::Capacity(i);
|
/opensolaris-onvv-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Aggregate.java | 107 int capacity = (int)(((float)aggregations.size() * 3.0f) / 2.0f); 109 map = new HashMap <String, Aggregation> (capacity, 1.0f); 119 int capacity = (int)(((float)recordSequence * 3.0f) / 2.0f); 120 Set <Integer> ordinals = new HashSet <Integer> (capacity, 1.0f);
|
H A D | Aggregation.java | 147 int capacity = (int)(((float)records.size() * 3.0f) / 2.0f); 149 map = new HashMap <Tuple, AggregationRecord> (capacity, 1.0f);
|
/opensolaris-onvv-gate/usr/src/uts/sun/sys/dada/impl/ |
H A D | commands.h | 67 uint_t capacity; member in struct:dcd_capacity
|
/opensolaris-onvv-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | capacity.notes.txt | 38 how one is supposed to calculate capacity: 48 reliably calculate the capacity of an ATA drive, but I can't make 68 implement this algorithm in deriving the capacity and geometry 82 >reliably calculate the capacity of an ATA drive, but I can't make 100 Of course Read/Set Max do alter the drive's apparent capacity but assuming 105 53:58. Words 60:61 are the drive capacity. But even if you must use CHS 106 mode, words 60:61 are still the true drive capacity but words 57:58 are 107 the capacity that the current CHS geometry can address and [57:58] must be 141 The drive capacity is (num-cyl)*(favorite heads)*(favorite sectors). 146 drive capacity [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 288 static void cmlb_resync_geom_caches(struct cmlb_lun *cl, diskaddr_t capacity, 290 static int cmlb_read_fdisk(struct cmlb_lun *cl, diskaddr_t capacity, 295 static int cmlb_use_efi(struct cmlb_lun *cl, diskaddr_t capacity, int flags, 322 static void cmlb_convert_geometry(struct cmlb_lun *cl, diskaddr_t capacity, 599 * one bug in obtaining capacity (in sd): 602 * disks' capacity on x86 platform. And LBAs are addressed 620 * If capacity increasing by 1 causes disks' capacity 629 * sd uses (capacity -1) to calculate geometry; 633 * so that sd doesn't support a disk with capacity 1125 cmlb_efi_label_capacity(cmlb_handle_t cmlbhandle, diskaddr_t *capacity, void *tg_cookie) argument 1379 diskaddr_t capacity; local 1589 diskaddr_t capacity; local 1814 cmlb_convert_geometry(struct cmlb_lun *cl, diskaddr_t capacity, struct dk_geom *cl_g, void *tg_cookie) argument 1930 cmlb_resync_geom_caches(struct cmlb_lun *cl, diskaddr_t capacity, void *tg_cookie) argument 2342 cmlb_read_fdisk(struct cmlb_lun *cl, diskaddr_t capacity, void *tg_cookie) argument 2764 cmlb_use_efi(struct cmlb_lun *cl, diskaddr_t capacity, int flags, void *tg_cookie) argument 3237 diskaddr_t capacity; local 5158 diskaddr_t capacity; local 5338 diskaddr_t capacity; local 5492 diskaddr_t capacity; local 5658 diskaddr_t capacity; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 267 static int32_t get_floppy_geom(int32_t fd, uint32_t capacity, 269 static int32_t get_media_capacity(int32_t fd, uint32_t *capacity, 272 static int32_t scsi_ls120_format(uint_t fd, uint_t flavor, uint32_t capacity, 354 debug(5, "Read capacity : %d - %d errno = %d\n", 545 get_media_capacity(int32_t fd, uint32_t *capacity, uint32_t *blocksize) argument 592 * Generate capacity and blocksize information 595 *capacity = (uint32_t)((data[4] << 24) + (data[5] << 16) + 598 debug(1, "capacity is %x %x %x %x = %x", data[4], data[5], data[6], 599 data[7], *capacity); 616 uint32_t capacity; local 764 scsi_ls120_format(uint_t fd, uint_t flavor, uint32_t capacity, uint32_t blocksize) argument 861 uint32_t capacity; local 2188 uint32_t capacity; local 3040 get_floppy_geom(int32_t fd, uint32_t capacity, struct dk_geom *dkgeom) argument 3094 uint32_t capacity, blocksize; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/power/ |
H A D | svc-power | 51 while read device kbytes used avail capacity filesys; do
|
/opensolaris-onvv-gate/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg_spi.h | 284 uint64_t capacity; member in struct:__anon4199 295 uint64_t capacity; member in struct:__anon4200
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | cmlb.h | 158 * Report the capacity of the target (in system 190 * support getting capacity info. 268 * one bug in obtaining capacity (used for sd). 285 * Assumes a default label based on capacity for non-removable devices. 286 * If capacity > 1TB, EFI is assumed otherwise VTOC (default VTOC 335 * EIO i/o errors during read or get capacity 411 * Get capacity stored in EFI disk label. 415 * capacity pointer to capacity stored in EFI disk label. 422 * the label. If label is valid and is an EFI label, it stores the capacity [all...] |