/drivers/block/ |
H A D | cciss.c | 170 static void cciss_release(struct gendisk *disk, fmode_t mode); 175 static int cciss_revalidate(struct gendisk *disk); 1065 static inline ctlr_info_t *get_host(struct gendisk *disk) argument 1067 return disk->queue->queuedata; 1070 static inline drive_info_struct *get_drv(struct gendisk *disk) argument 1072 return disk->private_data; 1090 * disk information. I don't think I really like this 1127 static void cciss_release(struct gendisk *disk, fmode_t mode) argument 1133 h = get_host(disk); 1134 drv = get_drv(disk); 1445 cciss_getluninfo(ctlr_info_t *h, struct gendisk *disk, void __user *argp) argument 1703 struct gendisk *disk = bdev->bd_disk; local 1931 cciss_add_disk(ctlr_info_t *h, struct gendisk *disk, int drv_index) argument 1989 struct gendisk *disk; local 2243 struct gendisk *disk; local 2455 struct gendisk *disk; local 2943 cciss_revalidate(struct gendisk *disk) argument 5271 struct gendisk *disk = h->gendisk[j]; local [all...] |
H A D | floppy.c | 74 * 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...] |
H A D | nvme-core.c | 409 struct gendisk *disk = bio->bi_bdev->bd_disk; local 410 if (blk_queue_io_stat(disk->queue)) { 413 part_round_stats(cpu, &disk->part0); 414 part_stat_inc(cpu, &disk->part0, ios[rw]); 415 part_stat_add(cpu, &disk->part0, sectors[rw], 417 part_inc_in_flight(&disk->part0, rw); 424 struct gendisk *disk = bio->bi_bdev->bd_disk; local 425 if (blk_queue_io_stat(disk->queue)) { 429 part_stat_add(cpu, &disk->part0, ticks[rw], duration); 430 part_round_stats(cpu, &disk 1785 nvme_release(struct gendisk *disk, fmode_t mode) argument 1904 struct gendisk *disk; local [all...] |
H A D | rbd.c | 336 struct gendisk *disk; /* blkdev's gendisk and rq */ member in struct:rbd_device 495 else if (rbd_dev->disk) 497 RBD_DRV_NAME, rbd_dev->disk->disk_name, &vaf); 561 static void rbd_release(struct gendisk *disk, fmode_t mode) argument 563 struct rbd_device *rbd_dev = disk->private_data; 606 set_disk_ro(rbd_dev->disk, ro ? 1 : 0); 904 * on-disk header. 3507 struct gendisk *disk = rbd_dev->disk; local 3509 if (!disk) 3730 struct gendisk *disk; local [all...] |
H A D | skd_main.c | 284 struct gendisk *disk; member in struct:skd_device 1262 struct gendisk *disk = bdev->bd_disk; local 1263 struct skd_device *skdev = disk->private_data; 1268 disk->disk_name, current->comm, mode, cmd_in, arg); 1277 rc = scsi_cmd_ioctl(disk->queue, disk, mode, cmd_in, p); 1289 skdev->name, __func__, __LINE__, disk->disk_name, rc); 2112 set_capacity(skdev->disk, skdev->read_cap_last_lba + 1); 2120 set_capacity(skdev->disk, skdev->read_cap_last_lba + 1); 4387 struct gendisk *disk; local 4680 struct gendisk *disk = skdev->disk; local [all...] |
/drivers/block/drbd/ |
H A D | drbd_main.c | 171 io_allowed = (device->state.disk >= mins); 304 * tl_abort_disk_io() - Abort disk I/O for all requests for a certain device in the TL 861 uuid_flags |= device->new_state_tmp.disk == D_INCONSISTENT ? 4 : 0; 903 D_ASSERT(device, device->state.disk == D_UP_TO_DATE); 1257 drbd_err(device, "Failed to write bitmap to disk!\n"); 1899 .disk = D_DISKLESS, 2726 struct gendisk *disk; local 2755 disk = alloc_disk(1); 2756 if (!disk) 2758 device->vdisk = disk; [all...] |
H A D | drbd_receiver.c | 1201 drbd_info(device, "local disk flush failed with status %d\n", rv); 1628 drbd_err(device, "request from peer beyond end of local disk: " 1890 /* data is submitted to disk within recv_resync_read. 1896 drbd_err(device, "Can not write resync data to local disk.\n"); 2402 /* In case we have the only disk of the cluster, */ 2467 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; local 2480 curr_events = (int)part_stat_read(&disk->part0, sectors[0]) + 2481 (int)part_stat_read(&disk->part0, sectors[1]) - 2973 device->state.disk >= D_NEGOTIATING ? drbd_bm_total_weight(device) : 0, 0); 3083 device->state.disk > [all...] |
/drivers/md/ |
H A D | raid5.c | 186 /* 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 D | md.c | 944 * it's at the end of the disk. 1169 * 2/ Add info for each disk, keeping track of highest desc_nr (next_spare); 1926 * This is called when an array is started and after a disk has been kicked 1976 /* Disable data integrity if non-capable/non-matching disk is being added */ 3877 bitmap_unplug(mddev->bitmap); /* flush the bits to disk */ 4608 struct gendisk *disk; local 4655 disk = alloc_disk(1 << shift); 4656 if (!disk) { 4661 disk->major = MAJOR(mddev->unit); 4662 disk 4976 struct gendisk *disk = mddev->gendisk; local 5156 struct gendisk *disk = mddev->gendisk; local 6522 md_release(struct gendisk *disk, fmode_t mode) argument 6531 md_media_changed(struct gendisk *disk) argument 6538 md_revalidate(struct gendisk *disk) argument 7022 struct gendisk *disk = rdev->bdev->bd_contains->bd_disk; local [all...] |
/drivers/message/fusion/ |
H A D | mptbase.c | 5152 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/scsi/esas2r/ |
H A D | atvda.h | 928 struct atto_vda_ae_disk disk; member in union:atto_vda_ae
|