Searched refs:disk (Results 176 - 200 of 200) sorted by relevance

12345678

/linux-master/drivers/scsi/
H A Dqlogicfas408.c43 #include <linux/blkdev.h> /* to get disk capacity */
495 int qlogicfas408_biosparam(struct scsi_device *disk, struct block_device *dev,
H A Dvirtio_scsi.c543 bi = blk_get_integrity(rq->q->disk);
H A Dscsi_lib.c636 add_disk_randomness(req->q->disk);
827 * read past the end of the disk.
H A Datp870u.c1695 static int atp870u_biosparam(struct scsi_device *disk, struct block_device *dev, argument
/linux-master/drivers/md/
H A Ddm-table.c365 if (dev == disk_devt(t->md->disk))
1122 static bool integrity_profile_exists(struct gendisk *disk) argument
1124 return !!blk_get_integrity(disk);
1128 * Get a disk whose integrity profile reflects the table's profile.
1746 * - this is especially relevant if .io_hints is emulating a disk-managed
2050 disk_update_readahead(t->md->disk);
H A Draid5.c120 /* Find first data disk in a raid6 stripe */
132 static inline int raid6_next_disk(int disk, int raid_disks) argument
134 disk++;
135 return (disk < raid_disks) ? disk : 0;
139 * We need to map each disk to a 'slot', where the data disks are slot
140 * 0 .. raid_disks-3, the parity disk is raid_disks-2 and the Q disk
1774 /* Q disk is one of the missing disks */
2956 * Output: index of the data and parity disk, an
7413 struct disk_info *disk; local
8213 int disk; local
[all...]
H A Ddm-thin-metadata.c11 #include "persistent-data/dm-space-map-disk.h"
99 * Little endian on-disk superblock and device details.
542 struct thin_disk_superblock *disk)
544 memcpy(&disk->metadata_space_map_root,
548 memcpy(&disk->data_space_map_root,
541 copy_sm_roots(struct dm_pool_metadata *pmd, struct thin_disk_superblock *disk) argument
H A Ddm-integrity.c56 * On disk structures
1499 dm_integrity_io_error(fr->ic, "flushing disk cache", -EIO);
1953 * disk cache anyway.
3654 struct gendisk *disk = dm_disk(dm_table_get_md(ti->table)); local
3663 blk_integrity_register(disk, &bi);
/linux-master/drivers/block/rnbd/
H A Drnbd-clt.c368 struct rnbd_clt_dev *dev = rq->q->disk->private_data;
924 static int rnbd_client_open(struct gendisk *disk, blk_mode_t mode) argument
926 struct rnbd_clt_dev *dev = disk->private_data;
969 * should be read or written to the disk (bi_size) can differ.
1115 struct rnbd_clt_dev *dev = rq->q->disk->private_data;
/linux-master/fs/quota/
H A Dquota_tree.c247 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk) argument
252 if (disk[i])
/linux-master/fs/reiserfs/
H A Ditem_ops.c734 #error Item types must use disk-format assigned values.
/linux-master/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c599 SYM53C500_biosparm(struct scsi_device *disk, argument
611 if (info_array[2] > 1024) { /* big disk */
/linux-master/block/
H A Delevator.c470 error = kobject_add(&e->kobj, &q->disk->queue_kobj, "iosched");
633 * We are called before adding disk, when there isn't any FS I/O,
H A Dbfq-iosched.c502 unsigned int wrap = 0; /* bit mask: requests behind the disk head? */
1105 * - with a virtual disk stacked on a slow low-end 5400rpm HDD
1458 * estimated disk peak rate; otherwise return the default max budget
4038 * let either the budget timeout or the disk
4043 * candidate to boost the disk throughput.
4192 * in the slower disk zones tend to be slow(er) even
4194 * rate is likely to be an average over the disk
4356 * Processes doing I/O in the slower disk zones will tend to
4358 * estimated peak rate is actually an average over the disk
4859 * not disable disk idlin
[all...]
H A Dkyber-iosched.c368 kqd->dev = disk_devt(q->disk);
/linux-master/arch/x86/boot/
H A Dheader.S189 # on disk
/linux-master/drivers/cdrom/
H A Dcdrom.c586 int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi) argument
601 cdi->disk = disk;
602 disk->cdi = cdi;
2149 int max_frames = (queue_max_sectors(cdi->disk->queue) << 9) /
3510 if (cdrom_print_info("\nCan select disk:",
/linux-master/drivers/scsi/esas2r/
H A Datvda.h928 struct atto_vda_ae_disk disk; member in union:atto_vda_ae
/linux-master/drivers/nvme/host/
H A Dioctl.c120 struct block_device *bdev = ns ? ns->disk->part0 : NULL;
/linux-master/kernel/power/
H A Dhibernate.c3 * kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support.
54 * image to/from disk. This would later be used in 'kernel/power/swap.c'
694 * Valid image is on the disk, if we continue we risk serious data
1098 * /sys/power/disk - Control hibernation mode.
1105 * The sysfs file /sys/power/disk provides an interface for selecting the
1119 * string representation (as returned by reading from /sys/power/disk) back
1120 * into /sys/power/disk.
1208 power_attr(disk); variable
1261 pm_pr_dbg("Configured hibernation resume from disk to %u\n",
/linux-master/drivers/s390/block/
H A Ddasd.c306 * (a fake disk was already added to allow formatting).
314 /* make disk known with correct capacity */
380 * and if it is create fake disk for formatting.
3244 static int dasd_open(struct gendisk *disk, blk_mode_t mode) argument
3249 base = dasd_device_from_gendisk(disk);
3295 static void dasd_release(struct gendisk *disk) argument
3297 struct dasd_device *base = dasd_device_from_gendisk(disk);
3306 * Return disk geometry.
/linux-master/drivers/message/fusion/
H A Dmptbase.c5154 int disk; local
5161 disk = pRaidEventData->PhysDiskNum;
5174 ioc->name, disk, volume);
5217 ioc->name, disk);
5263 ioc->name, disk);
5273 ioc->name, disk);
5727 * mpt_raid_phys_disk_pg0 - returns phys disk page zero
5729 * @phys_disk_num: io unit unique phys disk num generated by the ioc
5800 * @phys_disk_num: io unit unique phys disk num generated by the ioc
5863 * mpt_raid_phys_disk_pg1 - returns phys disk pag
[all...]
/linux-master/drivers/mtd/
H A Dmtdswap.c1443 d->dev = disk_to_dev(mbd_dev->disk);
/linux-master/kernel/trace/
H A Dblktrace.c561 * When tracing the whole disk reuse the existing debugfs directory
1054 r.device_to = cpu_to_be32(disk_devt(rq->q->disk));
/linux-master/drivers/md/bcache/
H A Dbtree.c944 * disk node. Check the freed list before allocating a new one:
997 * in from disk if necessary.
1784 dc = container_of(d, struct cached_dev, disk);

Completed in 708 milliseconds

12345678