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

/linux-4.1.27/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.1.27/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
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 Datp870u.c3112 static int atp870u_biosparam(struct scsi_device *disk, struct block_device *dev, atp870u_biosparam() argument
H A Dst.h172 struct gendisk *disk; member in struct:scsi_tape
H A DNCR53c406a.c750 static int NCR53c406a_biosparm(struct scsi_device *disk, NCR53c406a_biosparm() argument
H A Dsd.c567 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 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
1394 sg_alloc(struct gendisk *disk, struct scsi_device *scsidp) sg_alloc() argument
1459 struct gendisk *disk; sg_add_device() local
H A Dst.c4098 struct gendisk *disk = NULL; st_probe() local
4289 struct gendisk *disk = tpnt->disk; scsi_tape_release() local
/linux-4.1.27/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 Dioctl.c15 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 Dblk-integrity.c396 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 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
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 Dscsi_ioctl.c416 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, sg_scsi_ioctl() argument
H A Dblk-cgroup.c709 struct gendisk *disk; __acquires() local
H A Dblk-mq-sysfs.c377 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 Dblk-settings.c686 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, disk_stack_limits() argument
H A Dblk-sysfs.c540 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 Dblk-cgroup.h170 struct gendisk *disk; member in struct:blkg_conf_ctx
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.c60 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 Ddslm.c135 char *disk = 0; main() local
/linux-4.1.27/mm/
H A Dpage_io.c116 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.1.27/include/linux/
H A Damifd.h53 int disk; /* disk in drive (-1 == unknown) */ member in struct:amiga_floppy_struct
H A Dnvme.h116 struct gendisk *disk; member in struct:nvme_ns
H A Dpktcdvd.h192 struct gendisk *disk; member in struct:pktcdvd_device
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::__anon11617
H A Dgenhd.h240 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 Dblkdev.h1508 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 Dfs.h2296 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 Dblktrans.h45 struct gendisk *disk; member in struct:mtd_blktrans_dev
/linux-4.1.27/drivers/md/
H A Dlinear.c142 struct dev_info *disk = conf->disks + j; rdev_for_each() local
H A Dmultipath.c389 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
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 Ddm-ioctl.c506 struct gendisk *disk; list_devices() local
682 struct gendisk *disk = dm_disk(md); __dev_status() local
H A Ddm-thin-metadata.c461 copy_sm_roots(struct dm_pool_metadata *pmd, struct thin_disk_superblock *disk) copy_sm_roots() argument
H A Draid1.c288 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 Draid10.c730 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 Ddm.c164 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 Draid5.c199 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 Dmd.c4863 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 Dmtd_blkdevs.c53 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 Dosd_uld.c89 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 Dxpram.c366 struct gendisk *disk = xpram_disks[i]; xpram_setup_blkdev() local
H A Ddcssblk.c791 dcssblk_release(struct gendisk *disk, fmode_t mode) dcssblk_release() argument
H A Ddasd.c418 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 Dsimdisk.c142 static void simdisk_release(struct gendisk *disk, fmode_t mode) simdisk_release() argument
/linux-4.1.27/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.1.27/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::__anon3579
H A Ddrbd_worker.c1595 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.c2467 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 Dpmem.c124 struct gendisk *disk; pmem_alloc() local
H A Dz2ram.c312 z2_release(struct gendisk *disk, fmode_t mode) z2_release() argument
H A Dbrd.c477 struct gendisk *disk; brd_alloc() local
H A Dnbd.c56 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 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 Dnull_blk.c34 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 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 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.c760 static int mm_revalidate(struct gendisk *disk) mm_revalidate() argument
1090 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
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 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.c546 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 Dpktcdvd.c2317 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 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.c1938 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 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.c1065 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 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
3834 static int floppy_revalidate(struct gendisk *disk) floppy_revalidate() argument
H A Dnvme-core.c1962 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 Drbd.c339 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 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.1.27/drivers/block/zram/
H A Dzram_drv.h105 struct gendisk *disk; member in struct:zram
/linux-4.1.27/fs/quota/
H A Dquota_tree.c206 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk) qtree_entry_unused() argument
/linux-4.1.27/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.1.27/arch/powerpc/sysdev/
H A Daxonram.c63 struct gendisk *disk; member in struct:axon_ram_bank
/linux-4.1.27/arch/m68k/emu/
H A Dnfblock.c59 struct gendisk *disk; member in struct:nfhd_device
/linux-4.1.27/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.1.27/drivers/usb/storage/
H A Dtransport.c524 struct gendisk *disk; last_sector_hacks() local
/linux-4.1.27/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.c5152 int disk; mptbase_raid_process_event_data() local
/linux-4.1.27/drivers/staging/i2o/
H A Di2o_block.c604 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 Dlloop.c594 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 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::__anon3236
/linux-4.1.27/fs/btrfs/
H A Dsysfs.c608 struct hd_struct *disk; btrfs_kobj_rm_device() local
640 struct hd_struct *disk; btrfs_kobj_add_device() local
H A Dctree.c1585 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) comp_keys() argument
H A Dctree.h2771 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 Dhibernate.c988 power_attr(disk); variable
/linux-4.1.27/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.1.27/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c602 SYM53C500_biosparm(struct scsi_device *disk, SYM53C500_biosparm() argument
/linux-4.1.27/drivers/block/paride/
H A Dpcd.c201 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 Dpf.c240 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 Dpd.c250 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 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.1.27/fs/
H A Dblock_dev.c812 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 Dbcache.h269 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 Dblock.c97 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 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.1.27/drivers/block/mtip32xx/
H A Dmtip32xx.h465 struct gendisk *disk; /* Pointer to our gendisk structure. */ member in struct:driver_data
H A Dmtip32xx.c3662 void mtip_block_release(struct gendisk *disk, fmode_t mode) mtip_block_release() argument
/linux-4.1.27/drivers/char/
H A Drandom.c930 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 Datvda.h928 struct atto_vda_ae_disk disk; member in union:atto_vda_ae

Completed in 6666 milliseconds