Searched refs:heads (Results 1 - 25 of 118) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/scripts/
H A DamuFormat.sh57 cylinders=245 heads=2 cluster_size=8
62 cylinders=489 heads=4 cluster_size=4
67 cylinders=245 heads=2 cluster_size=8
73 cylinders=2327 heads=16 cluster_size=64
78 cylinders=489 heads=8 cluster_size=4
95 mpartition -c -t$cylinders -h$heads -s32 -b32 "$drive"
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/
H A Ddevice_io.h44 unsigned char heads; member in struct:hd_geometry
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/
H A DMakefile5 heads-y := head-uc-fr401.o head-uc-fr451.o head-uc-fr555.o
6 heads-$(CONFIG_MMU) := head-mmu-fr451.o
10 obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o kernel_thread.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dmpartition.c44 (sector(x)-1+(head(x)+cyl(x)*used_dev->heads)*used_dev->sectors)
53 static void set_offset(hsc *h, int offset, int heads, int sectors) argument
57 if(! heads || !sectors)
63 head = offset % heads;
64 cyl = offset / heads;
74 int heads, int sectors, int activate, int type)
76 set_offset(&partTable->start, begin, heads, sectors);
77 set_offset(&partTable->end, end-1, heads, sectors);
115 (used_dev->heads != head(partTable[i].end)+1 ||
202 * number of heads an
73 setBeginEnd(struct partition *partTable, int begin, int end, int heads, int sectors, int activate, int type) argument
213 unsigned long heads, sectors, cylinders, temp; local
[all...]
H A Dmformat.c69 set_word(boot->nheads, dev->heads);
71 *tot_sectors = dev->heads * dev->sectors * dev->tracks - DWORD(nhs);
579 static int old_dos_size_to_geom(size_t size, int *cyls, int *heads, int *sects) argument
586 old_dos[i].heads == size) {
588 *heads = old_dos[i].heads;
605 dev->heads == old_dos[i].heads &&
630 if (dev->heads == 1)
640 if (dev->heads
712 int heads=dev->heads; local
[all...]
H A Dpartition.h49 int heads, int sector, int activate, int type);
H A Dconfig.c133 unsigned short heads; member in struct:__anon1207
168 { "HEADS", OFFS(heads), T_UINT },
401 devices[cur_dev].heads ||
404 !devices[cur_dev].heads ||
406 syntax("incomplete geometry: either indicate all of track/heads/sectors or none of them", 0);
496 if(!dev->heads)
497 dev->heads = default_formats[i].heads;
549 devices[cur_dev].heads = 0;
583 &devices[cur_dev].tracks,&devices[cur_dev].heads,
[all...]
H A Ddevices.c81 orig_dev->heads != dev->heads ||
178 #define HEADS(floppy) floppy.fg.heads
876 SET_INT(gdbuf.params.heads,dev->nheads);
879 dev->nheads = gdbuf.params.heads;
884 gdbuf.params.pseccyl = gdbuf.params.psectrk * gdbuf.params.heads;
1030 * the number of heads and sectors must match exactly, to avoid
1040 if(compare(dev->heads, HEADS(floppy))){
1041 HEADS(floppy) = dev->heads;
1044 dev->heads
[all...]
H A Dminfo.c120 printf("heads: %d\n", dev.heads);
123 dev.tracks, dev.heads, dev.sectors);
144 printf("heads: %d\n", WORD(nheads));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dfdisk_sun.c87 SUN_SSWAP32(start / (heads * sectors));
111 "e.g. heads, sectors, cylinders and partitions\n"
114 heads = SUN_SSWAP16(sunlabel->ntrks);
276 heads = geometry.heads;
280 heads = 0;
291 heads = read_int(1, heads, 1024, 0, "Heads");
313 heads = p->ntrks;
322 cylinders, SUN_SSWAP16(sunlabel->nacyl), heads, sector
[all...]
H A Dfdisk.c43 unsigned char heads; member in struct:hd_geometry
68 static unsigned heads, sectors, cylinders; variable
273 (sector(s) - 1 + sectors * ((h) + heads * cylinder(s,c)))
279 h = sector % heads; \
280 sector /= heads; \
726 puts("h\tchange number of heads");
742 puts("h\tchange number of heads");
755 puts("h\tchange number of heads");
771 puts("h\tchange number of heads");
884 if (dos_compatible_flag && (start/(sectors*heads) > 102
[all...]
H A Dfdisk_sgi.c293 printf("\nDisk %s (SGI disk label): %d heads, %d sectors\n"
298 disk_device, heads, sectors, cylinders,
306 "%d heads, %d sectors, %d cylinders\n"
308 disk_device, heads, sectors, cylinders,
362 return heads * sectors * cylinders;
684 if (heads * sectors * 5 < sgi_get_lastblock())
685 sgi_set_partition(n, 0, heads * sectors * 5, SGI_VOLHDR);
786 heads = geometry.heads;
790 cylinders = longsectors / (heads * sector
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dscsicam.c209 * number of heads and maximizes the number of cylinders. This
210 * will support rather large disks before the number of heads
221 unsigned long heads, sectors, cylinders, temp; local
226 temp = cylinders * sectors; /* Compute divisor for heads */
227 heads = capacity / temp; /* Compute value for number of heads */
229 heads++; /* Else, increment number of heads */
230 temp = cylinders * heads; /* Compute divisor for sectors */
235 temp = heads * sector
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Damifd.h33 unsigned int heads; /* number of heads */ member in struct:fd_drive_type
H A Dadfs_fs.h13 __u8 heads; member in struct:adfs_discrecord
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dssfdc.c25 unsigned char heads; member in struct:ssfdcr_record
328 ssfdc->heads = 16;
330 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors);
332 ((long)ssfdc->sectors * (long)ssfdc->heads));
335 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors,
336 (long)ssfdc->cylinders * (long)ssfdc->heads *
339 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders *
429 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors);
431 geo->heads = ssfdc->heads;
[all...]
H A Dnftlcore.c80 nftl->heads = 16;
82 temp = nftl->cylinders * nftl->heads;
87 nftl->heads = nftl->mbd.size / temp;
90 nftl->heads++;
91 temp = nftl->heads * nftl->sectors;
96 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) {
99 mbd.size == heads * cylinders * sectors
105 nftl->cylinders, nftl->heads , nftl->sectors,
106 (long)nftl->cylinders * (long)nftl->heads *
777 geo->heads
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/
H A Dnftl.h27 unsigned char heads; member in struct:NFTLrecord
H A Dinftl.h35 unsigned char heads; member in struct:INFTLrecord
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dxd.c198 set_capacity(disk, p->heads * p->cylinders * p->sectors);
200 p->cylinders, p->heads, p->sectors);
316 geo->heads = p->heads;
374 head = track % p->heads;
375 cylinder = track / p->heads;
624 xd_info[drive].heads = (u_char)(xd_geo[3 * drive + 1]);
675 xd_info[drive].heads = (u_char)(geometry_table[n][1]); /* heads */
684 xd_setparam(CMD_DTCSETPARAM,drive,xd_info[drive].heads,xd_inf
974 xd_setparam(u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc) argument
[all...]
H A Dcpqarray.h51 unsigned heads; member in struct:__anon4124
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acorn/block/
H A Dmfmhd.c158 unsigned char heads; member in struct:mfm_info
639 cmdb[6] = mfm_info[drive].heads - 1; /* Number of heads */
784 start_head = track % p->heads;
788 sectors_to_next_cyl = (p->heads - (start_head + 1)) * p->sectors;
797 raw_cmd.cylinder = track / p->heads;
977 p->cylinders * p->heads * p->sectors / 4096,
978 p->cylinders, p->heads, p->sectors,
980 set_capacity(disk, p->cylinders * p->heads * p->sectors / 2);
988 * We first recalibrate the disk, then try to probe sectors, heads an
1156 xd_set_geometry(struct block_device *bdev, unsigned char secsptrack, unsigned char heads, unsigned int secsize) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/
H A Dacorn.c193 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) *
246 unsigned long start_sect, nr_sects, sectscyl, heads; local
263 heads = dr->heads + ((dr->lowsector >> 6) & 1);
264 sectscyl = dr->secspertrack * heads;
273 xd_set_geometry(bdev, dr->secspertrack, heads, 1);
/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));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_stub.c144 * minor numbers to secondary heads of multi-headed cards
148 drm_head_t **heads = drm_heads; local
154 for (minor = 0; minor < drm_cards_limit; minor++, heads++) {
155 if (!*heads) {
176 *heads = head;

Completed in 320 milliseconds

12345