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);
Ddax.h29 bool (*dax_supported)(struct dax_device *, struct block_device *, int,
113 int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff);
115 bool __bdev_dax_supported(struct block_device *bdev, int blocksize);
116 static inline bool bdev_dax_supported(struct block_device *bdev, int blocksize) in bdev_dax_supported()
122 struct block_device *bdev, int blocksize, sector_t start,
125 struct block_device *bdev, int blocksize, sector_t start, in generic_fsdax_supported()
142 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev);
144 struct block_device *bdev, struct writeback_control *wbc);
150 static inline bool bdev_dax_supported(struct block_device *bdev, in bdev_dax_supported()
157 struct block_device *bdev, int blocksize, sector_t start, in generic_fsdax_supported()
[all …]
Dblkdev.h359 int blkdev_report_zones(struct block_device *bdev, sector_t sector,
362 extern int blkdev_zone_mgmt(struct block_device *bdev, enum req_opf op,
367 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
369 extern int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode,
379 static inline int blkdev_report_zones_ioctl(struct block_device *bdev, in blkdev_report_zones_ioctl()
386 static inline int blkdev_zone_mgmt_ioctl(struct block_device *bdev, in blkdev_zone_mgmt_ioctl()
868 extern int scsi_verify_blk_ioctl(struct block_device *, unsigned int);
869 extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t,
900 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) in bdev_get_queue()
1098 extern int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev,
[all …]
Dbuffer_head.h72 struct block_device *b_bdev;
175 void clean_bdev_aliases(struct block_device *bdev, sector_t block,
185 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block,
187 struct buffer_head *__getblk_gfp(struct block_device *bdev, sector_t block,
191 void __breadahead(struct block_device *, sector_t block, unsigned int size);
192 struct buffer_head *__bread_gfp(struct block_device *,
204 void write_boundary_block(struct block_device *bdev,
369 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, in getblk_unmovable()
376 static inline struct buffer_head *__getblk(struct block_device *bdev, in __getblk()
394 __bread(struct block_device *bdev, sector_t block, unsigned size) in __bread()
Dfs.h473 struct block_device { struct
486 struct block_device * bd_contains; argument
716 struct block_device *i_bdev;
902 extern struct block_device *I_BDEV(struct inode *inode);
1455 struct block_device *s_bdev;
2592 extern struct block_device *bdget(dev_t);
2593 extern struct block_device *bdgrab(struct block_device *bdev);
2594 extern void bd_set_size(struct block_device *, loff_t size);
2596 extern void bdput(struct block_device *);
2597 extern void invalidate_bdev(struct block_device *);
[all …]
Dblktrace_api.h34 extern int blk_trace_ioctl(struct block_device *, unsigned, char __user *);
73 struct block_device *bdev,
Ddm-io.h18 struct block_device *bdev;
Ddm-bufio.h24 dm_bufio_client_create(struct block_device *bdev, unsigned block_size,
Dgenhd.h439 extern struct block_device *bdget_disk(struct gendisk *disk, int partno);
441 extern void set_device_ro(struct block_device *bdev, int flag);
458 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect()
625 extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev);
626 extern int invalidate_partitions(struct gendisk *disk, struct block_device *bdev);
Dpktcdvd.h165 struct block_device *bdev; /* dev attached */
Dcdrom.h98 extern int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev,
101 extern int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev,
Dswap.h252 struct block_device *bdev; /* swap device or bdev of swap file */
460 extern int swap_type_of(dev_t, sector_t, struct block_device **);
462 extern sector_t map_swap_page(struct page *, struct block_device **);
Dpci-p2pdma.h16 struct block_device;
Djbd2.h922 struct block_device *j_dev;
947 struct block_device *j_fs_dev;
1384 extern journal_t * jbd2_journal_init_dev(struct block_device *bdev,
1385 struct block_device *fs_dev,
Diomap.h66 struct block_device *bdev; /* block device for I/O */
Ddevice-mapper.h95 typedef int (*dm_prepare_ioctl_fn) (struct dm_target *ti, struct block_device **bdev);
149 struct block_device *bdev;
Dblk_types.h17 struct block_device;
Dide.h414 int (*ioctl)(struct ide_drive_s *, struct block_device *,
1092 int ide_setting_ioctl(ide_drive_t *, struct block_device *, unsigned int,
1095 int generic_ide_ioctl(ide_drive_t *, struct block_device *, unsigned, unsigned long);
Dlibata.h1180 struct block_device *bdev,
/include/scsi/
Dscsicam.h16 extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
19 extern unsigned char *scsi_bios_ptable(struct block_device *bdev);
Dscsi_host.h14 struct block_device;
291 int (* bios_param)(struct scsi_device *, struct block_device *,
Dlibsas.h24 struct block_device;
669 extern int sas_bios_param(struct scsi_device *, struct block_device *,
/include/trace/events/
Df2fs.h1421 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1445 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1452 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1459 TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen),
1466 TP_PROTO(struct block_device *dev, block_t blkstart),
1487 TP_PROTO(struct block_device *dev, unsigned int nobarrier,