Home
last modified time | relevance | path

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

123456

/linux-6.3-rc2/block/
A Ddisk-events.c12 struct gendisk *disk; /* the associated disk */ member
73 void disk_block_events(struct gendisk *disk) in disk_block_events()
133 void disk_unblock_events(struct gendisk *disk) in disk_unblock_events()
187 struct gendisk *disk = ev->disk; in disk_check_events() local
359 struct gendisk *disk = dev_to_disk(dev); in disk_events_show() local
376 struct gendisk *disk = dev_to_disk(dev); in disk_events_poll_msecs_show() local
387 struct gendisk *disk = dev_to_disk(dev); in disk_events_poll_msecs_store() local
447 int disk_alloc_events(struct gendisk *disk) in disk_alloc_events()
472 void disk_add_events(struct gendisk *disk) in disk_add_events()
488 void disk_del_events(struct gendisk *disk) in disk_del_events()
[all …]
A Dgenhd.c609 void del_gendisk(struct gendisk *disk) in del_gendisk()
723 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_show() local
735 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_store() local
925 struct gendisk *disk = dev_to_disk(dev); in disk_range_show() local
933 struct gendisk *disk = dev_to_disk(dev); in disk_ext_range_show() local
942 struct gendisk *disk = dev_to_disk(dev); in disk_removable_show() local
951 struct gendisk *disk = dev_to_disk(dev); in disk_hidden_show() local
1380 struct gendisk *disk; in __alloc_disk_node() local
1439 struct gendisk *disk; in __blk_alloc_disk() local
1468 void put_disk(struct gendisk *disk) in put_disk()
[all …]
A Dblk-ia-ranges.c108 int disk_register_independent_access_ranges(struct gendisk *disk) in disk_register_independent_access_ranges()
152 void disk_unregister_independent_access_ranges(struct gendisk *disk) in disk_unregister_independent_access_ranges()
193 static bool disk_check_ia_ranges(struct gendisk *disk, in disk_check_ia_ranges()
233 static bool disk_ia_ranges_changed(struct gendisk *disk, in disk_ia_ranges_changed()
264 disk_alloc_independent_access_ranges(struct gendisk *disk, int nr_ia_ranges) in disk_alloc_independent_access_ranges()
287 void disk_set_independent_access_ranges(struct gendisk *disk, in disk_set_independent_access_ranges()
A Dblk-zoned.c147 struct gendisk *disk = bdev->bd_disk; in blkdev_report_zones() local
189 struct gendisk *disk = bdev->bd_disk; in blkdev_zone_reset_all_emulated() local
438 void disk_free_zone_bitmaps(struct gendisk *disk) in disk_free_zone_bitmaps()
447 struct gendisk *disk; member
462 struct gendisk *disk = args->disk; in blk_revalidate_zone_cb() local
544 int blk_revalidate_disk_zones(struct gendisk *disk, in blk_revalidate_disk_zones()
545 void (*update_driver_data)(struct gendisk *disk)) in blk_revalidate_disk_zones()
611 void disk_clear_zone_settings(struct gendisk *disk) in disk_clear_zone_settings()
A Dblk-wbt.h21 static inline int wbt_init(struct gendisk *disk) in wbt_init()
25 static inline void wbt_disable_default(struct gendisk *disk) in wbt_disable_default()
28 static inline void wbt_enable_default(struct gendisk *disk) in wbt_enable_default()
A Dholder.c12 struct gendisk *disk) in bd_find_holder_disk()
60 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_link_disk_holder()
136 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_unlink_disk_holder()
A Dblk-integrity.c224 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); in integrity_attr_show() local
236 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); in integrity_attr_store() local
397 void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) in blk_integrity_register()
427 void blk_integrity_unregister(struct gendisk *disk) in blk_integrity_unregister()
441 int blk_integrity_add(struct gendisk *disk) in blk_integrity_add()
452 void blk_integrity_del(struct gendisk *disk) in blk_integrity_del()
A Dblk-ioprio.h16 static inline int blk_ioprio_init(struct gendisk *disk) in blk_ioprio_init()
20 static inline void blk_ioprio_exit(struct gendisk *disk) in blk_ioprio_exit()
A Dblk-cgroup.c252 static struct blkcg_gq *blkg_alloc(struct blkcg *blkcg, struct gendisk *disk, in blkg_alloc()
320 static struct blkcg_gq *blkg_create(struct blkcg *blkcg, struct gendisk *disk, in blkg_create()
417 struct gendisk *disk) in blkg_lookup_create()
520 static void blkg_destroy_all(struct gendisk *disk) in blkg_destroy_all()
710 struct gendisk *disk; in blkg_conf_prep() local
1295 int blkcg_init_disk(struct gendisk *disk) in blkcg_init_disk()
1351 void blkcg_exit_disk(struct gendisk *disk) in blkcg_exit_disk()
1423 int blkcg_activate_policy(struct gendisk *disk, const struct blkcg_policy *pol) in blkcg_activate_policy()
1533 void blkcg_deactivate_policy(struct gendisk *disk, in blkcg_deactivate_policy()
1841 struct gendisk *disk = current->throttle_disk; in blkcg_maybe_throttle_current() local
[all …]
A Dblk.h251 static inline int blk_integrity_add(struct gendisk *disk) in blk_integrity_add()
255 static inline void blk_integrity_del(struct gendisk *disk) in blk_integrity_del()
405 static inline int blk_iolatency_init(struct gendisk *disk) { return 0; }; in blk_iolatency_init()
412 static inline void disk_free_zone_bitmaps(struct gendisk *disk) {} in disk_free_zone_bitmaps()
413 static inline void disk_clear_zone_settings(struct gendisk *disk) {} in disk_clear_zone_settings()
A Dblk-ioprio.c119 ioprio_alloc_pd(struct gendisk *disk, struct blkcg *blkcg, gfp_t gfp) in ioprio_alloc_pd()
205 void blk_ioprio_exit(struct gendisk *disk) in blk_ioprio_exit()
210 int blk_ioprio_init(struct gendisk *disk) in blk_ioprio_init()
A Dblk-throttle.h171 static inline int blk_throtl_init(struct gendisk *disk) { return 0; } in blk_throtl_init()
172 static inline void blk_throtl_exit(struct gendisk *disk) { } in blk_throtl_exit()
173 static inline void blk_throtl_register(struct gendisk *disk) { } in blk_throtl_register()
175 static inline void blk_throtl_cancel_bios(struct gendisk *disk) { } in blk_throtl_cancel_bios()
A Dioctl.c19 struct gendisk *disk = bdev->bd_disk; in blkpg_do_ioctl() local
246 struct gendisk *disk = bdev->bd_disk; in blkdev_compat_ptr_ioctl() local
379 struct gendisk *disk = bdev->bd_disk; in blkdev_getgeo() local
413 struct gendisk *disk = bdev->bd_disk; in compat_hdio_getgeo() local
632 struct gendisk *disk = bdev->bd_disk; in compat_blkdev_ioctl() local
A Dbdev.c402 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno) in bdev_alloc()
590 struct gendisk *disk = bdev->bd_disk; in blkdev_get_whole() local
622 struct gendisk *disk = part->bd_disk; in blkdev_get_part() local
712 struct gendisk *disk; in blkdev_get_by_dev() local
821 struct gendisk *disk = bdev->bd_disk; in blkdev_put() local
A Dblk-timeout.c42 struct gendisk *disk = dev_to_disk(dev); in part_timeout_show() local
51 struct gendisk *disk = dev_to_disk(dev); in part_timeout_store() local
A Dblk-settings.c391 void disk_update_readahead(struct gendisk *disk) in disk_update_readahead()
703 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, in disk_stack_limits()
884 static bool disk_has_partitions(struct gendisk *disk) in disk_has_partitions()
915 void disk_set_zoned(struct gendisk *disk, enum blk_zoned_model model) in disk_set_zoned()
A Dblk-sysfs.c696 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_visible() local
723 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_show() local
740 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_store() local
774 static void blk_debugfs_remove(struct gendisk *disk) in blk_debugfs_remove()
791 int blk_register_queue(struct gendisk *disk) in blk_register_queue()
876 void blk_unregister_queue(struct gendisk *disk) in blk_unregister_queue()
/linux-6.3-rc2/block/partitions/
A Dcore.c305 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition()
423 static bool partition_overlaps(struct gendisk *disk, sector_t start, in partition_overlaps()
444 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition()
469 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition()
490 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start, in bdev_resize_partition()
517 static bool disk_unlock_native_capacity(struct gendisk *disk) in disk_unlock_native_capacity()
530 void blk_drop_partitions(struct gendisk *disk) in blk_drop_partitions()
541 static bool blk_add_partition(struct gendisk *disk, in blk_add_partition()
591 static int blk_add_partitions(struct gendisk *disk) in blk_add_partitions()
655 int bdev_disk_changed(struct gendisk *disk, bool invalidate) in bdev_disk_changed()
/linux-6.3-rc2/drivers/block/aoe/
A 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
235 aoeblk_release(struct gendisk *disk, fmode_t mode) in aoeblk_release()
/linux-6.3-rc2/drivers/md/
A Ddm-zone.c24 struct gendisk *disk = md->disk; in dm_blk_do_report_zones() local
55 int dm_blk_report_zones(struct gendisk *disk, sector_t sector, in dm_blk_report_zones()
180 struct gendisk *disk = md->disk; in dm_zone_revalidate_cb() local
229 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
A 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 …]
/linux-6.3-rc2/drivers/scsi/
A Dsr.c141 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd()
510 static void sr_block_release(struct gendisk *disk, fmode_t mode) 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()
616 struct gendisk *disk; in sr_probe() local
932 struct gendisk *disk = cdi->disk; in sr_read_cdda_bpc() local
A Dsd_zbc.c256 int sd_zbc_report_zones(struct gendisk *disk, sector_t sector, in sd_zbc_report_zones()
816 static void sd_zbc_revalidate_zones_cb(struct gendisk *disk) in sd_zbc_revalidate_zones_cb()
830 struct gendisk *disk = sdkp->disk; in sd_zbc_revalidate_zones() local
916 struct gendisk *disk = sdkp->disk; in sd_zbc_read_zones() local
/linux-6.3-rc2/include/linux/
A Dblkdev.h207 static inline bool disk_live(struct gendisk *disk) in disk_live()
222 static inline unsigned int disk_openers(struct gendisk *disk) in disk_openers()
233 #define disk_to_dev(disk) \ argument
237 #define disk_to_cdi(disk) ((disk)->cdi) argument
239 #define disk_to_cdi(disk) NULL argument
242 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt()
440 struct gendisk *disk; member
761 static inline int get_disk_ro(struct gendisk *disk) in get_disk_ro()
793 static inline sector_t get_capacity(struct gendisk *disk) in get_capacity()
840 struct gendisk *disk) in bd_link_disk_holder()
[all …]
/linux-6.3-rc2/drivers/block/
A Dvirtio_blk.c69 struct gendisk *disk; member
638 static int virtblk_report_zones(struct gendisk *disk, sector_t sector, in virtblk_report_zones()
821 static int virtblk_get_id(struct gendisk *disk, char *id_str) in virtblk_get_id()
881 static void virtblk_free_disk(struct gendisk *disk) in virtblk_free_disk()
910 struct gendisk *disk = dev_to_disk(dev); in serial_show() local
1121 struct gendisk *disk = dev_to_disk(dev); in cache_type_store() local
1139 struct gendisk *disk = dev_to_disk(dev); in cache_type_show() local
1159 struct gendisk *disk = dev_to_disk(dev); in virtblk_attrs_are_visible() local

Completed in 50 milliseconds

123456