Home
last modified time | relevance | path

Searched refs:block_device (Results 1 – 23 of 23) sorted by relevance

/include/linux/
Dpr.h8 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
10 int (*pr_reserve)(struct block_device *bdev, u64 key,
12 int (*pr_release)(struct block_device *bdev, u64 key,
14 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
16 int (*pr_clear)(struct block_device *bdev, u64 key);
Dblkdev.h373 int blkdev_report_zones(struct block_device *bdev, sector_t sector,
376 extern int blkdev_zone_mgmt(struct block_device *bdev, enum req_opf op,
382 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
384 extern int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode,
394 static inline int blkdev_report_zones_ioctl(struct block_device *bdev, in blkdev_report_zones_ioctl()
401 static inline int blkdev_zone_mgmt_ioctl(struct block_device *bdev, in blkdev_zone_mgmt_ioctl()
938 extern int scsi_verify_blk_ioctl(struct block_device *, unsigned int);
939 extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t,
972 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) in bdev_get_queue()
1184 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev,
[all …]
Dgenhd.h320 extern struct block_device *bdget_disk(struct gendisk *disk, int partno);
322 extern void set_device_ro(struct block_device *bdev, int flag);
340 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect()
353 int bdev_disk_changed(struct block_device *bdev, bool invalidate);
354 int blk_add_partitions(struct gendisk *disk, struct block_device *bdev);
355 int blk_drop_partitions(struct block_device *bdev);
390 bool bdev_check_media_change(struct block_device *bdev);
391 int __invalidate_device(struct block_device *bdev, bool kill_dirty);
392 void bd_set_nr_sectors(struct block_device *bdev, sector_t sectors);
395 int blkdev_ioctl(struct block_device *, fmode_t, unsigned, unsigned long);
[all …]
Ddax.h29 bool (*dax_supported)(struct dax_device *, struct block_device *, int,
61 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
110 struct block_device *bdev, int blocksize, sector_t start, in dax_supported()
123 int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff);
125 bool __bdev_dax_supported(struct block_device *bdev, int blocksize);
126 static inline bool bdev_dax_supported(struct block_device *bdev, int blocksize) in bdev_dax_supported()
132 struct block_device *bdev, int blocksize, sector_t start,
135 struct block_device *bdev, int blocksize, sector_t start, in generic_fsdax_supported()
147 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev);
156 static inline bool bdev_dax_supported(struct block_device *bdev, in bdev_dax_supported()
[all …]
Dbuffer_head.h69 struct block_device *b_bdev;
209 void clean_bdev_aliases(struct block_device *bdev, sector_t block,
219 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block,
221 struct buffer_head *__getblk_gfp(struct block_device *bdev, sector_t block,
225 void __breadahead(struct block_device *, sector_t block, unsigned int size);
226 void __breadahead_gfp(struct block_device *, sector_t block, unsigned int size,
228 struct buffer_head *__bread_gfp(struct block_device *,
242 void write_boundary_block(struct block_device *bdev,
405 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, in getblk_unmovable()
412 static inline struct buffer_head *__getblk(struct block_device *bdev, in __getblk()
[all …]
Ddm-io.h18 struct block_device *bdev;
Dblktrace_api.h34 extern int blk_trace_ioctl(struct block_device *, unsigned, char __user *);
81 struct block_device *bdev,
Ddm-bufio.h24 dm_bufio_client_create(struct block_device *bdev, unsigned block_size,
Dpktcdvd.h165 struct block_device *bdev; /* dev attached */
Dblk_types.h23 struct block_device { struct
36 struct block_device * bd_contains; argument
Dcdrom.h102 extern int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev,
105 extern int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev,
Dpci-p2pdma.h16 struct block_device;
Djbd2.h965 struct block_device *j_dev;
990 struct block_device *j_fs_dev;
1497 extern journal_t * jbd2_journal_init_dev(struct block_device *bdev,
1498 struct block_device *fs_dev,
Ddevice-mapper.h95 typedef int (*dm_prepare_ioctl_fn) (struct dm_target *ti, struct block_device **bdev);
151 struct block_device *bdev;
Dswap.h258 struct block_device *bdev; /* swap device or bdev of swap file */
484 extern sector_t map_swap_page(struct page *, struct block_device **);
Diomap.h87 struct block_device *bdev; /* block device for I/O */
Dide.h414 int (*ioctl)(struct ide_drive_s *, struct block_device *,
416 int (*compat_ioctl)(struct ide_drive_s *, struct block_device *,
1096 int ide_setting_ioctl(ide_drive_t *, struct block_device *, unsigned int,
1099 int generic_ide_ioctl(ide_drive_t *, struct block_device *, unsigned, unsigned long);
Dfs.h718 struct block_device *i_bdev;
1502 struct block_device *s_bdev;
3167 struct block_device *bdev, struct iov_iter *iter,
3269 extern struct super_block *get_super(struct block_device *);
3270 extern struct super_block *get_super_thawed(struct block_device *);
3271 extern struct super_block *get_super_exclusive_thawed(struct block_device *bdev);
3272 extern struct super_block *get_active_super(struct block_device *bdev);
Dlibata.h1157 struct block_device *bdev,
/include/scsi/
Dscsicam.h16 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
18 unsigned char *scsi_bios_ptable(struct block_device *bdev);
Dscsi_host.h15 struct block_device;
289 int (* bios_param)(struct scsi_device *, struct block_device *,
Dlibsas.h24 struct block_device;
671 extern int sas_bios_param(struct scsi_device *, struct block_device *,
/include/trace/events/
Df2fs.h1442 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1466 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1473 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1480 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1487 TP_PROTO(struct block_device *dev, block_t blkstart),
1508 TP_PROTO(struct block_device *dev, unsigned int nobarrier,