/linux-4.1.27/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.1.27/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 99 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) scsi_disk() argument 253 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 | st.h | 172 struct gendisk *disk; member in struct:scsi_tape
|
H A D | NCR53c406a.c | 750 static int NCR53c406a_biosparm(struct scsi_device *disk, NCR53c406a_biosparm() argument
|
H A D | sd.c | 567 static struct scsi_disk *scsi_disk_get(struct gendisk *disk) scsi_disk_get() argument 887 struct gendisk *disk = rq->rq_disk; sd_setup_read_write_cmnd() local 1238 static void sd_release(struct gendisk *disk, fmode_t mode) sd_release() argument 1300 struct gendisk *disk = bdev->bd_disk; sd_ioctl() local 1384 static unsigned int sd_check_events(struct gendisk *disk, unsigned int clearing) sd_check_events() argument 2710 static int sd_revalidate_disk(struct gendisk *disk) sd_revalidate_disk() argument 2789 static void sd_unlock_native_capacity(struct gendisk *disk) sd_unlock_native_capacity() argument 3057 struct gendisk *disk = sdkp->disk; scsi_disk_release() local
|
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 1394 sg_alloc(struct gendisk *disk, struct scsi_device *scsidp) sg_alloc() argument 1459 struct gendisk *disk; sg_add_device() local
|
H A D | st.c | 4098 struct gendisk *disk = NULL; st_probe() local 4289 struct gendisk *disk = tpnt->disk; scsi_tape_release() local
|
/linux-4.1.27/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 | ioctl.c | 15 struct gendisk *disk; blkpg_ioctl() local 155 struct gendisk *disk = bdev->bd_disk; blkdev_reread_part() local 237 struct gendisk *disk = bdev->bd_disk; __blkdev_driver_ioctl() local 277 struct gendisk *disk = bdev->bd_disk; blkdev_ioctl() local
|
H A D | blk-integrity.c | 396 bool blk_integrity_is_initialized(struct gendisk *disk) blk_integrity_is_initialized() argument 416 int blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) blk_integrity_register() argument 467 void blk_integrity_unregister(struct gendisk *disk) blk_integrity_unregister() argument
|
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 378 static bool disk_unlock_native_capacity(struct gendisk *disk) disk_unlock_native_capacity() argument 394 static int drop_partitions(struct gendisk *disk, struct block_device *bdev) drop_partitions() argument 414 int rescan_partitions(struct gendisk *disk, struct block_device *bdev) rescan_partitions() argument 532 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-cgroup.c | 709 struct gendisk *disk; __acquires() local
|
H A D | blk-mq-sysfs.c | 377 void blk_mq_unregister_disk(struct gendisk *disk) blk_mq_unregister_disk() argument 421 int blk_mq_register_disk(struct gendisk *disk) blk_mq_register_disk() argument
|
H A D | blk-settings.c | 686 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, disk_stack_limits() argument
|
H A D | blk-sysfs.c | 540 int blk_register_queue(struct gendisk *disk) blk_register_queue() argument 595 void blk_unregister_queue(struct gendisk *disk) blk_unregister_queue() argument
|
H A D | blk-cgroup.h | 170 struct gendisk *disk; member in struct:blkg_conf_ctx
|
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 | 60 struct hd_struct *disk_get_part(struct gendisk *disk, int partno) disk_get_part() argument 94 void disk_part_iter_init(struct disk_part_iter *piter, struct gendisk *disk, disk_part_iter_init() argument 215 struct hd_struct *disk_map_sector_rcu(struct gendisk *disk, sector_t sector) disk_map_sector_rcu() argument 413 struct gendisk *disk = part_to_disk(part); blk_alloc_devt() local 507 static void register_disk(struct gendisk *disk) register_disk() argument 582 void add_disk(struct gendisk *disk) add_disk() argument 617 exact_match, exact_lock, disk); add_disk() local 635 void del_gendisk(struct gendisk *disk) del_gendisk() argument 682 struct gendisk *disk = NULL; get_gendisk() local 719 struct block_device *bdget_disk(struct gendisk *disk, int partno) bdget_disk() argument 745 struct gendisk *disk = dev_to_disk(dev); printk_all_partitions() local 923 struct gendisk *disk = dev_to_disk(dev); disk_range_show() local 931 struct gendisk *disk = dev_to_disk(dev); disk_ext_range_show() local 939 struct gendisk *disk = dev_to_disk(dev); disk_removable_show() local 948 struct gendisk *disk = dev_to_disk(dev); disk_ro_show() local 956 struct gendisk *disk = dev_to_disk(dev); disk_capability_show() local 965 struct gendisk *disk = dev_to_disk(dev); disk_alignment_offset_show() local 974 struct gendisk *disk = dev_to_disk(dev); disk_discard_alignment_show() local 1040 static void disk_replace_part_tbl(struct gendisk *disk, disk_replace_part_tbl() argument 1067 int disk_expand_part_tbl(struct gendisk *disk, int partno) disk_expand_part_tbl() argument 1106 struct gendisk *disk = dev_to_disk(dev); disk_release() local 1125 struct gendisk *disk = dev_to_disk(dev); block_devnode() local 1226 struct gendisk *disk = dev_to_disk(dev); blk_lookup_devt() local 1261 struct gendisk *disk; alloc_disk_node() local 1299 struct kobject *get_disk(struct gendisk *disk) get_disk() argument 1320 void put_disk(struct gendisk *disk) put_disk() argument 1345 void set_disk_ro(struct gendisk *disk, int flag) set_disk_ro() argument 1372 int invalidate_partition(struct gendisk *disk, int partno) invalidate_partition() argument 1391 struct gendisk *disk; /* the associated disk */ member in struct:disk_events 1420 static unsigned long disk_events_poll_jiffies(struct gendisk *disk) disk_events_poll_jiffies() argument 1453 void disk_block_events(struct gendisk *disk) disk_block_events() argument 1478 static void __disk_unblock_events(struct gendisk *disk, bool check_now) __disk_unblock_events() argument 1518 void disk_unblock_events(struct gendisk *disk) disk_unblock_events() argument 1536 void disk_flush_events(struct gendisk *disk, unsigned int mask) disk_flush_events() argument 1562 unsigned int disk_clear_events(struct gendisk *disk, unsigned int mask) disk_clear_events() argument 1621 struct gendisk *disk = ev->disk; disk_check_events() local 1686 struct gendisk *disk = dev_to_disk(dev); disk_events_show() local 1694 struct gendisk *disk = dev_to_disk(dev); disk_events_async_show() local 1703 struct gendisk *disk = dev_to_disk(dev); disk_events_poll_msecs_show() local 1712 struct gendisk *disk = dev_to_disk(dev); disk_events_poll_msecs_store() local 1781 static void disk_alloc_events(struct gendisk *disk) disk_alloc_events() argument 1805 static void disk_add_events(struct gendisk *disk) disk_add_events() argument 1826 static void disk_del_events(struct gendisk *disk) disk_del_events() argument 1840 static void disk_release_events(struct gendisk *disk) disk_release_events() argument
|
/linux-4.1.27/Documentation/laptops/ |
H A D | dslm.c | 135 char *disk = 0; main() local
|
/linux-4.1.27/mm/ |
H A D | page_io.c | 116 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.1.27/include/linux/ |
H A D | amifd.h | 53 int disk; /* disk in drive (-1 == unknown) */ member in struct:amiga_floppy_struct
|
H A D | nvme.h | 116 struct gendisk *disk; member in struct:nvme_ns
|
H A D | pktcdvd.h | 192 struct gendisk *disk; member in struct:pktcdvd_device
|
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::__anon11617
|
H A D | genhd.h | 240 static inline int disk_max_parts(struct gendisk *disk) disk_max_parts() argument 247 static inline bool disk_part_scan_enabled(struct gendisk *disk) disk_part_scan_enabled() argument 253 static inline dev_t disk_devt(struct gendisk *disk) disk_devt() argument 280 struct gendisk *disk; member in struct:disk_part_iter 402 static inline struct partition_meta_info *alloc_part_info(struct gendisk *disk) alloc_part_info() argument 427 static inline int get_disk_ro(struct gendisk *disk) get_disk_ro() argument 445 static inline sector_t get_capacity(struct gendisk *disk) get_capacity() argument 449 static inline void set_capacity(struct gendisk *disk, sector_t size) set_capacity() argument
|
H A D | blkdev.h | 1508 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) blk_get_integrity() argument 1556 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) blk_get_integrity() argument
|
H A D | fs.h | 2296 bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_link_disk_holder() argument 2301 bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_unlink_disk_holder() argument
|
/linux-4.1.27/include/linux/mtd/ |
H A D | blktrans.h | 45 struct gendisk *disk; member in struct:mtd_blktrans_dev
|
/linux-4.1.27/drivers/md/ |
H A D | linear.c | 142 struct dev_info *disk = conf->disks + j; rdev_for_each() local
|
H A D | multipath.c | 389 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 351 static void ws_pack(const struct writeset_metadata *core, struct writeset_disk *disk) ws_pack() argument 357 static void ws_unpack(const struct writeset_disk *disk, struct writeset_metadata *core) ws_unpack() argument 475 static void copy_sm_root(struct era_metadata *md, struct superblock_disk *disk) copy_sm_root() argument 487 static void prepare_superblock(struct era_metadata *md, struct superblock_disk *disk) prepare_superblock() argument 513 struct superblock_disk *disk; write_superblock() local 556 struct superblock_disk *disk; open_metadata() local 722 struct writeset_disk disk; metadata_digest_lookup_writeset() local 1064 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-thin-metadata.c | 461 copy_sm_roots(struct dm_pool_metadata *pmd, struct thin_disk_superblock *disk) copy_sm_roots() argument
|
H A D | raid1.c | 288 static inline void update_head_pos(int disk, struct r1bio *r1_bio) update_head_pos() argument 518 int disk; read_balance() local 720 int disk; raid1_mergeable_bvec() local 2319 int disk; handle_read_error() local 2491 int disk = -1; sync_request() local 2765 struct raid1_info *disk; setup_conf() local
|
H A D | raid10.c | 730 int disk = r10_bio->devs[s].devnum; raid10_mergeable_bvec() local 786 int disk, slot; read_balance() local 3601 struct raid10_info *disk; run() local
|
H A D | dm.c | 164 struct gendisk *disk; member in struct:mapped_device 466 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 6427 struct disk_info *disk; setup_conf() local 7138 int disk; raid5_add_disk() local
|
H A D | md.c | 4863 struct gendisk *disk; md_alloc() local 5243 struct gendisk *disk = mddev->gendisk; restart_array() local 5459 struct gendisk *disk = mddev->gendisk; do_md_stop() local 6908 static void md_release(struct gendisk *disk, fmode_t mode) md_release() argument 6917 static int md_media_changed(struct gendisk *disk) md_media_changed() argument 6924 static int md_revalidate(struct gendisk *disk) md_revalidate() argument 7457 struct gendisk *disk = rdev->bdev->bd_contains->bd_disk; rdev_for_each_rcu() local
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtd_blkdevs.c | 53 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk) blktrans_dev_get() argument 241 static void blktrans_release(struct gendisk *disk, fmode_t mode) blktrans_release() argument
|
/linux-4.1.27/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.1.27/drivers/s390/block/ |
H A D | xpram.c | 366 struct gendisk *disk = xpram_disks[i]; xpram_setup_blkdev() local
|
H A D | dcssblk.c | 791 dcssblk_release(struct gendisk *disk, fmode_t mode) dcssblk_release() argument
|
H A D | dasd.c | 418 struct gendisk *disk; dasd_state_ready_to_online() local 445 struct gendisk *disk; dasd_state_online_to_ready() local 3100 static void dasd_release(struct gendisk *disk, fmode_t mode) dasd_release() argument
|
/linux-4.1.27/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 142 static void simdisk_release(struct gendisk *disk, fmode_t mode) simdisk_release() argument
|
/linux-4.1.27/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.1.27/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::__anon3579
|
H A D | drbd_worker.c | 1595 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 | 2467 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; drbd_rs_c_min_rate_throttle() local
|
/linux-4.1.27/drivers/block/ |
H A D | pmem.c | 124 struct gendisk *disk; pmem_alloc() local
|
H A D | z2ram.c | 312 z2_release(struct gendisk *disk, fmode_t mode) z2_release() argument
|
H A D | brd.c | 477 struct gendisk *disk; brd_alloc() local
|
H A D | nbd.c | 56 struct gendisk *disk; member in struct:nbd_device 380 struct gendisk *disk = dev_to_disk(dev); pid_show() local 807 struct gendisk *disk = alloc_disk(1 << part_shift); nbd_init() local 841 struct gendisk *disk = nbd_dev[i].disk; nbd_init() local 874 struct gendisk *disk = nbd_dev[i].disk; nbd_cleanup() 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 | null_blk.c | 34 struct gendisk *disk; member in struct:nullb 414 static void null_release(struct gendisk *disk, fmode_t mode) null_release() argument 499 struct gendisk *disk; null_add_dev() 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 | 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 | 760 static int mm_revalidate(struct gendisk *disk) mm_revalidate() argument 1090 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 508 struct gendisk *disk = dev_to_disk(dev); virtblk_cache_type_store() local 530 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 | 546 struct gendisk *disk = dev_to_disk(dev); loop_attr_show() local 1341 static void lo_release(struct gendisk *disk, fmode_t mode) lo_release() argument 1533 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 2709 static unsigned int pkt_check_events(struct gendisk *disk, pkt_check_events() argument 2746 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 | 1938 struct gendisk *disk; blkfront_remove() local 1992 struct gendisk *disk = bdev->bd_disk; blkif_open() local 2018 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 | 1065 static inline ctlr_info_t *get_host(struct gendisk *disk) get_host() argument 1070 static inline drive_info_struct *get_drv(struct gendisk *disk) get_drv() argument 1127 static void cciss_release(struct gendisk *disk, fmode_t mode) cciss_release() argument 1703 struct gendisk *disk = bdev->bd_disk; cciss_ioctl() local 1931 static int cciss_add_disk(ctlr_info_t *h, struct gendisk *disk, cciss_add_disk() argument 1989 struct gendisk *disk; cciss_update_drive_info() local 2243 struct gendisk *disk; cciss_add_controller_node() local 2455 struct gendisk *disk; deregister_disk() local 2943 static int cciss_revalidate(struct gendisk *disk) cciss_revalidate() argument 5271 struct gendisk *disk = h->gendisk[j]; cciss_remove_one() local 1445 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 3834 static int floppy_revalidate(struct gendisk *disk) floppy_revalidate() argument
|
H A D | nvme-core.c | 1962 static void nvme_release(struct gendisk *disk, fmode_t mode) nvme_release() argument 1989 static int nvme_revalidate_disk(struct gendisk *disk) nvme_revalidate_disk() argument 2110 struct gendisk *disk; nvme_alloc_ns() local
|
H A D | rbd.c | 339 struct gendisk *disk; /* blkdev's gendisk and rq */ member in struct:rbd_device 566 static void rbd_release(struct gendisk *disk, fmode_t mode) rbd_release() argument 3506 struct gendisk *disk = rbd_dev->disk; rbd_free_disk() local 3745 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.1.27/drivers/block/zram/ |
H A D | zram_drv.h | 105 struct gendisk *disk; member in struct:zram
|
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/sysdev/ |
H A D | axonram.c | 63 struct gendisk *disk; member in struct:axon_ram_bank
|
/linux-4.1.27/arch/m68k/emu/ |
H A D | nfblock.c | 59 struct gendisk *disk; member in struct:nfhd_device
|
/linux-4.1.27/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.1.27/drivers/usb/storage/ |
H A D | transport.c | 524 struct gendisk *disk; last_sector_hacks() local
|
/linux-4.1.27/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 | 5152 int disk; mptbase_raid_process_event_data() local
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_block.c | 604 static void i2o_block_release(struct gendisk *disk, fmode_t mode) i2o_block_release() argument 655 struct gendisk *disk = bdev->bd_disk; i2o_block_ioctl() local 702 static unsigned int i2o_block_check_events(struct gendisk *disk, i2o_block_check_events() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | lloop.c | 594 static void lo_release(struct gendisk *disk, fmode_t mode) lo_release() argument 812 struct gendisk *disk = disks[i]; lloop_init() local
|
/linux-4.1.27/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::__anon3236
|
/linux-4.1.27/fs/btrfs/ |
H A D | sysfs.c | 608 struct hd_struct *disk; btrfs_kobj_rm_device() local 640 struct hd_struct *disk; btrfs_kobj_add_device() local
|
H A D | ctree.c | 1585 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) comp_keys() argument
|
H A D | ctree.h | 2771 static inline void btrfs_cpu_key_to_disk(struct btrfs_disk_key *disk, btrfs_cpu_key_to_disk() argument 3031 btrfs_cpu_balance_args_to_disk(struct btrfs_disk_balance_args *disk, btrfs_cpu_balance_args_to_disk() argument 2763 btrfs_disk_key_to_cpu(struct btrfs_key *cpu, struct btrfs_disk_key *disk) btrfs_disk_key_to_cpu() argument 3013 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.1.27/kernel/power/ |
H A D | hibernate.c | 988 power_attr(disk); variable
|
/linux-4.1.27/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.1.27/drivers/scsi/pcmcia/ |
H A D | sym53c500_cs.c | 602 SYM53C500_biosparm(struct scsi_device *disk, SYM53C500_biosparm() argument
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pcd.c | 201 struct gendisk *disk; member in struct:pcd_unit 239 static void pcd_block_release(struct gendisk *disk, fmode_t mode) pcd_block_release() argument 260 static unsigned int pcd_block_check_events(struct gendisk *disk, pcd_block_check_events() argument 299 struct gendisk *disk = alloc_disk(1); pcd_init_units() local
|
H A D | pf.c | 240 struct gendisk *disk; member in struct:pf_unit 286 struct gendisk *disk = alloc_disk(1); pf_init_units() local 363 static void pf_release(struct gendisk *disk, fmode_t mode) pf_release() argument 382 static unsigned int pf_check_events(struct gendisk *disk, unsigned int clearing) pf_check_events() argument 979 struct gendisk *disk = pf->disk; pf_init() local
|
H A D | pd.c | 250 static inline int status_reg(struct pd_unit *disk) status_reg() argument 255 static inline int read_reg(struct pd_unit *disk, int reg) read_reg() argument 260 static inline void write_status(struct pd_unit *disk, int val) write_status() argument 265 static inline void write_reg(struct pd_unit *disk, int reg, int val) write_reg() argument 270 static inline u8 DRIVE(struct pd_unit *disk) DRIVE() argument 277 static void pd_print_error(struct pd_unit *disk, char *msg, int status) pd_print_error() argument 288 static void pd_reset(struct pd_unit *disk) pd_reset() argument 298 static int pd_wait_for(struct pd_unit *disk, int w, char *msg) pd_wait_for() argument 318 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 331 static void pd_ide_command(struct pd_unit *disk, int func, int block, int count) pd_ide_command() argument 587 static void pd_init_dev_parms(struct pd_unit *disk) pd_init_dev_parms() argument 596 static enum action pd_door_lock(struct pd_unit *disk) pd_door_lock() argument 605 static enum action pd_door_unlock(struct pd_unit *disk) pd_door_unlock() argument 614 static enum action pd_eject(struct pd_unit *disk) pd_eject() argument 625 static enum action pd_media_check(struct pd_unit *disk) pd_media_check() argument 643 static void pd_standby_off(struct pd_unit *disk) pd_standby_off() argument 650 static enum action pd_identify(struct pd_unit *disk) pd_identify() argument 718 static int pd_special_command(struct pd_unit *disk, pd_special_command() argument 741 struct pd_unit *disk = bdev->bd_disk->private_data; pd_open() local 756 struct pd_unit *disk = bdev->bd_disk->private_data; pd_getgeo() local 774 struct pd_unit *disk = bdev->bd_disk->private_data; pd_ioctl() local 790 struct pd_unit *disk = p->private_data; pd_release() local 800 struct pd_unit *disk = p->private_data; pd_check_events() local 812 struct pd_unit *disk = p->private_data; pd_revalidate() local 832 static void pd_probe_drive(struct pd_unit *disk) pd_probe_drive() argument 858 struct pd_unit *disk; pd_detect() local 862 struct pd_unit *disk = pd + unit; pd_detect() local 941 struct pd_unit *disk; pd_exit() local
|
/linux-4.1.27/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.1.27/fs/ |
H A D | block_dev.c | 812 struct gendisk *disk; bd_start_claiming() local 862 struct gendisk *disk; member in struct:bd_holder_disk 915 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_link_disk_holder() argument 980 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_unlink_disk_holder() argument 1037 void check_disk_size_change(struct gendisk *disk, struct block_device *bdev) check_disk_size_change() argument 1064 int revalidate_disk(struct gendisk *disk) revalidate_disk() argument 1096 struct gendisk *disk = bdev->bd_disk; check_disk_change() local 1141 struct gendisk *disk; __blkdev_get() local 1327 struct gendisk *disk = whole->bd_disk; blkdev_get() local 1484 struct gendisk *disk = bdev->bd_disk; __blkdev_put() local 866 bd_find_holder_disk(struct block_device *bdev, struct gendisk *disk) bd_find_holder_disk() argument
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | bcache.h | 269 struct gendisk *disk; member in struct:bcache_device 307 struct bcache_device disk; member in struct:cached_dev
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | block.c | 97 struct gendisk *disk; member in struct:mmc_blk_data 155 static struct mmc_blk_data *mmc_blk_get(struct gendisk *disk) mmc_blk_get() argument 170 static inline int mmc_get_devidx(struct gendisk *disk) mmc_get_devidx() argument 315 static void mmc_blk_release(struct gendisk *disk, fmode_t mode) mmc_blk_release() argument
|
/linux-4.1.27/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.1.27/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 | 3662 void mtip_block_release(struct gendisk *disk, fmode_t mode) mtip_block_release() argument
|
/linux-4.1.27/drivers/char/ |
H A D | random.c | 930 void add_disk_randomness(struct gendisk *disk) add_disk_randomness() argument 1326 void rand_initialize_disk(struct gendisk *disk) rand_initialize_disk() argument
|
/linux-4.1.27/drivers/scsi/esas2r/ |
H A D | atvda.h | 928 struct atto_vda_ae_disk disk; member in union:atto_vda_ae
|