/linux-4.4.14/drivers/scsi/ |
H A D | sd_dif.c | 44 struct gendisk *disk = sdkp->disk; sd_dif_config_host() local
|
H A D | sr.h | 56 struct gendisk *disk; member in struct:scsi_cd
|
H A D | sr.c | 138 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) scsi_cd() argument 160 static inline struct scsi_cd *scsi_cd_get(struct gendisk *disk) scsi_cd_get() argument 536 static void sr_block_release(struct gendisk *disk, fmode_t mode) sr_block_release() argument 582 static unsigned int sr_block_check_events(struct gendisk *disk, sr_block_check_events() argument 593 static int sr_block_revalidate_disk(struct gendisk *disk) sr_block_revalidate_disk() argument 654 struct gendisk *disk; sr_probe() local 969 struct gendisk *disk = cd->disk; sr_kref_release() local
|
H A D | sd.h | 66 struct gendisk *disk; member in struct:scsi_disk 100 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) scsi_disk() argument 254 static inline void sd_dif_config_host(struct scsi_disk *disk) sd_dif_config_host() argument
|
H A D | atp870u.c | 3112 static int atp870u_biosparam(struct scsi_device *disk, struct block_device *dev, atp870u_biosparam() argument
|
H A D | NCR53c406a.c | 750 static int NCR53c406a_biosparm(struct scsi_device *disk, NCR53c406a_biosparm() argument
|
H A D | sd.c | 569 static struct scsi_disk *scsi_disk_get(struct gendisk *disk) scsi_disk_get() argument 902 struct gendisk *disk = rq->rq_disk; sd_setup_read_write_cmnd() local 1253 static void sd_release(struct gendisk *disk, fmode_t mode) sd_release() argument 1315 struct gendisk *disk = bdev->bd_disk; sd_ioctl() local 1399 static unsigned int sd_check_events(struct gendisk *disk, unsigned int clearing) sd_check_events() argument 2813 static int sd_revalidate_disk(struct gendisk *disk) sd_revalidate_disk() argument 2911 static void sd_unlock_native_capacity(struct gendisk *disk) sd_unlock_native_capacity() argument 3180 struct gendisk *disk = sdkp->disk; scsi_disk_release() local
|
H A D | st.h | 193 struct gendisk *disk; member in struct:scsi_tape
|
H A D | u14-34f.c | 1530 static int u14_34f_bios_param(struct scsi_device *disk, u14_34f_bios_param() argument
|
H A D | sg.c | 185 struct gendisk *disk; member in struct:sg_device 1400 sg_alloc(struct gendisk *disk, struct scsi_device *scsidp) sg_alloc() argument 1465 struct gendisk *disk; sg_add_device() local
|
H A D | st.c | 4153 struct gendisk *disk = NULL; st_probe() local 4352 struct gendisk *disk = tpnt->disk; scsi_tape_release() local
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-gd.h | 19 struct gendisk *disk; member in struct:ide_disk_obj
|
H A D | ide-floppy_ioctl.c | 239 struct gendisk *disk = floppy->disk; ide_floppy_lockdoor() local
|
H A D | ide-cd.h | 82 struct gendisk *disk; member in struct:cdrom_info
|
H A D | ide-floppy.c | 313 struct gendisk *disk = floppy->disk; ide_floppy_get_flexible_disk_page() local 375 struct gendisk *disk = floppy->disk; ide_floppy_get_capacity() local 519 static int ide_floppy_init_media(ide_drive_t *drive, struct gendisk *disk) ide_floppy_init_media() argument
|
H A D | ide-gd.c | 33 static struct ide_disk_obj *ide_disk_get(struct gendisk *disk) ide_disk_get() argument 185 struct gendisk *disk = bdev->bd_disk; ide_gd_open() local 253 static void ide_gd_release(struct gendisk *disk, fmode_t mode) ide_gd_release() argument 286 static unsigned int ide_gd_check_events(struct gendisk *disk, ide_gd_check_events() argument 311 static void ide_gd_unlock_native_capacity(struct gendisk *disk) ide_gd_unlock_native_capacity() argument 321 static int ide_gd_revalidate_disk(struct gendisk *disk) ide_gd_revalidate_disk() argument
|
H A D | ide-atapi.c | 89 int ide_queue_pc_tail(ide_drive_t *drive, struct gendisk *disk, ide_queue_pc_tail() argument 116 int ide_do_test_unit_ready(ide_drive_t *drive, struct gendisk *disk) ide_do_test_unit_ready() argument 127 int ide_do_start_stop(ide_drive_t *drive, struct gendisk *disk, int start) ide_do_start_stop() argument 142 int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on) ide_set_media_lock() argument
|
H A D | ide-disk.c | 760 static int ide_disk_init_media(ide_drive_t *drive, struct gendisk *disk) ide_disk_init_media() argument 765 static int ide_disk_set_doorlock(ide_drive_t *drive, struct gendisk *disk, ide_disk_set_doorlock() argument
|
H A D | ide-probe.c | 920 void ide_register_region(struct gendisk *disk) ide_register_region() argument 923 disk->minors, NULL, exact_match, exact_lock, disk); ide_register_region() local 928 void ide_unregister_region(struct gendisk *disk) ide_unregister_region() argument 936 void ide_init_disk(struct gendisk *disk, ide_drive_t *drive) ide_init_disk() argument
|
H A D | ide-cd.c | 58 static struct cdrom_info *ide_cd_get(struct gendisk *disk) ide_cd_get() argument 1609 static void idecd_release(struct gendisk *disk, fmode_t mode) idecd_release() argument 1694 static unsigned int idecd_check_events(struct gendisk *disk, idecd_check_events() argument 1701 static int idecd_revalidate_disk(struct gendisk *disk) idecd_revalidate_disk() argument
|
H A D | ide-tape.c | 143 struct gendisk *disk; member in struct:ide_tape_obj 231 static struct ide_tape_obj *ide_tape_get(struct gendisk *disk, bool cdev, ide_tape_get() argument 684 struct gendisk *disk = tape->disk; idetape_wait_ready() local 804 struct gendisk *disk = tape->disk; idetape_position_tape() local 1010 struct gendisk *disk = tape->disk; idetape_rewind_tape() local 1065 struct gendisk *disk = tape->disk; idetape_space_over_filemarks() local 1255 struct gendisk *disk = tape->disk; idetape_mtioctop() local 1921 static void idetape_release(struct gendisk *disk, fmode_t mode) idetape_release() argument
|
/linux-4.4.14/drivers/md/ |
H A D | linear.c | 100 struct dev_info *disk = conf->disks + j; rdev_for_each() local
|
H A D | multipath.c | 379 struct multipath_info *disk; multipath_run() local
|
H A D | dm-log.c | 280 static void header_to_disk(struct log_header_core *core, struct log_header_disk *disk) header_to_disk() argument 287 static void header_from_disk(struct log_header_core *core, struct log_header_disk *disk) header_from_disk() argument
|
H A D | dm-era-target.c | 194 struct superblock_disk *disk = dm_block_data(b); sb_prepare_for_write() local 202 static int check_metadata_version(struct superblock_disk *disk) check_metadata_version() argument 218 struct superblock_disk *disk = dm_block_data(b); sb_check() local 353 static void ws_pack(const struct writeset_metadata *core, struct writeset_disk *disk) ws_pack() argument 359 static void ws_unpack(const struct writeset_disk *disk, struct writeset_metadata *core) ws_unpack() argument 477 static void copy_sm_root(struct era_metadata *md, struct superblock_disk *disk) copy_sm_root() argument 489 static void prepare_superblock(struct era_metadata *md, struct superblock_disk *disk) prepare_superblock() argument 515 struct superblock_disk *disk; write_superblock() local 558 struct superblock_disk *disk; open_metadata() local 726 struct writeset_disk disk; metadata_digest_lookup_writeset() local 1063 struct superblock_disk *disk; metadata_drop_snap() local
|
H A D | dm-ioctl.c | 506 struct gendisk *disk; list_devices() local 682 struct gendisk *disk = dm_disk(md); __dev_status() local
|
H A D | dm-table.c | 1029 static bool integrity_profile_exists(struct gendisk *disk) integrity_profile_exists() argument
|
H A D | dm-thin-metadata.c | 462 copy_sm_roots(struct dm_pool_metadata *pmd, struct thin_disk_superblock *disk) copy_sm_roots() argument
|
H A D | raid1.c | 291 static inline void update_head_pos(int disk, struct r1bio *r1_bio) update_head_pos() argument 520 int disk; read_balance() local 2289 int disk; handle_read_error() local 2484 int disk = -1; sync_request() local 2778 struct raid1_info *disk; setup_conf() local
|
H A D | raid10.c | 699 int disk, slot; read_balance() local 3533 struct raid10_info *disk; run() local
|
H A D | dm.c | 167 struct gendisk *disk; member in struct:mapped_device 469 static void dm_blk_close(struct gendisk *disk, fmode_t mode) dm_blk_close() argument
|
H A D | raid5.c | 199 static inline int raid6_next_disk(int disk, int raid_disks) raid6_next_disk() argument 6466 struct disk_info *disk; setup_conf() local 7217 int disk; raid5_add_disk() local
|
H A D | md.c | 4978 struct gendisk *disk; md_alloc() local 5366 struct gendisk *disk = mddev->gendisk; restart_array() local 5602 struct gendisk *disk = mddev->gendisk; do_md_stop() local 7045 static void md_release(struct gendisk *disk, fmode_t mode) md_release() argument 7054 static int md_media_changed(struct gendisk *disk) md_media_changed() argument 7061 static int md_revalidate(struct gendisk *disk) md_revalidate() argument 7610 struct gendisk *disk = rdev->bdev->bd_contains->bd_disk; rdev_for_each_rcu() local
|
/linux-4.4.14/block/ |
H A D | blk-timeout.c | 43 struct gendisk *disk = dev_to_disk(dev); part_timeout_show() local 52 struct gendisk *disk = dev_to_disk(dev); part_timeout_store() local
|
H A D | blk-integrity.c | 248 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); integrity_attr_show() local 260 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); integrity_attr_store() local 409 void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) blk_integrity_register() argument 431 void blk_integrity_unregister(struct gendisk *disk) blk_integrity_unregister() argument 438 void blk_integrity_revalidate(struct gendisk *disk) blk_integrity_revalidate() argument 453 void blk_integrity_add(struct gendisk *disk) blk_integrity_add() argument 462 void blk_integrity_del(struct gendisk *disk) blk_integrity_del() argument
|
H A D | ioctl.c | 16 struct gendisk *disk; blkpg_ioctl() local 161 struct gendisk *disk = bdev->bd_disk; __blkdev_reread_part() local 285 struct gendisk *disk = bdev->bd_disk; __blkdev_driver_ioctl() local 445 struct gendisk *disk = bdev->bd_disk; blkdev_getgeo() local
|
H A D | partition-generic.c | 241 void delete_partition(struct gendisk *disk, int partno) delete_partition() argument 269 struct hd_struct *add_partition(struct gendisk *disk, int partno, add_partition() argument 385 static bool disk_unlock_native_capacity(struct gendisk *disk) disk_unlock_native_capacity() argument 401 static int drop_partitions(struct gendisk *disk, struct block_device *bdev) drop_partitions() argument 421 int rescan_partitions(struct gendisk *disk, struct block_device *bdev) rescan_partitions() argument 540 int invalidate_partitions(struct gendisk *disk, struct block_device *bdev) invalidate_partitions() argument
|
H A D | scsi_ioctl.c | 416 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, sg_scsi_ioctl() argument
|
H A D | blk-mq-sysfs.c | 383 void blk_mq_unregister_disk(struct gendisk *disk) blk_mq_unregister_disk() argument 426 int blk_mq_register_disk(struct gendisk *disk) blk_mq_register_disk() argument
|
H A D | blk-settings.c | 669 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, disk_stack_limits() argument
|
H A D | blk-cgroup.c | 789 struct gendisk *disk; __acquires() local
|
H A D | blk-sysfs.c | 621 int blk_register_queue(struct gendisk *disk) blk_register_queue() argument 675 void blk_unregister_queue(struct gendisk *disk) blk_unregister_queue() argument
|
H A D | compat_ioctl.c | 51 static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, compat_hdio_getgeo() argument 662 struct gendisk *disk = bdev->bd_disk; compat_blkdev_ioctl() local
|
H A D | genhd.c | 61 struct hd_struct *disk_get_part(struct gendisk *disk, int partno) disk_get_part() argument 95 void disk_part_iter_init(struct disk_part_iter *piter, struct gendisk *disk, disk_part_iter_init() argument 216 struct hd_struct *disk_map_sector_rcu(struct gendisk *disk, sector_t sector) disk_map_sector_rcu() argument 414 struct gendisk *disk = part_to_disk(part); blk_alloc_devt() local 508 static void register_disk(struct gendisk *disk) register_disk() argument 583 void add_disk(struct gendisk *disk) add_disk() argument 618 exact_match, exact_lock, disk); add_disk() local 637 void del_gendisk(struct gendisk *disk) del_gendisk() argument 685 struct gendisk *disk = NULL; get_gendisk() local 722 struct block_device *bdget_disk(struct gendisk *disk, int partno) bdget_disk() argument 748 struct gendisk *disk = dev_to_disk(dev); printk_all_partitions() local 926 struct gendisk *disk = dev_to_disk(dev); disk_range_show() local 934 struct gendisk *disk = dev_to_disk(dev); disk_ext_range_show() local 942 struct gendisk *disk = dev_to_disk(dev); disk_removable_show() local 951 struct gendisk *disk = dev_to_disk(dev); disk_ro_show() local 959 struct gendisk *disk = dev_to_disk(dev); disk_capability_show() local 968 struct gendisk *disk = dev_to_disk(dev); disk_alignment_offset_show() local 977 struct gendisk *disk = dev_to_disk(dev); disk_discard_alignment_show() local 1043 static void disk_replace_part_tbl(struct gendisk *disk, disk_replace_part_tbl() argument 1070 int disk_expand_part_tbl(struct gendisk *disk, int partno) disk_expand_part_tbl() argument 1109 struct gendisk *disk = dev_to_disk(dev); disk_release() local 1127 struct gendisk *disk = dev_to_disk(dev); block_devnode() local 1228 struct gendisk *disk = dev_to_disk(dev); blk_lookup_devt() local 1263 struct gendisk *disk; alloc_disk_node() local 1305 struct kobject *get_disk(struct gendisk *disk) get_disk() argument 1326 void put_disk(struct gendisk *disk) put_disk() argument 1351 void set_disk_ro(struct gendisk *disk, int flag) set_disk_ro() argument 1378 int invalidate_partition(struct gendisk *disk, int partno) invalidate_partition() argument 1397 struct gendisk *disk; /* the associated disk */ member in struct:disk_events 1426 static unsigned long disk_events_poll_jiffies(struct gendisk *disk) disk_events_poll_jiffies() argument 1459 void disk_block_events(struct gendisk *disk) disk_block_events() argument 1484 static void __disk_unblock_events(struct gendisk *disk, bool check_now) __disk_unblock_events() argument 1524 void disk_unblock_events(struct gendisk *disk) disk_unblock_events() argument 1542 void disk_flush_events(struct gendisk *disk, unsigned int mask) disk_flush_events() argument 1568 unsigned int disk_clear_events(struct gendisk *disk, unsigned int mask) disk_clear_events() argument 1627 struct gendisk *disk = ev->disk; disk_check_events() local 1692 struct gendisk *disk = dev_to_disk(dev); disk_events_show() local 1700 struct gendisk *disk = dev_to_disk(dev); disk_events_async_show() local 1709 struct gendisk *disk = dev_to_disk(dev); disk_events_poll_msecs_show() local 1718 struct gendisk *disk = dev_to_disk(dev); disk_events_poll_msecs_store() local 1787 static void disk_alloc_events(struct gendisk *disk) disk_alloc_events() argument 1811 static void disk_add_events(struct gendisk *disk) disk_add_events() argument 1832 static void disk_del_events(struct gendisk *disk) disk_del_events() argument 1846 static void disk_release_events(struct gendisk *disk) disk_release_events() argument
|
/linux-4.4.14/mm/ |
H A D | page_io.c | 112 struct gendisk *disk = sis->bdev->bd_disk; end_swap_bio_read() local
|
H A D | swapfile.c | 818 struct gendisk *disk = p->bdev->bd_disk; swap_entry_free() local
|
/linux-4.4.14/include/linux/ |
H A D | amifd.h | 53 int disk; /* disk in drive (-1 == unknown) */ member in struct:amiga_floppy_struct
|
H A D | pktcdvd.h | 192 struct gendisk *disk; member in struct:pktcdvd_device
|
H A D | blk-cgroup.h | 211 struct gendisk *disk; member in struct:blkg_conf_ctx
|
H A D | cdrom.h | 41 struct gendisk *disk; /* matching block layer disk */ member in struct:cdrom_device_info
|
H A D | drbd.h | 272 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member in struct:drbd_state::__anon12232
|
H A D | lightnvm.h | 115 struct gendisk *disk; member in struct:nvm_target
|
H A D | genhd.h | 253 static inline int disk_max_parts(struct gendisk *disk) disk_max_parts() argument 260 static inline bool disk_part_scan_enabled(struct gendisk *disk) disk_part_scan_enabled() argument 266 static inline dev_t disk_devt(struct gendisk *disk) disk_devt() argument 293 struct gendisk *disk; member in struct:disk_part_iter 415 static inline struct partition_meta_info *alloc_part_info(struct gendisk *disk) alloc_part_info() argument 440 static inline int get_disk_ro(struct gendisk *disk) get_disk_ro() argument 458 static inline sector_t get_capacity(struct gendisk *disk) get_capacity() argument 462 static inline void set_capacity(struct gendisk *disk, sector_t size) set_capacity() argument 747 static inline void blk_integrity_add(struct gendisk *disk) { } blk_integrity_del() argument 748 static inline void blk_integrity_del(struct gendisk *disk) { } blk_integrity_revalidate() argument 749 static inline void blk_integrity_revalidate(struct gendisk *disk) { } blk_integrity_revalidate() argument
|
H A D | blkdev.h | 1503 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) blk_get_integrity() argument 1582 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) blk_get_integrity() argument
|
H A D | fs.h | 2330 bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_link_disk_holder() argument 2335 bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_unlink_disk_holder() argument
|
/linux-4.4.14/include/linux/mtd/ |
H A D | blktrans.h | 45 struct gendisk *disk; member in struct:mtd_blktrans_dev
|
/linux-4.4.14/Documentation/laptops/ |
H A D | dslm.c | 135 char *disk = 0; main() local
|
/linux-4.4.14/drivers/scsi/osd/ |
H A D | osd_uld.c | 89 struct gendisk *disk; member in struct:osd_uld_device 421 struct gendisk *disk; osd_probe() local
|
/linux-4.4.14/drivers/s390/block/ |
H A D | xpram.c | 368 struct gendisk *disk = xpram_disks[i]; xpram_setup_blkdev() local
|
H A D | dcssblk.c | 792 dcssblk_release(struct gendisk *disk, fmode_t mode) dcssblk_release() argument
|
H A D | dasd.c | 420 struct gendisk *disk; dasd_state_ready_to_online() local 447 struct gendisk *disk; dasd_state_online_to_ready() local 3126 static void dasd_release(struct gendisk *disk, fmode_t mode) dasd_release() argument
|
/linux-4.4.14/drivers/mtd/ |
H A D | mtd_blkdevs.c | 53 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk) blktrans_dev_get() argument 237 static void blktrans_release(struct gendisk *disk, fmode_t mode) blktrans_release() argument
|
/linux-4.4.14/drivers/nvdimm/ |
H A D | blk.c | 26 struct gendisk *disk; member in struct:nd_blk_device 167 struct gendisk *disk = bdev->bd_disk; nd_blk_make_request() local 244 struct gendisk *disk; nd_blk_attach_disk() local
|
H A D | core.c | 219 struct gendisk *disk = bio->bi_bdev->bd_disk; __nd_iostat_start() local 234 struct gendisk *disk = bio->bi_bdev->bd_disk; nd_iostat_end() local 395 int nd_integrity_init(struct gendisk *disk, unsigned long meta_size) nd_integrity_init() argument 414 int nd_integrity_init(struct gendisk *disk, unsigned long meta_size) nd_integrity_init() argument
|
H A D | pmem.c | 170 struct gendisk *disk; pmem_attach_disk() local
|
H A D | bus.c | 236 int nvdimm_revalidate_disk(struct gendisk *disk) nvdimm_revalidate_disk() argument
|
H A D | nd.h | 269 struct gendisk *disk = bio->bi_bdev->bd_disk; nd_iostat_start() local
|
/linux-4.4.14/drivers/block/aoe/ |
H A D | aoeblk.c | 37 struct gendisk *disk = dev_to_disk(dev); aoedisk_show_state() local 50 struct gendisk *disk = dev_to_disk(dev); aoedisk_show_mac() local 61 struct gendisk *disk = dev_to_disk(dev); aoedisk_show_netif() local 99 struct gendisk *disk = dev_to_disk(dev); aoedisk_show_fwver() local 107 struct gendisk *disk = dev_to_disk(dev); aoedisk_show_payload() local 262 aoeblk_release(struct gendisk *disk, fmode_t mode) aoeblk_release() argument
|
/linux-4.4.14/drivers/block/drbd/ |
H A D | drbd_state.h | 85 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member in struct:drbd_dev_state::__anon3607
|
H A D | drbd_worker.c | 1573 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; drbd_rs_controller_reset() local
|
H A D | drbd_main.c | 2721 struct gendisk *disk; drbd_create_device() local
|
H A D | drbd_receiver.c | 2468 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; drbd_rs_c_min_rate_throttle() local
|
/linux-4.4.14/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 137 static void simdisk_release(struct gendisk *disk, fmode_t mode) simdisk_release() argument
|
/linux-4.4.14/drivers/block/ |
H A D | z2ram.c | 312 z2_release(struct gendisk *disk, fmode_t mode) z2_release() argument
|
H A D | brd.c | 480 struct gendisk *disk; brd_alloc() local
|
H A D | osdblk.c | 106 struct gendisk *disk; /* blkdev's gendisk and rq */ member in struct:osdblk_device 383 struct gendisk *disk = osdev->disk; osdblk_free_disk() local 397 struct gendisk *disk; osdblk_init_disk() local
|
H A D | nbd.c | 56 struct gendisk *disk; member in struct:nbd_device 394 struct gendisk *disk = dev_to_disk(dev); pid_show() local 1031 struct gendisk *disk = alloc_disk(1 << part_shift); nbd_init() local 1067 struct gendisk *disk = nbd_dev[i].disk; nbd_init() local 1107 struct gendisk *disk = nbd_dev[i].disk; nbd_cleanup() local
|
H A D | cpqarray.c | 187 static inline drv_info_t *get_drv(struct gendisk *disk) get_drv() argument 192 static inline ctlr_info_t *get_host(struct gendisk *disk) get_host() argument 465 struct gendisk *disk = ida_gendisk[i][j]; cpqarray_register_ctlr() local 859 static void ida_release(struct gendisk *disk, fmode_t mode) ida_release() argument 1540 struct gendisk *disk = ida_gendisk[ctlr][i]; revalidate_allvol() local 1556 struct gendisk *disk = ida_gendisk[ctlr][i]; revalidate_allvol() local 1572 static int ida_revalidate(struct gendisk *disk) ida_revalidate() argument
|
H A D | hd.c | 304 static void hd_out(struct hd_i_struct *disk, hd_out() argument 381 struct hd_i_struct *disk = &hd_info[i]; reset_hd() local 420 struct hd_i_struct *disk = req->rq_disk->private_data; bad_rw_intr() local 554 static int do_special_op(struct hd_i_struct *disk, struct request *req) do_special_op() argument 582 struct hd_i_struct *disk; hd_request() local 663 struct hd_i_struct *disk = bdev->bd_disk->private_data; hd_getgeo() local 736 struct gendisk *disk = alloc_disk(64); hd_init() local
|
H A D | null_blk.c | 36 struct gendisk *disk; member in struct:nullb 577 static void null_release(struct gendisk *disk, fmode_t mode) null_release() argument 646 struct gendisk *disk; null_add_dev() local
|
H A D | sunvdc.c | 52 struct gendisk *disk; member in struct:vdc_port 112 struct gendisk *disk = bdev->bd_disk; vdc_getgeo() local 134 struct gendisk *disk; vdc_ioctl() local
|
H A D | swim.c | 192 struct gendisk *disk; member in struct:floppy_state 676 static void floppy_release(struct gendisk *disk, fmode_t mode) floppy_release() argument 741 static unsigned int floppy_check_events(struct gendisk *disk, floppy_check_events() argument 749 static int floppy_revalidate(struct gendisk *disk) floppy_revalidate() argument
|
H A D | umem.c | 762 static int mm_revalidate(struct gendisk *disk) mm_revalidate() argument 1092 struct gendisk *disk = mm_gendisk[i]; mm_init() local
|
H A D | virtio_blk.c | 35 struct gendisk *disk; member in struct:virtio_blk 236 static int virtblk_get_id(struct gendisk *disk, char *id_str) virtblk_get_id() argument 264 struct gendisk *disk = bdev->bd_disk; virtblk_ioctl() local 318 struct gendisk *disk = dev_to_disk(dev); virtblk_serial_show() local 507 struct gendisk *disk = dev_to_disk(dev); virtblk_cache_type_store() local 529 struct gendisk *disk = dev_to_disk(dev); virtblk_cache_type_show() local
|
H A D | amiflop.c | 814 static unsigned long *putsec(int disk, unsigned long *raw, int cnt) putsec() argument 848 static void amiga_write(int disk) amiga_write() argument 1205 static void dos_write(int disk) dos_write() argument 1637 static void floppy_release(struct gendisk *disk, fmode_t mode) floppy_release() argument 1665 static unsigned amiga_check_events(struct gendisk *disk, unsigned int clearing) amiga_check_events() argument 1710 struct gendisk *disk; fd_probe_drives() local
|
H A D | ataflop.c | 221 struct gendisk *disk; member in struct:atari_floppy_struct 1328 static unsigned int floppy_check_events(struct gendisk *disk, floppy_check_events() argument 1351 static int floppy_revalidate(struct gendisk *disk) floppy_revalidate() argument 1512 struct gendisk *disk = bdev->bd_disk; fd_locked_ioctl() local 1889 static void floppy_release(struct gendisk *disk, fmode_t mode) floppy_release() argument
|
H A D | loop.c | 720 struct gendisk *disk = dev_to_disk(dev); loop_attr_show() local 1564 static void lo_release(struct gendisk *disk, fmode_t mode) lo_release() argument 1720 struct gendisk *disk; loop_add() local
|
H A D | pktcdvd.c | 2317 static void pkt_close(struct gendisk *disk, fmode_t mode) pkt_close() argument 2690 static unsigned int pkt_check_events(struct gendisk *disk, pkt_check_events() argument 2727 struct gendisk *disk; pkt_setup_dev() local
|
H A D | swim3.c | 1024 static void floppy_release(struct gendisk *disk, fmode_t mode) floppy_release() argument 1038 static unsigned int floppy_check_events(struct gendisk *disk, floppy_check_events() argument 1045 static int floppy_revalidate(struct gendisk *disk) floppy_revalidate() argument 1206 struct gendisk *disk; swim3_attach() local
|
H A D | xen-blkfront.c | 2129 struct gendisk *disk; blkfront_remove() local 2183 struct gendisk *disk = bdev->bd_disk; blkif_open() local 2209 static void blkif_release(struct gendisk *disk, fmode_t mode) blkif_release() argument
|
H A D | xsysace.c | 918 static void ace_release(struct gendisk *disk, fmode_t mode) ace_release() argument
|
H A D | sx8.c | 245 struct gendisk *disk; member in struct:carm_port 1334 struct gendisk *disk = port->disk; carm_fsm_task() local 1497 struct gendisk *disk; carm_init_disks() local 1539 struct gendisk *disk = host->port[i].disk; carm_free_disks() local
|
H A D | DAC960.c | 80 struct gendisk *disk = bdev->bd_disk; DAC960_open() local 109 struct gendisk *disk = bdev->bd_disk; DAC960_getgeo() local 143 static unsigned int DAC960_check_events(struct gendisk *disk, DAC960_check_events() argument 154 static int DAC960_revalidate_disk(struct gendisk *disk) DAC960_revalidate_disk() argument 2532 struct gendisk *disk = Controller->disks[n]; DAC960_RegisterBlockDevice() local 2567 int disk; DAC960_UnregisterBlockDevice() local 2589 int disk; DAC960_ComputeGenericDiskInfo() local 3156 int disk; DAC960_Probe() local
|
H A D | cciss.c | 1081 static inline ctlr_info_t *get_host(struct gendisk *disk) get_host() argument 1086 static inline drive_info_struct *get_drv(struct gendisk *disk) get_drv() argument 1143 static void cciss_release(struct gendisk *disk, fmode_t mode) cciss_release() argument 1719 struct gendisk *disk = bdev->bd_disk; cciss_ioctl() local 1947 static int cciss_add_disk(ctlr_info_t *h, struct gendisk *disk, cciss_add_disk() argument 2005 struct gendisk *disk; cciss_update_drive_info() local 2259 struct gendisk *disk; cciss_add_controller_node() local 2471 struct gendisk *disk; deregister_disk() local 2959 static int cciss_revalidate(struct gendisk *disk) cciss_revalidate() argument 5286 struct gendisk *disk = h->gendisk[j]; cciss_remove_one() local 1461 cciss_getluninfo(ctlr_info_t *h, struct gendisk *disk, void __user *argp) cciss_getluninfo() argument
|
H A D | floppy.c | 3621 static void floppy_release(struct gendisk *disk, fmode_t mode) floppy_release() argument 3740 static unsigned int floppy_check_events(struct gendisk *disk, floppy_check_events() argument 3835 static int floppy_revalidate(struct gendisk *disk) floppy_revalidate() argument
|
H A D | rbd.c | 339 struct gendisk *disk; /* blkdev's gendisk and rq */ member in struct:rbd_device 565 static void rbd_release(struct gendisk *disk, fmode_t mode) rbd_release() argument 3485 struct gendisk *disk = rbd_dev->disk; rbd_free_disk() local 3724 struct gendisk *disk; rbd_init_disk() local
|
H A D | skd_main.c | 284 struct gendisk *disk; member in struct:skd_device 1262 struct gendisk *disk = bdev->bd_disk; skd_bdev_ioctl() local 4387 struct gendisk *disk; skd_cons_disk() local 4680 struct gendisk *disk = skdev->disk; skd_free_disk() local
|
/linux-4.4.14/drivers/block/zram/ |
H A D | zram_drv.h | 98 struct gendisk *disk; member in struct:zram
|
/linux-4.4.14/init/ |
H A D | do_mounts_rd.c | 190 int nblocks, i, disk; rd_load_image() local
|
H A D | do_mounts.c | 121 struct gendisk *disk; devt_from_partuuid() local
|
/linux-4.4.14/fs/quota/ |
H A D | quota_tree.c | 206 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk) qtree_entry_unused() argument
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | axonram.c | 63 struct gendisk *disk; member in struct:axon_ram_bank
|
/linux-4.4.14/arch/m68k/emu/ |
H A D | nfblock.c | 59 struct gendisk *disk; member in struct:nfhd_device
|
/linux-4.4.14/drivers/usb/storage/ |
H A D | transport.c | 524 struct gendisk *disk; last_sector_hacks() local
|
/linux-4.4.14/drivers/sbus/char/ |
H A D | jsflash.c | 562 struct gendisk *disk = alloc_disk(1); jsfd_init() local 581 struct gendisk *disk = jsfd_disk[i]; jsfd_init() local
|
/linux-4.4.14/drivers/lightnvm/ |
H A D | rrpc.h | 87 struct gendisk *disk; member in struct:rrpc
|
/linux-4.4.14/drivers/nvme/host/ |
H A D | nvme.h | 84 struct gendisk *disk; member in struct:nvme_ns
|
H A D | pci.c | 2002 static void nvme_release(struct gendisk *disk, fmode_t mode) nvme_release() argument 2027 static int nvme_revalidate_disk(struct gendisk *disk) nvme_revalidate_disk() argument 2249 struct gendisk *disk; nvme_alloc_ns() local
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
H A D | lloop.c | 599 static void lo_release(struct gendisk *disk, fmode_t mode) lo_release() argument 817 struct gendisk *disk = disks[i]; lloop_init() local
|
/linux-4.4.14/drivers/message/fusion/ |
H A D | mptspi.c | 1113 int disk; member in struct:work_queue_wrapper 1124 int disk = wqw->disk; mpt_work_wrapper() local 1157 static void mpt_dv_raid(struct _MPT_SCSI_HOST *hd, int disk) mpt_dv_raid() argument 1189 int disk = (le32_to_cpu(pEvReply->Data[0]) & 0xFF000000) >> 24; mptspi_event_process() local
|
H A D | mptbase.c | 5128 int disk; mptbase_raid_process_event_data() local
|
/linux-4.4.14/block/partitions/ |
H A D | ldm.c | 641 struct vblk *disk; ldm_create_data_partitions() local 928 struct vblk_disk *disk; ldm_parse_dsk3() local 967 struct vblk_disk *disk; ldm_parse_dsk4() local
|
H A D | ldm.h | 194 struct vblk_disk disk; member in union:vblk::__anon3262
|
/linux-4.4.14/fs/btrfs/ |
H A D | sysfs.c | 643 struct hd_struct *disk; btrfs_sysfs_rm_device_link() local 693 struct hd_struct *disk; btrfs_sysfs_add_device_link() local
|
H A D | ctree.c | 1588 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) comp_keys() argument
|
H A D | ctree.h | 2815 static inline void btrfs_cpu_key_to_disk(struct btrfs_disk_key *disk, btrfs_cpu_key_to_disk() argument 3075 btrfs_cpu_balance_args_to_disk(struct btrfs_disk_balance_args *disk, btrfs_cpu_balance_args_to_disk() argument 2807 btrfs_disk_key_to_cpu(struct btrfs_key *cpu, struct btrfs_disk_key *disk) btrfs_disk_key_to_cpu() argument 3057 btrfs_disk_balance_args_to_cpu(struct btrfs_balance_args *cpu, struct btrfs_disk_balance_args *disk) btrfs_disk_balance_args_to_cpu() argument
|
/linux-4.4.14/kernel/power/ |
H A D | hibernate.c | 991 power_attr(disk); variable
|
/linux-4.4.14/drivers/scsi/pcmcia/ |
H A D | sym53c500_cs.c | 602 SYM53C500_biosparm(struct scsi_device *disk, SYM53C500_biosparm() argument
|
/linux-4.4.14/drivers/memstick/core/ |
H A D | ms_block.c | 1945 struct gendisk *disk = bdev->bd_disk; msb_bd_open() local 1968 static int msb_disk_release(struct gendisk *disk) msb_disk_release() argument 1990 static void msb_bd_release(struct gendisk *disk, fmode_t mode) msb_bd_release() argument
|
H A D | ms_block.h | 152 struct gendisk *disk; member in struct:msb_data
|
H A D | mspro_block.c | 142 struct gendisk *disk; member in struct:mspro_block_data 187 struct gendisk *disk = bdev->bd_disk; mspro_block_bd_open() local 207 static void mspro_block_disk_release(struct gendisk *disk) mspro_block_disk_release() argument 229 static void mspro_block_bd_release(struct gendisk *disk, fmode_t mode) mspro_block_bd_release() argument
|
/linux-4.4.14/drivers/block/paride/ |
H A D | pcd.c | 201 struct gendisk *disk; member in struct:pcd_unit 240 static void pcd_block_release(struct gendisk *disk, fmode_t mode) pcd_block_release() argument 261 static unsigned int pcd_block_check_events(struct gendisk *disk, pcd_block_check_events() argument 300 struct gendisk *disk = alloc_disk(1); pcd_init_units() local
|
H A D | pf.c | 240 struct gendisk *disk; member in struct:pf_unit 287 struct gendisk *disk = alloc_disk(1); pf_init_units() local 364 static void pf_release(struct gendisk *disk, fmode_t mode) pf_release() argument 383 static unsigned int pf_check_events(struct gendisk *disk, unsigned int clearing) pf_check_events() argument 986 struct gendisk *disk = pf->disk; pf_init() local
|
H A D | pd.c | 252 static inline int status_reg(struct pd_unit *disk) status_reg() argument 257 static inline int read_reg(struct pd_unit *disk, int reg) read_reg() argument 262 static inline void write_status(struct pd_unit *disk, int val) write_status() argument 267 static inline void write_reg(struct pd_unit *disk, int reg, int val) write_reg() argument 272 static inline u8 DRIVE(struct pd_unit *disk) DRIVE() argument 279 static void pd_print_error(struct pd_unit *disk, char *msg, int status) pd_print_error() argument 290 static void pd_reset(struct pd_unit *disk) pd_reset() argument 300 static int pd_wait_for(struct pd_unit *disk, int w, char *msg) pd_wait_for() argument 320 static void pd_send_command(struct pd_unit *disk, int n, int s, int h, int c0, int c1, int func) pd_send_command() argument 333 static void pd_ide_command(struct pd_unit *disk, int func, int block, int count) pd_ide_command() argument 589 static void pd_init_dev_parms(struct pd_unit *disk) pd_init_dev_parms() argument 598 static enum action pd_door_lock(struct pd_unit *disk) pd_door_lock() argument 607 static enum action pd_door_unlock(struct pd_unit *disk) pd_door_unlock() argument 616 static enum action pd_eject(struct pd_unit *disk) pd_eject() argument 627 static enum action pd_media_check(struct pd_unit *disk) pd_media_check() argument 645 static void pd_standby_off(struct pd_unit *disk) pd_standby_off() argument 652 static enum action pd_identify(struct pd_unit *disk) pd_identify() argument 720 static int pd_special_command(struct pd_unit *disk, pd_special_command() argument 743 struct pd_unit *disk = bdev->bd_disk->private_data; pd_open() local 758 struct pd_unit *disk = bdev->bd_disk->private_data; pd_getgeo() local 776 struct pd_unit *disk = bdev->bd_disk->private_data; pd_ioctl() local 792 struct pd_unit *disk = p->private_data; pd_release() local 802 struct pd_unit *disk = p->private_data; pd_check_events() local 814 struct pd_unit *disk = p->private_data; pd_revalidate() local 834 static void pd_probe_drive(struct pd_unit *disk) pd_probe_drive() argument 860 struct pd_unit *disk; pd_detect() local 864 struct pd_unit *disk = pd + unit; pd_detect() local 951 struct pd_unit *disk; pd_exit() local
|
/linux-4.4.14/drivers/cdrom/ |
H A D | gdrom.c | 117 struct gendisk *disk; member in struct:gdrom_unit 506 static void gdrom_bdops_release(struct gendisk *disk, fmode_t mode) gdrom_bdops_release() argument 513 static unsigned int gdrom_bdops_check_events(struct gendisk *disk, gdrom_bdops_check_events() argument
|
/linux-4.4.14/fs/ |
H A D | block_dev.c | 842 struct gendisk *disk; bd_start_claiming() local 892 struct gendisk *disk; member in struct:bd_holder_disk 945 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_link_disk_holder() argument 1010 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_unlink_disk_holder() argument 1067 void check_disk_size_change(struct gendisk *disk, struct block_device *bdev) check_disk_size_change() argument 1094 int revalidate_disk(struct gendisk *disk) revalidate_disk() argument 1126 struct gendisk *disk = bdev->bd_disk; check_disk_change() local 1171 struct gendisk *disk; __blkdev_get() local 1358 struct gendisk *disk = whole->bd_disk; blkdev_get() local 1515 struct gendisk *disk = bdev->bd_disk; __blkdev_put() local 896 bd_find_holder_disk(struct block_device *bdev, struct gendisk *disk) bd_find_holder_disk() argument
|
/linux-4.4.14/drivers/md/bcache/ |
H A D | bcache.h | 256 struct gendisk *disk; member in struct:bcache_device 292 struct bcache_device disk; member in struct:cached_dev
|
/linux-4.4.14/drivers/mmc/card/ |
H A D | block.c | 99 struct gendisk *disk; member in struct:mmc_blk_data 157 static struct mmc_blk_data *mmc_blk_get(struct gendisk *disk) mmc_blk_get() argument 172 static inline int mmc_get_devidx(struct gendisk *disk) mmc_get_devidx() argument 317 static void mmc_blk_release(struct gendisk *disk, fmode_t mode) mmc_blk_release() argument
|
/linux-4.4.14/arch/um/drivers/ |
H A D | ubd_kern.c | 808 struct gendisk *disk; ubd_disk_register() local 979 struct gendisk *disk = ubd_gendisk[n]; ubd_remove() local 1115 struct gendisk *disk = bdev->bd_disk; ubd_open() local 1142 static void ubd_release(struct gendisk *disk, fmode_t mode) ubd_release() argument 1217 struct gendisk *disk = req->rq_disk; prepare_request() local 1246 struct gendisk *disk = req->rq_disk; prepare_flush_request() local
|
/linux-4.4.14/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 465 struct gendisk *disk; /* Pointer to our gendisk structure. */ member in struct:driver_data
|
H A D | mtip32xx.c | 3696 void mtip_block_release(struct gendisk *disk, fmode_t mode) mtip_block_release() argument
|
/linux-4.4.14/drivers/char/ |
H A D | random.c | 950 void add_disk_randomness(struct gendisk *disk) add_disk_randomness() argument 1404 void rand_initialize_disk(struct gendisk *disk) rand_initialize_disk() argument
|
/linux-4.4.14/drivers/scsi/esas2r/ |
H A D | atvda.h | 928 struct atto_vda_ae_disk disk; member in union:atto_vda_ae
|