Searched refs:disk (Results 101 - 123 of 123) sorted by relevance

12345

/drivers/md/
H A Ddm-ioctl.c506 struct gendisk *disk; local
543 disk = dm_disk(hc->md);
544 nl->dev = huge_encode_dev(disk_devt(disk));
682 struct gendisk *disk = dm_disk(md); local
695 param->dev = huge_encode_dev(disk_devt(disk));
710 if (get_disk_ro(disk))
H A Draid5.c186 /* Find first data disk in a raid6 stripe */
198 static inline int raid6_next_disk(int disk, int raid_disks) argument
200 disk++;
201 return (disk < raid_disks) ? disk : 0;
205 * We need to map each disk to a 'slot', where the data disks are slot
206 * 0 .. raid_disks-3, the parity disk is raid_disks-2 and the Q disk
1291 /* Q disk is one of the missing disks */
2213 * Output: index of the data and parity disk, an
5713 struct disk_info *disk; local
6416 int disk; local
[all...]
H A Ddm-thin-metadata.c10 #include "persistent-data/dm-space-map-disk.h"
93 * Little endian on-disk superblock and device details.
462 struct thin_disk_superblock *disk)
464 memcpy(&disk->metadata_space_map_root,
468 memcpy(&disk->data_space_map_root,
461 copy_sm_roots(struct dm_pool_metadata *pmd, struct thin_disk_superblock *disk) argument
/drivers/s390/block/
H A Ddcssblk.c29 static void dcssblk_release(struct gendisk *disk, fmode_t mode);
785 dcssblk_release(struct gendisk *disk, fmode_t mode) argument
787 struct dcssblk_dev_info *dev_info = disk->private_data;
H A Ddasd.c327 * (a fake disk was already added to allow formatting).
336 /* make disk known with correct capacity */
378 * and if it is create fake disk for formatting.
418 struct gendisk *disk; local
426 disk = device->block->gdp;
427 kobject_uevent(&disk_to_dev(disk)->kobj, KOBJ_CHANGE);
430 disk = device->block->bdev->bd_disk;
431 disk_part_iter_init(&piter, disk, DISK_PITER_INCL_PART0);
445 struct gendisk *disk; local
457 disk
3152 dasd_release(struct gendisk *disk, fmode_t mode) argument
[all...]
/drivers/ide/
H A Dide-cd_ioctl.c84 * makes it impossible to use for proper event reporting, so disk->events
104 /* Eject the disk if EJECTFLAG is 0.
105 If EJECTFLAG is 1, try to reload the disk. */
309 ret = blk_execute_rq(drive->queue, cd->disk, rq, 0);
H A Dide-disk.c14 * This is the IDE/ATA disk driver, as evolved from hd.c and ide.c.
38 #include "ide-disk.h"
78 * __ide_do_rw_disk() issues READ and WRITE commands to a disk,
760 static int ide_disk_init_media(ide_drive_t *drive, struct gendisk *disk) argument
765 static int ide_disk_set_doorlock(ide_drive_t *drive, struct gendisk *disk, argument
H A DKconfig70 tristate "generic ATA/ATAPI disk support"
81 bool "ATA disk support"
341 Linux. This may slow disk throughput by a few percent, but at least
675 these, those machine used to have the hard disk on hdc and the
677 hard disk and hdc for CD-ROM.
/drivers/scsi/
H A Dqlogicfas408.c43 #include <linux/blkdev.h> /* to get disk capacity */
468 int qlogicfas408_biosparam(struct scsi_device *disk, struct block_device *dev,
H A DNCR53c406a.c750 static int NCR53c406a_biosparm(struct scsi_device *disk, argument
762 if (info_array[2] > 1024) { /* big disk */
H A Du14-34f.c81 * + Removed error messages while a disk drive is powered up at
98 * translation (returned by scsicam_bios_param) as disk geometry.
99 * The default is et:n, which uses the disk geometry jumpered
161 * Linked commands to each disk device are now reordered by elevator
206 * disk drives.
223 * Log and do a retry when a disk drive returns a target status
303 * get acceptable performance while using floppy drive and hard disk
348 * et:y use disk geometry returned by scsicam_bios_param;
349 * et:n use disk geometry jumpered on the board;
1530 static int u14_34f_bios_param(struct scsi_device *disk, argument
[all...]
H A Datp870u.c3113 static int atp870u_biosparam(struct scsi_device *disk, struct block_device *dev, argument
/drivers/block/
H A Dxsysace.c621 ace_dump_mem(ace->cf_id, 512); /* Debug: Dump out disk ID */
624 /* Error occurred, disable the disk */
632 /* Record disk parameters */
918 static void ace_release(struct gendisk *disk, fmode_t mode) argument
920 struct ace_device *ace = disk->private_data;
H A Dfloppy.c74 * disk types.
88 * opposite side of the disk, leaving the sector IDs alone (i.e. Commodore's
156 #define DCL_DEBUG /* debug disk change line */
336 * Maximum disk size (in kilobytes).
337 * This default is used whenever the current disk size is unknown.
374 | | | | | | | Spindown offset (where disk stops)
404 * Frequency of disk change checks */
422 * tells if the disk is in Commodore 1581 format, which means side 0 sectors
423 * are located on side 1 of the disk but with a side 0 ID, and vice-versa.
424 * This is the same as the Sharp MZ-80 5.25" CP/M disk forma
3621 floppy_release(struct gendisk *disk, fmode_t mode) argument
3740 floppy_check_events(struct gendisk *disk, unsigned int clearing) argument
3834 floppy_revalidate(struct gendisk *disk) argument
[all...]
/drivers/block/drbd/
H A Ddrbd_req.c36 /* Update disk stats at start of I/O request */
51 /* Update disk stats when completing request upwards */
286 /* Update disk stats */
665 /* I'd rather not detach from local disk just because it
672 * no local disk,
929 if (device->state.disk == D_UP_TO_DATE)
931 if (device->state.disk != D_INCONSISTENT)
1217 /* Update disk stats */
1573 if (get_ldev(device)) { /* implicit state.disk >= D_INCONSISTENT */
1615 * resp. the local disk,
[all...]
/drivers/usb/gadget/legacy/
H A DKconfig238 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
/drivers/mtd/
H A Dmtdswap.c1320 struct gendisk *gd = d->mbd_dev->disk;
1530 d->dev = disk_to_dev(mbd_dev->disk);
/drivers/scsi/esas2r/
H A Datvda.h928 struct atto_vda_ae_disk disk; member in union:atto_vda_ae
/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c602 SYM53C500_biosparm(struct scsi_device *disk, argument
614 if (info_array[2] > 1024) { /* big disk */
/drivers/message/fusion/
H A Dmptbase.c5152 int disk; local
5159 disk = pRaidEventData->PhysDiskNum;
5172 ioc->name, disk, volume);
5215 ioc->name, disk);
5261 ioc->name, disk);
5271 ioc->name, disk);
5715 * mpt_raid_phys_disk_pg0 - returns phys disk page zero
5717 * @phys_disk_num: io unit unique phys disk num generated by the ioc
5788 * @phys_disk_num: io unit unique phys disk num generated by the ioc
5851 * mpt_raid_phys_disk_pg1 - returns phys disk pag
[all...]
/drivers/char/
H A DKconfig152 or parallel port CD-ROM/disk support.
267 power-off and for which writing to disk is too insecure. Note
/drivers/cdrom/
H A Dcdrom.c628 if (cdi->disk)
2162 struct request_queue *q = cdi->disk->queue;
2210 if (blk_execute_rq(q, cdi->disk, rq, 0)) {
3507 if (cdrom_print_info("\nCan select disk:",
/drivers/md/bcache/
H A Dbtree.c908 * disk node. Check the freed list before allocating a new one:
961 * in from disk if necessary.
1683 dc = container_of(d, struct cached_dev, disk);

Completed in 501 milliseconds

12345