Searched refs:capacity (Results 1 - 25 of 121) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/scsi/
H A Dscsicam.h15 extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
16 extern int scsi_partsize(unsigned char *buf, unsigned long capacity,
H A Dsd.h30 * Size of the initial data buffer for mode and read capacity data
40 sector_t capacity; /* size in 512-byte sectors */ member in struct:scsi_disk
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dscsicam.c24 static int setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds,
47 * Function : int scsicam_bios_param (struct block_device *bdev, ector_t capacity, int *ip)
57 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip) argument
60 u64 capacity64 = capacity; /* Suppress gcc warning */
68 ret = scsi_partsize(p, (unsigned long)capacity, (unsigned int *)ip + 2,
76 ret = setsize((unsigned long)capacity, (unsigned int *)ip + 2,
83 if ((capacity >> 11) > 65534) {
91 if (capacity > 65535*63*255)
94 ip[2] = (unsigned long)capacity / (ip[0] * ip[1]);
103 * capacity,unsigne
112 scsi_partsize(unsigned char *buf, unsigned long capacity, unsigned int *cyls, unsigned int *hds, unsigned int *secs) argument
217 setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds, unsigned int *secs) argument
[all...]
H A Dsr.h32 unsigned capacity; /* size in blocks */ member in struct:scsi_cd
H A Dsr.c201 /* If the disk changed, the capacity will now be different,
269 cd->capacity - error_sector < 4 * 75)
577 cd->capacity = 0x1fffff;
586 cd->cdi.capacity = 1;
595 set_capacity(disk, cd->capacity);
648 cd->capacity = 0x1fffff;
651 cd->capacity = 1 + ((buffer[0] << 24) |
670 cd->capacity *= 4;
677 cd->capacity = 0;
686 set_capacity(cd->disk, cd->capacity);
[all...]
H A Dsd.c623 diskinfo[2] = sdkp->capacity >> 11;
627 host->hostt->bios_param(sdp, bdev, sdkp->capacity, diskinfo);
629 scsicam_bios_param(bdev, sdkp->capacity, diskinfo);
693 sdkp->capacity = 0;
1127 * read disk capacity
1214 or they are present but the read capacity command fails */
1216 sdkp->capacity = 0; /* unknown mapped to zero - as usual */
1225 sdkp->capacity = 1 + (sector_t) 0xffffffff;
1234 if(sizeof(sdkp->capacity) > 4) {
1243 sdkp->capacity
[all...]
H A Dqlogicfas408.h110 sector_t capacity, int ip[]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/include/private/
H A Dmd5.h36 size_t capacity; member in struct:__anon848
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/zlib-1.2.3/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs27 public CircularBuffer(int capacity) argument
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/zlib-1.2.3/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs27 public CircularBuffer(int capacity) argument
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pptp/
H A Dpqueue.h22 int capacity; member in struct:pqueue
H A Dpqueue.c43 if (newent->capacity >= packlen) {
59 } /* end if capacity >= packlen */
71 DEBUG_CMD(log("realloc capacity %d to %d",newent->capacity, packlen););
79 newent->capacity = packlen;
82 DEBUG_CMD(log("Recycle entry from freelist. Capacity: %d", newent->capacity););
92 newent->capacity = 0;
97 if ( ! newent->capacity ) {
107 newent->capacity = size;
108 } /* endif ! capacity */
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daiclib.h137 aic_sector_div(sector_t capacity, int heads, int sectors) argument
140 sector_div(capacity, (heads * sectors));
141 return (int)capacity;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/
H A DMultipleNIODataEntry.java74 if(this.data_nio.capacity() < 8)
H A DMultipleKeyNIODataEntry.java74 if(this.data_nio.capacity() < 16)
H A DMultipleRecnoNIODataEntry.java78 if(this.data_nio.capacity() < 12)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Dalauda.h75 unsigned long capacity; /* total media size in bytes */ member in struct:alauda_media_info
H A Dsddr55.c55 unsigned long capacity; /* Size of card in bytes */ member in struct:sddr55_card_info
526 US_DEBUGP("Reading capacity...\n");
614 if (!info->capacity)
617 numblocks = info->capacity >> (info->blockshift + info->pageshift);
746 unsigned long capacity; local
812 capacity = sddr55_get_capacity(us);
814 if (!capacity) {
819 info->capacity = capacity;
823 info->max_log_blks = ((info->capacity >> (inf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dmpartition.c177 * Function : static int setsize(unsigned long capacity,unsigned int *cyls,
181 * SCSI disk in terms of lost space of size capacity, storing
200 * setsize() converts a read capacity value to int 13h
210 static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, argument
219 heads = capacity / temp; /* Compute value for number of heads */
220 if (capacity % temp) { /* If no remainder, done! */
223 sectors = capacity / temp; /* Compute value for sectors per
225 if (capacity % temp) { /* If no remainder, done! */
228 cylinders = capacity / temp;/* Compute number of cylinders */
239 static void setsize0(unsigned long capacity,unsigne argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/
H A Dbitwriter.c74 * The default capacity here doesn't matter too much. The buffer always grows
105 unsigned capacity; /* capacity of buffer in words */ member in struct:FLAC__BitWriter
134 if(bw->capacity >= new_capacity)
137 /* round up capacity increase to the nearest FLAC__BITWRITER_DEFAULT_INCREMENT */
138 if((new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT)
139 new_capacity += FLAC__BITWRITER_DEFAULT_INCREMENT - ((new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT);
141 FLAC__ASSERT(0 == (new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT);
142 FLAC__ASSERT(new_capacity > bw->capacity);
149 bw->capacity
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/metaflac/
H A Doptions.h194 unsigned capacity; member in struct:__anon888::__anon889
205 unsigned capacity; member in struct:__anon888::__anon890
H A Doptions.c140 options->ops.capacity = 0;
144 options->args.capacity = 0;
714 if(options->ops.capacity == 0) {
715 options->ops.capacity = 50;
716 if(0 == (options->ops.operations = (Operation*)malloc(sizeof(Operation) * options->ops.capacity)))
718 memset(options->ops.operations, 0, sizeof(Operation) * options->ops.capacity);
720 if(options->ops.capacity <= options->ops.num_operations) {
721 unsigned original_capacity = options->ops.capacity;
722 if(options->ops.capacity > SIZE_MAX / 2) /* overflow check */
724 options->ops.capacity *
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mmc/
H A Dcard.h35 unsigned int capacity; member in struct:mmc_csd
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-disk.c23 * Version 1.05 add capacity support for ATA3 >= 8GB
331 * Queries for true maximum capacity of the drive.
484 unsigned long long capacity, set_max; local
487 capacity = drive->capacity64;
493 if (set_max <= capacity)
497 "\tcurrent capacity is %llu sectors (%llu MB)\n"
498 "\tnative capacity is %llu sectors (%llu MB)\n",
500 capacity, sectors_to_MB(capacity),
515 * Compute drive->capacity, th
766 unsigned long long capacity; local
901 unsigned long long capacity; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpd.c223 int capacity; /* Size of this volume in sectors */ member in struct:pd_unit
670 disk->capacity = le32_to_cpu(*(__le32 *) (pd_scratch + 120));
672 disk->capacity = disk->sectors * disk->heads * disk->cylinders;
687 disk->capacity, disk->capacity / 2048,
691 if (disk->capacity)
755 geo->cylinders = disk->capacity / (geo->heads * geo->sectors);
806 set_capacity(p, disk->capacity);
858 disk->capacity = 0;
892 set_capacity(disk->gd, disk->capacity);
[all...]

Completed in 404 milliseconds

12345