/drivers/block/paride/ |
D | pd.c | 250 static inline int status_reg(struct pd_unit *disk) in status_reg() 255 static inline int read_reg(struct pd_unit *disk, int reg) in read_reg() 260 static inline void write_status(struct pd_unit *disk, int val) in write_status() 265 static inline void write_reg(struct pd_unit *disk, int reg, int val) in write_reg() 270 static inline u8 DRIVE(struct pd_unit *disk) in DRIVE() 277 static void pd_print_error(struct pd_unit *disk, char *msg, int status) in pd_print_error() 288 static void pd_reset(struct pd_unit *disk) in pd_reset() 298 static int pd_wait_for(struct pd_unit *disk, int w, char *msg) in pd_wait_for() 318 static void pd_send_command(struct pd_unit *disk, int n, int s, int h, int c0, int c1, int func) in pd_send_command() 331 static void pd_ide_command(struct pd_unit *disk, int func, int block, int count) in pd_ide_command() [all …]
|
D | pf.c | 240 struct gendisk *disk; member 286 struct gendisk *disk = alloc_disk(1); in pf_init_units() local 363 static void pf_release(struct gendisk *disk, fmode_t mode) in pf_release() 382 static unsigned int pf_check_events(struct gendisk *disk, unsigned int clearing) in pf_check_events() 979 struct gendisk *disk = pf->disk; in pf_init() local
|
D | pcd.c | 201 struct gendisk *disk; member 239 static void pcd_block_release(struct gendisk *disk, fmode_t mode) in pcd_block_release() 260 static unsigned int pcd_block_check_events(struct gendisk *disk, in pcd_block_check_events() 299 struct gendisk *disk = alloc_disk(1); in pcd_init_units() local
|
/drivers/ide/ |
D | ide-gd.c | 33 static struct ide_disk_obj *ide_disk_get(struct gendisk *disk) in ide_disk_get() 185 struct gendisk *disk = bdev->bd_disk; local 253 static void ide_gd_release(struct gendisk *disk, fmode_t mode) 286 static unsigned int ide_gd_check_events(struct gendisk *disk, 311 static void ide_gd_unlock_native_capacity(struct gendisk *disk) 321 static int ide_gd_revalidate_disk(struct gendisk *disk)
|
D | ide-atapi.c | 89 int ide_queue_pc_tail(ide_drive_t *drive, struct gendisk *disk, in ide_queue_pc_tail() 116 int ide_do_test_unit_ready(ide_drive_t *drive, struct gendisk *disk) in ide_do_test_unit_ready() 127 int ide_do_start_stop(ide_drive_t *drive, struct gendisk *disk, int start) in ide_do_start_stop() 142 int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on) in ide_set_media_lock()
|
D | ide-floppy.c | 313 struct gendisk *disk = floppy->disk; in ide_floppy_get_flexible_disk_page() local 375 struct gendisk *disk = floppy->disk; in ide_floppy_get_capacity() local 519 static int ide_floppy_init_media(ide_drive_t *drive, struct gendisk *disk) in ide_floppy_init_media()
|
D | ide-tape.c | 143 struct gendisk *disk; member 231 static struct ide_tape_obj *ide_tape_get(struct gendisk *disk, bool cdev, in ide_tape_get() 684 struct gendisk *disk = tape->disk; in idetape_wait_ready() local 804 struct gendisk *disk = tape->disk; in idetape_position_tape() local 1010 struct gendisk *disk = tape->disk; in idetape_rewind_tape() local 1065 struct gendisk *disk = tape->disk; in idetape_space_over_filemarks() local 1255 struct gendisk *disk = tape->disk; in idetape_mtioctop() local 1921 static void idetape_release(struct gendisk *disk, fmode_t mode) in idetape_release()
|
/drivers/scsi/ |
D | sr.c | 138 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd() 160 static inline struct scsi_cd *scsi_cd_get(struct gendisk *disk) in scsi_cd_get() 536 static void sr_block_release(struct gendisk *disk, fmode_t mode) in sr_block_release() 587 static unsigned int sr_block_check_events(struct gendisk *disk, in sr_block_check_events() 598 static int sr_block_revalidate_disk(struct gendisk *disk) in sr_block_revalidate_disk() 659 struct gendisk *disk; in sr_probe() local 976 struct gendisk *disk = cd->disk; in sr_kref_release() local
|
D | sd.c | 567 static struct scsi_disk *__scsi_disk_get(struct gendisk *disk) in __scsi_disk_get() 581 static struct scsi_disk *scsi_disk_get(struct gendisk *disk) in scsi_disk_get() 906 struct gendisk *disk = rq->rq_disk; in sd_setup_read_write_cmnd() local 1257 static void sd_release(struct gendisk *disk, fmode_t mode) in sd_release() 1319 struct gendisk *disk = bdev->bd_disk; in sd_ioctl() local 1403 static unsigned int sd_check_events(struct gendisk *disk, unsigned int clearing) in sd_check_events() 2768 static int sd_revalidate_disk(struct gendisk *disk) in sd_revalidate_disk() 2847 static void sd_unlock_native_capacity(struct gendisk *disk) in sd_unlock_native_capacity() 3115 struct gendisk *disk = sdkp->disk; in scsi_disk_release() local
|
D | sd.h | 66 struct gendisk *disk; member 99 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk() 253 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host()
|
/drivers/block/aoe/ |
D | aoeblk.c | 37 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_state() local 50 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_mac() local 61 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_netif() local 99 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_fwver() local 107 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_payload() local 262 aoeblk_release(struct gendisk *disk, fmode_t mode) in aoeblk_release()
|
/drivers/block/ |
D | hd.c | 304 static void hd_out(struct hd_i_struct *disk, in hd_out() 381 struct hd_i_struct *disk = &hd_info[i]; in reset_hd() local 420 struct hd_i_struct *disk = req->rq_disk->private_data; in bad_rw_intr() local 554 static int do_special_op(struct hd_i_struct *disk, struct request *req) in do_special_op() 582 struct hd_i_struct *disk; in hd_request() local 663 struct hd_i_struct *disk = bdev->bd_disk->private_data; in hd_getgeo() local 736 struct gendisk *disk = alloc_disk(64); in hd_init() local
|
D | virtio_blk.c | 36 struct gendisk *disk; member 236 static int virtblk_get_id(struct gendisk *disk, char *id_str) in virtblk_get_id() 264 struct gendisk *disk = bdev->bd_disk; in virtblk_ioctl() local 318 struct gendisk *disk = dev_to_disk(dev); in virtblk_serial_show() local 505 struct gendisk *disk = dev_to_disk(dev); in virtblk_cache_type_store() local 527 struct gendisk *disk = dev_to_disk(dev); in virtblk_cache_type_show() local
|
D | cpqarray.c | 187 static inline drv_info_t *get_drv(struct gendisk *disk) in get_drv() 192 static inline ctlr_info_t *get_host(struct gendisk *disk) in get_host() 465 struct gendisk *disk = ida_gendisk[i][j]; in cpqarray_register_ctlr() local 859 static void ida_release(struct gendisk *disk, fmode_t mode) in ida_release() 1540 struct gendisk *disk = ida_gendisk[ctlr][i]; in revalidate_allvol() local 1556 struct gendisk *disk = ida_gendisk[ctlr][i]; in revalidate_allvol() local 1572 static int ida_revalidate(struct gendisk *disk) in ida_revalidate()
|
D | nbd.c | 401 struct gendisk *disk = dev_to_disk(dev); in pid_show() local 832 struct gendisk *disk = alloc_disk(1 << part_shift); in nbd_init() local 867 struct gendisk *disk = nbd_dev[i].disk; in nbd_init() local 900 struct gendisk *disk = nbd_dev[i].disk; in nbd_cleanup() local
|
D | amiflop.c | 814 static unsigned long *putsec(int disk, unsigned long *raw, int cnt) in putsec() 848 static void amiga_write(int disk) in amiga_write() 1205 static void dos_write(int disk) in dos_write() 1637 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release() 1665 static unsigned amiga_check_events(struct gendisk *disk, unsigned int clearing) in amiga_check_events() 1710 struct gendisk *disk; in fd_probe_drives() local
|
D | osdblk.c | 106 struct gendisk *disk; /* blkdev's gendisk and rq */ member 383 struct gendisk *disk = osdev->disk; in osdblk_free_disk() local 397 struct gendisk *disk; in osdblk_init_disk() local
|
D | ataflop.c | 221 struct gendisk *disk; member 1328 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events() 1351 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate() 1512 struct gendisk *disk = bdev->bd_disk; in fd_locked_ioctl() local 1889 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
|
D | null_blk.c | 34 struct gendisk *disk; member 376 static void null_release(struct gendisk *disk, fmode_t mode) in null_release() 461 struct gendisk *disk; in null_add_dev() local
|
D | sunvdc.c | 50 struct gendisk *disk; member 102 struct gendisk *disk = bdev->bd_disk; in vdc_getgeo() local 124 struct gendisk *disk; in vdc_ioctl() local
|
D | cciss.c | 1065 static inline ctlr_info_t *get_host(struct gendisk *disk) in get_host() 1070 static inline drive_info_struct *get_drv(struct gendisk *disk) in get_drv() 1127 static void cciss_release(struct gendisk *disk, fmode_t mode) in cciss_release() 1446 struct gendisk *disk, void __user *argp) in cciss_getluninfo() 1703 struct gendisk *disk = bdev->bd_disk; in cciss_ioctl() local 1931 static int cciss_add_disk(ctlr_info_t *h, struct gendisk *disk, in cciss_add_disk() 1989 struct gendisk *disk; in cciss_update_drive_info() local 2243 struct gendisk *disk; in cciss_add_controller_node() local 2455 struct gendisk *disk; in deregister_disk() local 2943 static int cciss_revalidate(struct gendisk *disk) in cciss_revalidate() [all …]
|
/drivers/md/ |
D | dm-era-target.c | 194 struct superblock_disk *disk = dm_block_data(b); in sb_prepare_for_write() local 202 static int check_metadata_version(struct superblock_disk *disk) in check_metadata_version() 218 struct superblock_disk *disk = dm_block_data(b); in sb_check() local 351 static void ws_pack(const struct writeset_metadata *core, struct writeset_disk *disk) in ws_pack() 357 static void ws_unpack(const struct writeset_disk *disk, struct writeset_metadata *core) in ws_unpack() 475 static void copy_sm_root(struct era_metadata *md, struct superblock_disk *disk) in copy_sm_root() 487 static void prepare_superblock(struct era_metadata *md, struct superblock_disk *disk) in prepare_superblock() 513 struct superblock_disk *disk; in write_superblock() local 556 struct superblock_disk *disk; in open_metadata() local 722 struct writeset_disk disk; in metadata_digest_lookup_writeset() local [all …]
|
/drivers/mtd/ |
D | mtd_blkdevs.c | 53 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk) in blktrans_dev_get() 240 static void blktrans_release(struct gendisk *disk, fmode_t mode) in blktrans_release()
|
/drivers/message/i2o/ |
D | i2o_block.c | 604 static void i2o_block_release(struct gendisk *disk, fmode_t mode) in i2o_block_release() 655 struct gendisk *disk = bdev->bd_disk; in i2o_block_ioctl() local 702 static unsigned int i2o_block_check_events(struct gendisk *disk, in i2o_block_check_events()
|
/drivers/message/fusion/ |
D | mptspi.c | 1113 int disk; member 1124 int disk = wqw->disk; in mpt_work_wrapper() local 1157 static void mpt_dv_raid(struct _MPT_SCSI_HOST *hd, int disk) in mpt_dv_raid() 1189 int disk = (le32_to_cpu(pEvReply->Data[0]) & 0xFF000000) >> 24; in mptspi_event_process() local
|