Searched defs:disk (Results 1 - 133 of 133) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dsd_dif.c44 struct gendisk *disk = sdkp->disk; sd_dif_config_host() local
H A Dsr.h56 struct gendisk *disk; member in struct:scsi_cd
H A Dsr.c138 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 Dsd.h66 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 Datp870u.c3112 static int atp870u_biosparam(struct scsi_device *disk, struct block_device *dev, atp870u_biosparam() argument
H A DNCR53c406a.c750 static int NCR53c406a_biosparm(struct scsi_device *disk, NCR53c406a_biosparm() argument
H A Dsd.c569 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 Dst.h193 struct gendisk *disk; member in struct:scsi_tape
H A Du14-34f.c1530 static int u14_34f_bios_param(struct scsi_device *disk, u14_34f_bios_param() argument
H A Dsg.c185 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 Dst.c4153 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 Dide-gd.h19 struct gendisk *disk; member in struct:ide_disk_obj
H A Dide-floppy_ioctl.c239 struct gendisk *disk = floppy->disk; ide_floppy_lockdoor() local
H A Dide-cd.h82 struct gendisk *disk; member in struct:cdrom_info
H A Dide-floppy.c313 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 Dide-gd.c33 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 Dide-atapi.c89 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 Dide-disk.c760 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 Dide-probe.c920 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 Dide-cd.c58 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 Dide-tape.c143 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 Dlinear.c100 struct dev_info *disk = conf->disks + j; rdev_for_each() local
H A Dmultipath.c379 struct multipath_info *disk; multipath_run() local
H A Ddm-log.c280 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 Ddm-era-target.c194 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 Ddm-ioctl.c506 struct gendisk *disk; list_devices() local
682 struct gendisk *disk = dm_disk(md); __dev_status() local
H A Ddm-table.c1029 static bool integrity_profile_exists(struct gendisk *disk) integrity_profile_exists() argument
H A Ddm-thin-metadata.c462 copy_sm_roots(struct dm_pool_metadata *pmd, struct thin_disk_superblock *disk) copy_sm_roots() argument
H A Draid1.c291 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 Draid10.c699 int disk, slot; read_balance() local
3533 struct raid10_info *disk; run() local
H A Ddm.c167 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 Draid5.c199 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 Dmd.c4978 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 Dblk-timeout.c43 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 Dblk-integrity.c248 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 Dioctl.c16 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 Dpartition-generic.c241 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 Dscsi_ioctl.c416 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, sg_scsi_ioctl() argument
H A Dblk-mq-sysfs.c383 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 Dblk-settings.c669 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, disk_stack_limits() argument
H A Dblk-cgroup.c789 struct gendisk *disk; __acquires() local
H A Dblk-sysfs.c621 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 Dcompat_ioctl.c51 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 Dgenhd.c61 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 Dpage_io.c112 struct gendisk *disk = sis->bdev->bd_disk; end_swap_bio_read() local
H A Dswapfile.c818 struct gendisk *disk = p->bdev->bd_disk; swap_entry_free() local
/linux-4.4.14/include/linux/
H A Damifd.h53 int disk; /* disk in drive (-1 == unknown) */ member in struct:amiga_floppy_struct
H A Dpktcdvd.h192 struct gendisk *disk; member in struct:pktcdvd_device
H A Dblk-cgroup.h211 struct gendisk *disk; member in struct:blkg_conf_ctx
H A Dcdrom.h41 struct gendisk *disk; /* matching block layer disk */ member in struct:cdrom_device_info
H A Ddrbd.h272 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member in struct:drbd_state::__anon12232
H A Dlightnvm.h115 struct gendisk *disk; member in struct:nvm_target
H A Dgenhd.h253 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 Dblkdev.h1503 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 Dfs.h2330 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 Dblktrans.h45 struct gendisk *disk; member in struct:mtd_blktrans_dev
/linux-4.4.14/Documentation/laptops/
H A Ddslm.c135 char *disk = 0; main() local
/linux-4.4.14/drivers/scsi/osd/
H A Dosd_uld.c89 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 Dxpram.c368 struct gendisk *disk = xpram_disks[i]; xpram_setup_blkdev() local
H A Ddcssblk.c792 dcssblk_release(struct gendisk *disk, fmode_t mode) dcssblk_release() argument
H A Ddasd.c420 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 Dmtd_blkdevs.c53 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 Dblk.c26 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 Dcore.c219 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 Dpmem.c170 struct gendisk *disk; pmem_attach_disk() local
H A Dbus.c236 int nvdimm_revalidate_disk(struct gendisk *disk) nvdimm_revalidate_disk() argument
H A Dnd.h269 struct gendisk *disk = bio->bi_bdev->bd_disk; nd_iostat_start() local
/linux-4.4.14/drivers/block/aoe/
H A Daoeblk.c37 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 Ddrbd_state.h85 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member in struct:drbd_dev_state::__anon3607
H A Ddrbd_worker.c1573 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; drbd_rs_controller_reset() local
H A Ddrbd_main.c2721 struct gendisk *disk; drbd_create_device() local
H A Ddrbd_receiver.c2468 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 Dsimdisk.c137 static void simdisk_release(struct gendisk *disk, fmode_t mode) simdisk_release() argument
/linux-4.4.14/drivers/block/
H A Dz2ram.c312 z2_release(struct gendisk *disk, fmode_t mode) z2_release() argument
H A Dbrd.c480 struct gendisk *disk; brd_alloc() local
H A Dosdblk.c106 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 Dnbd.c56 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 Dcpqarray.c187 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 Dhd.c304 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 Dnull_blk.c36 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 Dsunvdc.c52 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 Dswim.c192 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 Dumem.c762 static int mm_revalidate(struct gendisk *disk) mm_revalidate() argument
1092 struct gendisk *disk = mm_gendisk[i]; mm_init() local
H A Dvirtio_blk.c35 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 Damiflop.c814 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 Dataflop.c221 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 Dloop.c720 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 Dpktcdvd.c2317 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 Dswim3.c1024 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 Dxen-blkfront.c2129 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 Dxsysace.c918 static void ace_release(struct gendisk *disk, fmode_t mode) ace_release() argument
H A Dsx8.c245 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 DDAC960.c80 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 Dcciss.c1081 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 Dfloppy.c3621 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 Drbd.c339 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 Dskd_main.c284 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 Dzram_drv.h98 struct gendisk *disk; member in struct:zram
/linux-4.4.14/init/
H A Ddo_mounts_rd.c190 int nblocks, i, disk; rd_load_image() local
H A Ddo_mounts.c121 struct gendisk *disk; devt_from_partuuid() local
/linux-4.4.14/fs/quota/
H A Dquota_tree.c206 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk) qtree_entry_unused() argument
/linux-4.4.14/arch/powerpc/sysdev/
H A Daxonram.c63 struct gendisk *disk; member in struct:axon_ram_bank
/linux-4.4.14/arch/m68k/emu/
H A Dnfblock.c59 struct gendisk *disk; member in struct:nfhd_device
/linux-4.4.14/drivers/usb/storage/
H A Dtransport.c524 struct gendisk *disk; last_sector_hacks() local
/linux-4.4.14/drivers/sbus/char/
H A Djsflash.c562 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 Drrpc.h87 struct gendisk *disk; member in struct:rrpc
/linux-4.4.14/drivers/nvme/host/
H A Dnvme.h84 struct gendisk *disk; member in struct:nvme_ns
H A Dpci.c2002 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 Dlloop.c599 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 Dmptspi.c1113 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 Dmptbase.c5128 int disk; mptbase_raid_process_event_data() local
/linux-4.4.14/block/partitions/
H A Dldm.c641 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 Dldm.h194 struct vblk_disk disk; member in union:vblk::__anon3262
/linux-4.4.14/fs/btrfs/
H A Dsysfs.c643 struct hd_struct *disk; btrfs_sysfs_rm_device_link() local
693 struct hd_struct *disk; btrfs_sysfs_add_device_link() local
H A Dctree.c1588 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) comp_keys() argument
H A Dctree.h2815 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 Dhibernate.c991 power_attr(disk); variable
/linux-4.4.14/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c602 SYM53C500_biosparm(struct scsi_device *disk, SYM53C500_biosparm() argument
/linux-4.4.14/drivers/memstick/core/
H A Dms_block.c1945 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 Dms_block.h152 struct gendisk *disk; member in struct:msb_data
H A Dmspro_block.c142 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 Dpcd.c201 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 Dpf.c240 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 Dpd.c252 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 Dgdrom.c117 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 Dblock_dev.c842 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 Dbcache.h256 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 Dblock.c99 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 Dubd_kern.c808 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 Dmtip32xx.h465 struct gendisk *disk; /* Pointer to our gendisk structure. */ member in struct:driver_data
H A Dmtip32xx.c3696 void mtip_block_release(struct gendisk *disk, fmode_t mode) mtip_block_release() argument
/linux-4.4.14/drivers/char/
H A Drandom.c950 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 Datvda.h928 struct atto_vda_ae_disk disk; member in union:atto_vda_ae

Completed in 5337 milliseconds