Searched refs:disk (Results 51 - 75 of 179) sorted by relevance

12345678

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/leds/
H A DMakefile22 obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/md/
H A Ddm.c84 struct gendisk *disk; member in struct:mapped_device
842 static int dm_flush_all(request_queue_t *q, struct gendisk *disk, argument
1019 md->disk = alloc_disk(1);
1020 if (!md->disk)
1027 md->disk->major = _major;
1028 md->disk->first_minor = minor;
1029 md->disk->fops = &dm_blk_dops;
1030 md->disk->queue = md->queue;
1031 md->disk->private_data = md;
1032 sprintf(md->disk
[all...]
H A Draid1.c248 * Update disk head position estimator based on IRQ completion info.
250 static inline void update_head_pos(int disk, r1bio_t *r1_bio) argument
254 conf->mirrors[disk].head_position =
409 * This routine returns the disk from which the requested read should
411 * number - if this matches on the next IO then we use the last disk.
412 * There is also a per-disk 'last know head position' sector that is
415 * perfect sequential match then we pick the disk whose head is closest.
425 int new_disk = conf->last_used, disk = new_disk; local
435 * We take the first readable disk when above the resync window.
462 /* make sure the disk i
578 raid1_issue_flush(request_queue_t *q, struct gendisk *disk, sector_t *error_sector) argument
1580 int disk; local
1665 int disk = -1; local
1879 mirror_info_t *disk; local
[all...]
H A Ddm-log.c111 * The on-disk version of the metadata.
187 static void header_to_disk(struct log_header *core, struct log_header *disk) argument
189 disk->magic = cpu_to_le32(core->magic);
190 disk->version = cpu_to_le32(core->version);
191 disk->nr_regions = cpu_to_le64(core->nr_regions);
194 static void header_from_disk(struct log_header *core, struct log_header *disk) argument
196 core->magic = le32_to_cpu(disk->magic);
197 core->version = le32_to_cpu(disk->version);
198 core->nr_regions = le64_to_cpu(disk->nr_regions);
233 DMWARN("incompatible disk lo
[all...]
H A Draid10.c47 * on disk, there are adjacent stripes.
236 * Update disk head position estimator based on IRQ completion info.
474 * This routine returns the disk from which the requested read should
476 * number - if this matches on the next IO then we use the last disk.
477 * There is also a per-disk 'last know head position' sector that is
480 * perfect sequential match then we pick the disk whose head is closest.
491 int disk, slot, nslot; local
501 * the resync window. We take the first readable disk when
506 /* make sure that disk is operational */
508 disk
617 raid10_issue_flush(request_queue_t *q, struct gendisk *disk, sector_t *error_sector) argument
847 int disk = read_balance(conf, r10_bio); local
1643 int disk; local
1978 mirror_info_t *disk; local
[all...]
H A Dlinear.c95 static int linear_issue_flush(request_queue_t *q, struct gendisk *disk, argument
147 dev_info_t *disk = conf->disks + j; local
149 if (j < 0 || j > raid_disks || disk->rdev) {
150 printk("linear: disk numbering problem. Aborting!\n");
154 disk->rdev = rdev;
166 disk->size = rdev->size;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Dtxn007.tcl42 if { [string equal $txt {Times log flushed to disk}] == 1 } {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/test/
H A Dtestss.com5 $ exe_dir := sys$disk:[-.'__arch'.exe.apps]
11 $ dummycnf := sys$disk:[-.apps]openssl-vms.cnf
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/test/
H A Dtestss.com5 $ exe_dir := sys$disk:[-.'__arch'.exe.apps]
11 $ dummycnf := sys$disk:[-.apps]openssl-vms.cnf
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/
H A Dqlogicfas408.h108 int qlogicfas408_biosparam(struct scsi_device * disk,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dnbd.h64 struct gendisk *disk; member in struct:nbd_device
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/block/
H A Dcciss.c148 static int cciss_revalidate(struct gendisk *disk);
150 static int deregister_disk(struct gendisk *disk, drive_info_struct *drv,
469 static inline ctlr_info_t *get_host(struct gendisk *disk) argument
471 return disk->queue->queuedata;
474 static inline drive_info_struct *get_drv(struct gendisk *disk) argument
476 return disk->private_data;
497 * disk information. I don't think I really like this
684 struct gendisk *disk = bdev->bd_disk; local
685 ctlr_info_t *host = get_host(disk);
686 drive_info_struct *drv = get_drv(disk);
1291 struct gendisk *disk; local
1558 deregister_disk(struct gendisk *disk, drive_info_struct *drv, int clear_all) argument
2037 cciss_revalidate(struct gendisk *disk) argument
3375 struct gendisk *disk = hba[i]->gendisk[j]; local
3517 struct gendisk *disk = hba[i]->gendisk[j]; local
[all...]
H A Dcpqarray.c174 static int ida_revalidate(struct gendisk *disk);
185 static inline drv_info_t *get_drv(struct gendisk *disk) argument
187 return disk->private_data;
190 static inline ctlr_info_t *get_host(struct gendisk *disk) argument
192 return disk->queue->queuedata;
470 struct gendisk *disk = ida_gendisk[i][j]; local
472 sprintf(disk->disk_name, "ida/c%dd%d", i, j);
473 disk->major = COMPAQ_SMART2_MAJOR + i;
474 disk->first_minor = j<<NWD_SHIFT;
475 disk
1545 struct gendisk *disk = ida_gendisk[ctlr][i]; local
1561 struct gendisk *disk = ida_gendisk[ctlr][i]; local
1577 ida_revalidate(struct gendisk *disk) argument
[all...]
H A Dswim3.c191 int secpercyl; /* disk geometry information */
251 static int floppy_check_change(struct gendisk *disk);
252 static int floppy_revalidate(struct gendisk *disk);
950 static int floppy_check_change(struct gendisk *disk) argument
952 struct floppy_state *fs = disk->private_data;
956 static int floppy_revalidate(struct gendisk *disk) argument
958 struct floppy_state *fs = disk->private_data;
1110 struct gendisk *disk; local
1131 /* Now register that disk. Same comment about failure handling */
1133 disk
[all...]
H A Dumem.c18 * 10/22/01: Phap Nguyen - v2.1 Added disk partitioning
20 * - use stand disk partitioning (so fdisk works).
785 static int mm_revalidate(struct gendisk *disk) argument
787 struct cardinfo *card = disk->private_data;
788 set_capacity(disk, card->mm_size << 1);
814 static int mm_check_change(struct gendisk *disk) argument
816 /* struct cardinfo *dev = disk->private_data; */
1173 struct gendisk *disk = mm_gendisk[i]; local
1174 sprintf(disk->disk_name, "umem%c", 'a'+i);
1176 disk
[all...]
H A Dxd.c2 * This file contains the driver for an XT hard disk controller
24 * Fixed some problems with disk initialization and module initiation.
66 #define XD_INIT_DISK_DELAY (30) /* 30 ms delay during disk initialization */
188 struct gendisk *disk = alloc_disk(64); local
189 if (!disk)
192 disk->major = XT_DISK_MAJOR;
193 disk->first_minor = i<<6;
194 sprintf(disk->disk_name, "xd%c", i+'a');
195 disk->fops = &xd_fops;
196 disk
289 XD_INFO *disk = req->rq_disk->private_data; local
[all...]
H A Dsx8.c239 struct gendisk *disk; member in struct:carm_port
1006 /* TODO: scan and support non-disk devices */
1008 if (msg_data[i] == 0) { /* direct-access device (disk) */
1322 struct gendisk *disk = port->disk; local
1324 set_capacity(disk, port->capacity);
1325 add_disk(disk);
1484 struct gendisk *disk; local
1492 disk = alloc_disk(CARM_MINORS_PER_MAJOR);
1493 if (!disk) {
1527 struct gendisk *disk = host->port[i].disk; local
[all...]
H A Dps2esdi.c25 + Get disk parameters
265 for the ESDI disk subsystem. All we really do
372 ps2esdi_drives = 1; /* then we have only one physical disk! */ intg_esdi = 1;
400 struct gendisk *disk = alloc_disk(64); local
401 if (!disk)
403 disk->major = PS2ESDI_MAJOR;
404 disk->first_minor = i<<6;
405 sprintf(disk->disk_name, "ed%c", 'a'+i);
406 disk->fops = &ps2esdi_fops;
407 ps2esdi_gendisk[i] = disk;
411 struct gendisk *disk = ps2esdi_gendisk[i]; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/init/
H A Ddo_mounts_rd.c16 int __initdata rd_prompt = 1;/* 1 = prompt for RAM disk, 0 = don't prompt */
37 * This routine tries to find a RAM disk image to load, and returns the
148 "RAMDISK: Couldn't find valid RAM disk image starting at %d.\n",
162 int nblocks, i, disk; local
188 "RAM disk images\n");
237 printk(KERN_NOTICE "RAMDISK: Loading %dKiB [%ld disk%s] into ram disk... ",
239 for (i = 0, disk = 1; i < nblocks; i++) {
241 printk("done disk #%d.\n", disk
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/ide/
H A Dide-disk.c2 * linux/drivers/ide/ide-disk.c Version 1.18 Mar 05, 2003
15 * This is the IDE/ATA disk driver, as evolved from hd.c and ide.c.
17 * Version 1.00 move disk only code from ide.c to ide-disk.c
29 * the entire disk.
76 struct gendisk *disk; member in struct:ide_disk_obj
85 #define ide_disk_g(disk) \
86 container_of((disk)->private_data, struct ide_disk_obj, driver)
88 static struct ide_disk_obj *ide_disk_get(struct gendisk *disk) argument
93 idkp = ide_disk_g(disk);
698 idedisk_issue_flush(request_queue_t *q, struct gendisk *disk, sector_t *error_sector) argument
1099 struct gendisk *disk = inode->i_bdev->bd_disk; local
1130 struct gendisk *disk = inode->i_bdev->bd_disk; local
1213 idedisk_media_changed(struct gendisk *disk) argument
1227 idedisk_revalidate_disk(struct gendisk *disk) argument
[all...]
H A Dide-probe.c237 * Not an ATAPI device: looks like a "regular" hard disk
440 * (e.g. crw9624 as drive0 with disk as slave)
655 * I know of at least one disk who takes 31 seconds, I use 35
761 * - The firmware hard reset the disk before booting the kernel,
1185 request_module("ide-disk");
1214 void ide_register_region(struct gendisk *disk) argument
1216 blk_register_region(MKDEV(disk->major, disk->first_minor),
1217 disk->minors, NULL, exact_match, exact_lock, disk); local
1222 ide_unregister_region(struct gendisk *disk) argument
1230 ide_init_disk(struct gendisk *disk, ide_drive_t *drive) argument
[all...]
H A DMakefile47 obj-$(CONFIG_BLK_DEV_IDEDISK) += ide-disk.o
H A Dide-floppy.c144 * Flexible disk page.
206 struct gendisk *disk; member in struct:ide_floppy_obj
237 /* Copy of the flexible disk page */
431 #define ide_floppy_g(disk) \
432 container_of((disk)->private_data, struct ide_floppy_obj, driver)
434 static struct ide_floppy_obj *ide_floppy_get(struct gendisk *disk) argument
439 floppy = ide_floppy_g(disk);
599 rq->rq_disk = floppy->disk;
1252 rq.rq_disk = floppy->disk;
1258 * Look at the flexible disk pag
1836 struct gendisk *disk = inode->i_bdev->bd_disk; local
1898 struct gendisk *disk = inode->i_bdev->bd_disk; local
1997 idefloppy_media_changed(struct gendisk *disk) argument
2010 idefloppy_revalidate_disk(struct gendisk *disk) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/cdrom/
H A Dmcdx.c170 int xa; /* 1 if xa disk */
171 int audio; /* 1 if audio disk */
202 struct gendisk *disk; member in struct:s_drive_stuff
233 static int mcdx_block_media_changed(struct gendisk *disk) argument
235 struct s_drive_stuff *p = disk->private_data;
761 xinfo("open() audio disk found\n");
763 xinfo("open() %s%s disk found\n",
1028 del_gendisk(stuffp->disk);
1033 put_disk(stuffp->disk);
1068 struct gendisk *disk; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/partitions/
H A Dldm.c165 ldm_error("PRIVHEAD disk size doesn't match real disk size");
315 * Read and compare all three privheads from disk.
317 * The privheads on disk show the size and location of the main disk area and
319 * @hd, which contains the real size of the disk.
370 ldm_crit ("Database extends beyond the end of the disk.");
531 * ldm_validate_partition_table - Determine whether bdev might be a dynamic disk
535 * disk or not. It looks for an MS-DOS-style partition table containing at
543 * Return: 'true' @bdev is a dynamic disk
629 struct vblk *disk; local
907 struct vblk_disk *disk; local
946 struct vblk_disk *disk; local
[all...]

Completed in 195 milliseconds

12345678