Home
last modified time | relevance | path

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

1234

/drivers/block/paride/
Dpd.c259 static inline int status_reg(struct pd_unit *disk) in status_reg()
264 static inline int read_reg(struct pd_unit *disk, int reg) in read_reg()
269 static inline void write_status(struct pd_unit *disk, int val) in write_status()
274 static inline void write_reg(struct pd_unit *disk, int reg, int val) in write_reg()
279 static inline u8 DRIVE(struct pd_unit *disk) in DRIVE()
286 static void pd_print_error(struct pd_unit *disk, char *msg, int status) in pd_print_error()
297 static void pd_reset(struct pd_unit *disk) in pd_reset()
307 static int pd_wait_for(struct pd_unit *disk, int w, char *msg) in pd_wait_for()
327 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()
340 static void pd_ide_command(struct pd_unit *disk, int func, int block, int count) in pd_ide_command()
[all …]
Dpf.c241 struct gendisk *disk; member
295 struct gendisk *disk; in pf_init_units() local
388 static void pf_release(struct gendisk *disk, fmode_t mode) in pf_release()
407 static unsigned int pf_check_events(struct gendisk *disk, unsigned int clearing) in pf_check_events()
1047 struct gendisk *disk = pf->disk; in pf_init() local
Dpcd.c202 struct gendisk *disk; member
245 static void pcd_block_release(struct gendisk *disk, fmode_t mode) in pcd_block_release()
266 static unsigned int pcd_block_check_events(struct gendisk *disk, in pcd_block_check_events()
312 struct gendisk *disk = alloc_disk(1); in pcd_init_units() local
/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
248 aoeblk_release(struct gendisk *disk, fmode_t mode) in aoeblk_release()
/drivers/scsi/
Dsr.c142 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd()
164 static inline struct scsi_cd *scsi_cd_get(struct gendisk *disk) in scsi_cd_get()
557 static void sr_block_release(struct gendisk *disk, fmode_t mode) in sr_block_release()
655 static unsigned int sr_block_check_events(struct gendisk *disk, in sr_block_check_events()
716 struct gendisk *disk; in sr_probe() local
1037 struct gendisk *disk = cd->disk; in sr_kref_release() local
Dsd_zbc.c193 int sd_zbc_report_zones(struct gendisk *disk, sector_t sector, in sd_zbc_report_zones()
676 static void sd_zbc_revalidate_zones_cb(struct gendisk *disk) in sd_zbc_revalidate_zones_cb()
685 struct gendisk *disk = sdkp->disk; in sd_zbc_revalidate_zones() local
763 struct gendisk *disk = sdkp->disk; in sd_zbc_read_zones() local
Dsd_dif.c30 struct gendisk *disk = sdkp->disk; in sd_dif_config_host() local
Dsd.h74 struct gendisk *disk; member
134 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk()
209 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host()
/drivers/ide/
Dide-gd.c34 static struct ide_disk_obj *ide_disk_get(struct gendisk *disk) in ide_disk_get()
186 struct gendisk *disk = bdev->bd_disk; local
258 static void ide_gd_release(struct gendisk *disk, fmode_t mode)
291 static void ide_gd_unlock_native_capacity(struct gendisk *disk)
Dide-atapi.c90 int ide_queue_pc_tail(ide_drive_t *drive, struct gendisk *disk, in ide_queue_pc_tail()
118 int ide_do_test_unit_ready(ide_drive_t *drive, struct gendisk *disk) in ide_do_test_unit_ready()
129 int ide_do_start_stop(ide_drive_t *drive, struct gendisk *disk, int start) in ide_do_start_stop()
144 int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on) in ide_set_media_lock()
Dide-floppy.c320 struct gendisk *disk = floppy->disk; in ide_floppy_get_flexible_disk_page() local
382 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.c144 struct gendisk *disk; member
232 static struct ide_tape_obj *ide_tape_get(struct gendisk *disk, bool cdev, in ide_tape_get()
687 struct gendisk *disk = tape->disk; in idetape_wait_ready() local
807 struct gendisk *disk = tape->disk; in idetape_position_tape() local
1013 struct gendisk *disk = tape->disk; in idetape_rewind_tape() local
1068 struct gendisk *disk = tape->disk; in idetape_space_over_filemarks() local
1258 struct gendisk *disk = tape->disk; in idetape_mtioctop() local
1923 static void idetape_release(struct gendisk *disk, fmode_t mode) in idetape_release()
/drivers/block/
Dvirtio_blk.c51 struct gendisk *disk; member
313 static int virtblk_get_id(struct gendisk *disk, char *id_str) in virtblk_get_id()
365 static void virtblk_release(struct gendisk *disk, fmode_t mode) in virtblk_release()
424 struct gendisk *disk = dev_to_disk(dev); in serial_show() local
621 struct gendisk *disk = dev_to_disk(dev); in cache_type_store() local
639 struct gendisk *disk = dev_to_disk(dev); in cache_type_show() local
659 struct gendisk *disk = dev_to_disk(dev); in virtblk_attrs_are_visible() local
Damiflop.c199 int disk; /* disk in drive (-1 == unknown) */ member
931 static unsigned long *putsec(int disk, unsigned long *raw, int cnt) in putsec()
965 static void amiga_write(int disk) in amiga_write()
1322 static void dos_write(int disk) in dos_write()
1707 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
1734 static unsigned amiga_check_events(struct gendisk *disk, unsigned int clearing) in amiga_check_events()
1777 struct gendisk *disk; in fd_alloc_disk() local
1815 struct gendisk *disk; in fd_probe_drives() local
Dataflop.c300 struct gendisk *disk; member
1428 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events()
1451 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate()
1580 struct gendisk *disk = bdev->bd_disk; in fd_locked_ioctl() local
1960 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
2072 struct gendisk *disk = unit[i].disk; in atari_floppy_init() local
Dswim.c188 struct gendisk *disk; member
671 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
731 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events()
857 struct gendisk *disk = swd->unit[drive].disk; in swim_floppy_init() local
/drivers/md/
Ddm-era-target.c196 struct superblock_disk *disk = dm_block_data(b); in sb_prepare_for_write() local
204 static int check_metadata_version(struct superblock_disk *disk) in check_metadata_version()
220 struct superblock_disk *disk = dm_block_data(b); in sb_check() local
354 static void ws_pack(const struct writeset_metadata *core, struct writeset_disk *disk) in ws_pack()
360 static void ws_unpack(const struct writeset_disk *disk, struct writeset_metadata *core) in ws_unpack()
478 static void copy_sm_root(struct era_metadata *md, struct superblock_disk *disk) in copy_sm_root()
490 static void prepare_superblock(struct era_metadata *md, struct superblock_disk *disk) in prepare_superblock()
516 struct superblock_disk *disk; in write_superblock() local
559 struct superblock_disk *disk; in open_metadata() local
735 struct writeset_disk disk; in metadata_digest_lookup_writeset() local
[all …]
/drivers/mtd/
Dmtd_blkdevs.c42 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk) in blktrans_dev_get()
254 static void blktrans_release(struct gendisk *disk, fmode_t mode) in blktrans_release()
/drivers/message/fusion/
Dmptspi.c1107 int disk; member
1118 int disk = wqw->disk; in mpt_work_wrapper() local
1151 static void mpt_dv_raid(struct _MPT_SCSI_HOST *hd, int disk) in mpt_dv_raid()
1183 int disk = (le32_to_cpu(pEvReply->Data[0]) & 0xFF000000) >> 24; in mptspi_event_process() local
/drivers/block/null_blk/
Dtrace.h24 static inline void __assign_disk_name(char *name, struct gendisk *disk) in __assign_disk_name()
/drivers/nvme/host/
Dcore.c95 static void nvme_update_bdev_size(struct gendisk *disk) in nvme_update_bdev_size()
1107 struct gendisk *disk = ns ? ns->disk : NULL; in nvme_execute_passthru_rq() local
1123 struct gendisk *disk = ns ? ns->disk : NULL; in nvme_submit_user_cmd() local
1698 struct nvme_ns *nvme_get_ns_from_disk(struct gendisk *disk, in nvme_get_ns_from_disk()
1867 static void nvme_release(struct gendisk *disk, fmode_t mode) in nvme_release()
1885 static void nvme_init_integrity(struct gendisk *disk, u16 ms, u8 pi_type, in nvme_init_integrity()
1912 static void nvme_init_integrity(struct gendisk *disk, u16 ms, u8 pi_type, in nvme_init_integrity()
1918 static void nvme_config_discard(struct gendisk *disk, struct nvme_ns *ns) in nvme_config_discard()
2065 static void nvme_update_disk_info(struct gendisk *disk, in nvme_update_disk_info()
2139 static inline bool nvme_first_scan(struct gendisk *disk) in nvme_first_scan()
[all …]
Dfault_inject.c59 struct gendisk *disk = req->rq_disk; in nvme_should_fail() local
Dtrace.h38 static inline void __assign_disk_name(char *name, struct gendisk *disk) in __assign_disk_name()
/drivers/nvdimm/
Dblk.c236 static void nd_blk_release_disk(void *disk) in nd_blk_release_disk()
247 struct gendisk *disk; in nsblk_attach_disk() local
/drivers/cdrom/
Dgdrom.c97 struct gendisk *disk; member
490 static void gdrom_bdops_release(struct gendisk *disk, fmode_t mode) in gdrom_bdops_release()
497 static unsigned int gdrom_bdops_check_events(struct gendisk *disk, in gdrom_bdops_check_events()

1234