Home
last modified time | relevance | path

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

1234

/drivers/block/aoe/
Daoeblk.c36 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_state() local
48 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_mac() local
59 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_netif() local
97 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_fwver() local
105 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_payload() local
207 aoeblk_open(struct gendisk *disk, blk_mode_t mode) in aoeblk_open()
235 aoeblk_release(struct gendisk *disk) in aoeblk_release()
/drivers/md/
Ddm-zone.c25 struct gendisk *disk = md->disk; in dm_blk_do_report_zones() local
56 int dm_blk_report_zones(struct gendisk *disk, sector_t sector, in dm_blk_report_zones()
181 struct gendisk *disk = md->disk; in dm_zone_revalidate_cb() local
228 struct gendisk *disk = md->disk; in dm_revalidate_zones() local
464 static inline void dm_zone_lock(struct gendisk *disk, unsigned int zno, in dm_zone_lock()
474 static inline void dm_zone_unlock(struct gendisk *disk, unsigned int zno, in dm_zone_unlock()
589 struct gendisk *disk = md->disk; in dm_zone_endio() local
Ddm-era-target.c203 struct superblock_disk *disk = dm_block_data(b); in sb_prepare_for_write() local
211 static int check_metadata_version(struct superblock_disk *disk) in check_metadata_version()
228 struct superblock_disk *disk = dm_block_data(b); in sb_check() local
364 static void ws_pack(const struct writeset_metadata *core, struct writeset_disk *disk) in ws_pack()
370 static void ws_unpack(const struct writeset_disk *disk, struct writeset_metadata *core) in ws_unpack()
493 static void copy_sm_root(struct era_metadata *md, struct superblock_disk *disk) in copy_sm_root()
505 static void prepare_superblock(struct era_metadata *md, struct superblock_disk *disk) in prepare_superblock()
531 struct superblock_disk *disk; in write_superblock() local
574 struct superblock_disk *disk; in open_metadata() local
752 struct writeset_disk disk; in metadata_digest_lookup_writeset() local
[all …]
/drivers/scsi/
Dsr.c141 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd()
487 static int sr_block_open(struct gendisk *disk, blk_mode_t mode) in sr_block_open()
510 static void sr_block_release(struct gendisk *disk) in sr_block_release()
555 static unsigned int sr_block_check_events(struct gendisk *disk, in sr_block_check_events()
565 static void sr_free_disk(struct gendisk *disk) in sr_free_disk()
611 struct gendisk *disk; in sr_probe() local
927 struct gendisk *disk = cdi->disk; in sr_read_cdda_bpc() local
Dsd_zbc.c256 int sd_zbc_report_zones(struct gendisk *disk, sector_t sector, in sd_zbc_report_zones()
812 static void sd_zbc_revalidate_zones_cb(struct gendisk *disk) in sd_zbc_revalidate_zones_cb()
826 struct gendisk *disk = sdkp->disk; in sd_zbc_revalidate_zones() local
910 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.c1353 static bool sd_need_revalidate(struct gendisk *disk, struct scsi_disk *sdkp) in sd_need_revalidate()
1383 static int sd_open(struct gendisk *disk, blk_mode_t mode) in sd_open()
1455 static void sd_release(struct gendisk *disk) in sd_release()
1512 struct gendisk *disk = bdev->bd_disk; in sd_ioctl() local
1579 static unsigned int sd_check_events(struct gendisk *disk, unsigned int clearing) in sd_check_events()
1730 static int sd_get_unique_id(struct gendisk *disk, u8 id[16], in sd_get_unique_id()
1972 static void scsi_disk_free_disk(struct gendisk *disk) in scsi_disk_free_disk()
3441 static int sd_revalidate_disk(struct gendisk *disk) in sd_revalidate_disk()
3586 static void sd_unlock_native_capacity(struct gendisk *disk) in sd_unlock_native_capacity()
Dsd.h92 struct gendisk *disk; member
160 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk()
235 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host()
/drivers/block/
Dz2ram.c143 static int z2_open(struct gendisk *disk, blk_mode_t mode) in z2_open()
291 static void z2_release(struct gendisk *disk) in z2_release()
318 struct gendisk *disk; in z2ram_register_disk() local
Dvirtio_blk.c69 struct gendisk *disk; member
666 static int virtblk_report_zones(struct gendisk *disk, sector_t sector, in virtblk_report_zones()
866 static int virtblk_get_id(struct gendisk *disk, char *id_str) in virtblk_get_id()
926 static void virtblk_free_disk(struct gendisk *disk) in virtblk_free_disk()
955 struct gendisk *disk = dev_to_disk(dev); in serial_show() local
1166 struct gendisk *disk = dev_to_disk(dev); in cache_type_store() local
1184 struct gendisk *disk = dev_to_disk(dev); in cache_type_show() local
1204 struct gendisk *disk = dev_to_disk(dev); in virtblk_attrs_are_visible() local
Dataflop.c301 struct gendisk *disk[NUM_DISK_MINORS]; member
1435 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events()
1458 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate()
1587 struct gendisk *disk = bdev->bd_disk; in fd_locked_ioctl() local
1918 static int floppy_open(struct gendisk *disk, blk_mode_t mode) in floppy_open()
1955 static int floppy_unlocked_open(struct gendisk *disk, blk_mode_t mode) in floppy_unlocked_open()
1966 static void floppy_release(struct gendisk *disk) in floppy_release()
1993 struct gendisk *disk; in ataflop_alloc_disk() local
Dswim.c190 struct gendisk *disk; member
611 static int floppy_open(struct gendisk *disk, blk_mode_t mode) in floppy_open()
660 static int floppy_unlocked_open(struct gendisk *disk, blk_mode_t mode) in floppy_unlocked_open()
671 static void floppy_release(struct gendisk *disk) in floppy_release()
731 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events()
776 struct gendisk *disk = fs->disk; in swim_cleanup_floppy_disk() 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()
1656 static int floppy_open(struct gendisk *disk, blk_mode_t mode) in floppy_open()
1709 static void floppy_release(struct gendisk *disk) in floppy_release()
1736 static unsigned amiga_check_events(struct gendisk *disk, unsigned int clearing) in amiga_check_events()
1779 struct gendisk *disk; in fd_alloc_disk() local
Dswim3.c925 static int floppy_open(struct gendisk *disk, blk_mode_t mode) in floppy_open()
995 static int floppy_unlocked_open(struct gendisk *disk, blk_mode_t mode) in floppy_unlocked_open()
1006 static void floppy_release(struct gendisk *disk) in floppy_release()
1024 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events()
1031 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate()
1193 struct gendisk *disk; in swim3_attach() local
Dnbd.c123 struct gendisk *disk; member
224 struct gendisk *disk = dev_to_disk(dev); in pid_show() local
238 struct gendisk *disk = dev_to_disk(dev); in backend_show() local
251 struct gendisk *disk = nbd->disk; in nbd_dev_remove() local
1593 static int nbd_open(struct gendisk *disk, blk_mode_t mode) in nbd_open()
1636 static void nbd_release(struct gendisk *disk) in nbd_release()
1648 static void nbd_free_disk(struct gendisk *disk) in nbd_free_disk()
1794 struct gendisk *disk; in nbd_dev_add() local
Dpktcdvd.c2250 static int pkt_open(struct gendisk *disk, blk_mode_t mode) in pkt_open()
2293 static void pkt_release(struct gendisk *disk) in pkt_release()
2594 static unsigned int pkt_check_events(struct gendisk *disk, in pkt_check_events()
2610 static char *pkt_devnode(struct gendisk *disk, umode_t *mode) in pkt_devnode()
2634 struct gendisk *disk; in pkt_setup_dev() local
/drivers/cdrom/
Dgdrom.c96 struct gendisk *disk; member
477 static int gdrom_bdops_open(struct gendisk *disk, blk_mode_t mode) in gdrom_bdops_open()
489 static void gdrom_bdops_release(struct gendisk *disk) in gdrom_bdops_release()
496 static unsigned int gdrom_bdops_check_events(struct gendisk *disk, in gdrom_bdops_check_events()
/drivers/nvme/host/
Dmultipath.c129 struct gendisk *disk = ns->head->disk; in nvme_mpath_start_request() local
417 static int nvme_ns_head_open(struct gendisk *disk, blk_mode_t mode) in nvme_ns_head_open()
424 static void nvme_ns_head_release(struct gendisk *disk) in nvme_ns_head_release()
430 static int nvme_ns_head_report_zones(struct gendisk *disk, sector_t sector, in nvme_ns_head_report_zones()
Dfault_inject.c59 struct gendisk *disk = req->q->disk; in nvme_should_fail() local
Dtrace.h38 static inline void __assign_disk_name(char *name, struct gendisk *disk) in __assign_disk_name()
Dcore.c1629 static int nvme_open(struct gendisk *disk, blk_mode_t mode) in nvme_open()
1634 static void nvme_release(struct gendisk *disk) in nvme_release()
1649 static void nvme_init_integrity(struct gendisk *disk, struct nvme_ns *ns, in nvme_init_integrity()
1700 static void nvme_init_integrity(struct gendisk *disk, struct nvme_ns *ns, in nvme_init_integrity()
1706 static void nvme_config_discard(struct gendisk *disk, struct nvme_ns *ns) in nvme_config_discard()
1872 static void nvme_update_disk_info(struct gendisk *disk, in nvme_update_disk_info()
1948 static inline bool nvme_first_scan(struct gendisk *disk) in nvme_first_scan()
2154 static int nvme_report_zones(struct gendisk *disk, sector_t sector, in nvme_report_zones()
3582 struct gendisk *disk; in nvme_alloc_ns() local
/drivers/mtd/
Dmtd_blkdevs.c185 static int blktrans_open(struct gendisk *disk, blk_mode_t mode) in blktrans_open()
228 static void blktrans_release(struct gendisk *disk) 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/nvdimm/
Dpmem.h28 struct gendisk *disk; member

1234