Home
last modified time | relevance | path

Searched defs:disk (Results 1 – 25 of 97) sorted by relevance

1234

/drivers/block/paride/
Dpd.c252 static inline int status_reg(struct pd_unit *disk) in status_reg()
257 static inline int read_reg(struct pd_unit *disk, int reg) in read_reg()
262 static inline void write_status(struct pd_unit *disk, int val) in write_status()
267 static inline void write_reg(struct pd_unit *disk, int reg, int val) in write_reg()
272 static inline u8 DRIVE(struct pd_unit *disk) in DRIVE()
279 static void pd_print_error(struct pd_unit *disk, char *msg, int status) in pd_print_error()
290 static void pd_reset(struct pd_unit *disk) in pd_reset()
300 static int pd_wait_for(struct pd_unit *disk, int w, char *msg) in pd_wait_for()
320 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()
333 static void pd_ide_command(struct pd_unit *disk, int func, int block, int count) in pd_ide_command()
[all …]
Dpf.c240 struct gendisk *disk; member
287 struct gendisk *disk = alloc_disk(1); in pf_init_units() local
371 static void pf_release(struct gendisk *disk, fmode_t mode) in pf_release()
390 static unsigned int pf_check_events(struct gendisk *disk, unsigned int clearing) in pf_check_events()
1007 struct gendisk *disk = pf->disk; in pf_init() local
Dpcd.c201 struct gendisk *disk; member
242 static void pcd_block_release(struct gendisk *disk, fmode_t mode) in pcd_block_release()
263 static unsigned int pcd_block_check_events(struct gendisk *disk, in pcd_block_check_events()
302 struct gendisk *disk = alloc_disk(1); in pcd_init_units() local
/drivers/ide/
Dide-gd.c33 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)
Dide-atapi.c89 int ide_queue_pc_tail(ide_drive_t *drive, struct gendisk *disk, in ide_queue_pc_tail()
117 int ide_do_test_unit_ready(ide_drive_t *drive, struct gendisk *disk) in ide_do_test_unit_ready()
128 int ide_do_start_stop(ide_drive_t *drive, struct gendisk *disk, int start) in ide_do_start_stop()
143 int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on) in ide_set_media_lock()
Dide-floppy.c319 struct gendisk *disk = floppy->disk; in ide_floppy_get_flexible_disk_page() local
381 struct gendisk *disk = floppy->disk; in ide_floppy_get_capacity() local
525 static int ide_floppy_init_media(ide_drive_t *drive, struct gendisk *disk) in ide_floppy_init_media()
Dide-tape.c143 struct gendisk *disk; member
231 static struct ide_tape_obj *ide_tape_get(struct gendisk *disk, bool cdev, in ide_tape_get()
686 struct gendisk *disk = tape->disk; in idetape_wait_ready() local
806 struct gendisk *disk = tape->disk; in idetape_position_tape() local
1012 struct gendisk *disk = tape->disk; in idetape_rewind_tape() local
1067 struct gendisk *disk = tape->disk; in idetape_space_over_filemarks() local
1257 struct gendisk *disk = tape->disk; in idetape_mtioctop() local
1923 static void idetape_release(struct gendisk *disk, fmode_t mode) in idetape_release()
Dide-cd.c59 static struct cdrom_info *ide_cd_get(struct gendisk *disk) in ide_cd_get()
1632 static void idecd_release(struct gendisk *disk, fmode_t mode) in idecd_release()
1717 static unsigned int idecd_check_events(struct gendisk *disk, in idecd_check_events()
1724 static int idecd_revalidate_disk(struct gendisk *disk) in idecd_revalidate_disk()
/drivers/scsi/
Dsr.c138 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()
549 static void sr_block_release(struct gendisk *disk, fmode_t mode) in sr_block_release()
600 static unsigned int sr_block_check_events(struct gendisk *disk, in sr_block_check_events()
617 static int sr_block_revalidate_disk(struct gendisk *disk) in sr_block_revalidate_disk()
683 struct gendisk *disk; in sr_probe() local
999 struct gendisk *disk = cd->disk; in sr_kref_release() local
Dsd.c621 static struct scsi_disk *scsi_disk_get(struct gendisk *disk) in scsi_disk_get()
1023 struct gendisk *disk = rq->rq_disk; in sd_setup_read_write_cmnd() local
1411 static void sd_release(struct gendisk *disk, fmode_t mode) in sd_release()
1468 struct gendisk *disk = bdev->bd_disk; in sd_ioctl() local
1555 static unsigned int sd_check_events(struct gendisk *disk, unsigned int clearing) in sd_check_events()
1700 struct gendisk *disk = bdev->bd_disk; in sd_compat_ioctl() local
3148 static int sd_revalidate_disk(struct gendisk *disk) in sd_revalidate_disk()
3255 static void sd_unlock_native_capacity(struct gendisk *disk) in sd_unlock_native_capacity()
3539 struct gendisk *disk = sdkp->disk; in scsi_disk_release() local
Dsd.h74 struct gendisk *disk; member
124 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk()
263 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host()
/drivers/block/aoe/
Daoeblk.c37 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/
Dvirtio_blk.c37 struct gendisk *disk; member
128 struct gendisk *disk = bdev->bd_disk; in virtblk_ioctl() local
296 static int virtblk_get_id(struct gendisk *disk, char *id_str) in virtblk_get_id()
359 struct gendisk *disk = dev_to_disk(dev); in virtblk_serial_show() local
546 struct gendisk *disk = dev_to_disk(dev); in virtblk_cache_type_store() local
565 struct gendisk *disk = dev_to_disk(dev); in virtblk_cache_type_show() local
Damiflop.c814 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()
1704 struct gendisk *disk; in fd_alloc_disk() local
1740 struct gendisk *disk; in fd_probe_drives() local
Dataflop.c221 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()
1514 struct gendisk *disk = bdev->bd_disk; in fd_locked_ioctl() local
1891 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
1989 struct gendisk *disk = unit[i].disk; in atari_floppy_init() local
Dswim.c192 struct gendisk *disk; member
696 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
756 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events()
764 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate()
891 struct gendisk *disk = swd->unit[drive].disk; in swim_floppy_init() local
Dswim3.c1024 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
1042 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events()
1049 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate()
1210 struct gendisk *disk; in swim3_attach() local
/drivers/md/
Ddm-era-target.c194 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
352 static void ws_pack(const struct writeset_metadata *core, struct writeset_disk *disk) in ws_pack()
358 static void ws_unpack(const struct writeset_disk *disk, struct writeset_metadata *core) in ws_unpack()
476 static void copy_sm_root(struct era_metadata *md, struct superblock_disk *disk) in copy_sm_root()
488 static void prepare_superblock(struct era_metadata *md, struct superblock_disk *disk) in prepare_superblock()
514 struct superblock_disk *disk; in write_superblock() local
557 struct superblock_disk *disk; in open_metadata() local
724 struct writeset_disk disk; in metadata_digest_lookup_writeset() local
[all …]
/drivers/mtd/
Dmtd_blkdevs.c53 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk) in blktrans_dev_get()
241 static void blktrans_release(struct gendisk *disk, fmode_t mode) in blktrans_release()
/drivers/message/fusion/
Dmptspi.c1113 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
/drivers/nvdimm/
Dblk.c243 static void nd_blk_release_disk(void *disk) in nd_blk_release_disk()
254 struct gendisk *disk; in nsblk_attach_disk() local
Dpmem.h24 struct gendisk *disk; member
/drivers/nvme/host/
Dcore.c271 static struct nvme_ns *nvme_get_ns_from_disk(struct gendisk *disk) in nvme_get_ns_from_disk()
642 struct gendisk *disk = ns ? ns->disk : NULL; in nvme_submit_user_cmd() local
1069 static void nvme_release(struct gendisk *disk, fmode_t mode) in nvme_release()
1087 static void nvme_prep_integrity(struct gendisk *disk, struct nvme_id_ns *id, in nvme_prep_integrity()
1136 static void nvme_prep_integrity(struct gendisk *disk, struct nvme_id_ns *id, in nvme_prep_integrity()
1193 static void __nvme_revalidate_disk(struct gendisk *disk, struct nvme_id_ns *id) in __nvme_revalidate_disk()
1228 static int nvme_revalidate_disk(struct gendisk *disk) in nvme_revalidate_disk()
2343 struct gendisk *disk; in nvme_alloc_ns() local
/drivers/scsi/osd/
Dosd_uld.c89 struct gendisk *disk; member
418 struct gendisk *disk; in osd_probe() local
/drivers/cdrom/
Dgdrom.c117 struct gendisk *disk; member
509 static void gdrom_bdops_release(struct gendisk *disk, fmode_t mode) in gdrom_bdops_release()
516 static unsigned int gdrom_bdops_check_events(struct gendisk *disk, in gdrom_bdops_check_events()

1234