• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/

Lines Matching defs:disk

24  * This routine provides access to disk space (termed "DASD" in historical
28 * All disk operations are performed by sending messages back and forth to
63 * We only support 7 partitions per physical disk....so with minor
112 * Number of disk I/O requests we've sent to OS/400
117 * This is our internal structure for keeping track of disk devices
127 struct gendisk *disk;
171 pr_warning("bad rc opening disk: %d:0x%04x (%s)\n",
194 static int viodasd_release(struct gendisk *disk, fmode_t mode)
196 struct viodasd_device *d = disk->private_data;
223 struct gendisk *disk = bdev->bd_disk;
224 struct viodasd_device *d = disk->private_data;
229 get_capacity(disk) / (geo->sectors * geo->heads);
306 pr_warning("error allocating disk event buffer\n");
330 bevent->disk = DEVICE_NO(d);
350 pr_warning("error sending disk event to OS/400 (rc %d)\n",
392 * Probe a single disk and fill in the viodasd_device structure
454 pr_warning("cannot allocate virtual device for disk %d\n",
461 * will finish the setup of the disk below.
466 /* create the request queue for the disk */
470 pr_warning("cannot allocate queue for disk %d\n", dev_no);
475 pr_warning("cannot allocate disk structure for disk %d\n",
481 d->disk = g;
499 pr_info("disk %d: %lu sectors (%lu MB) CHS=%d/%d/%d sector size %d%s\n",
536 * Restart all queues, starting with the one _after_ the disk given,
544 if (viodasd_devices[i].disk)
545 blk_run_queue(viodasd_devices[i].disk->queue);
547 if (viodasd_devices[i].disk)
548 blk_run_queue(viodasd_devices[i].disk->queue);
626 * disk information in the response, so update it. The
638 &viodasd_devices[bevent->disk];
675 if (d->disk == NULL)
697 if (d->disk) {
698 del_gendisk(d->disk);
699 blk_cleanup_queue(d->disk->queue);
700 put_disk(d->disk);
701 d->disk = NULL;
782 * all existing disk, so ignore the failure.