Searched refs:block_device (Results 1 - 25 of 249) sorted by relevance

12345678910

/linux-master/include/scsi/
H A 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);
/linux-master/include/linux/
H A Ddm-verity-loadpin.h8 struct block_device;
19 bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev);
21 static inline bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev)
H A Dpr.h20 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
22 int (*pr_reserve)(struct block_device *bdev, u64 key,
24 int (*pr_release)(struct block_device *bdev, u64 key,
26 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
28 int (*pr_clear)(struct block_device *bdev, u64 key);
38 int (*pr_read_keys)(struct block_device *bdev,
40 int (*pr_read_reservation)(struct block_device *bdev,
H A Dblkdev.h149 struct block_device *part0;
237 * The gendisk is refcounted by the part0 block_device, and the bd_device
330 int blkdev_report_zones(struct block_device *bdev, sector_t sector,
332 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op,
622 unsigned int bdev_nr_zones(struct block_device *bdev);
657 static inline unsigned int bdev_max_open_zones(struct block_device *bdev)
662 static inline unsigned int bdev_max_active_zones(struct block_device *bdev)
668 static inline unsigned int bdev_nr_zones(struct block_device *bdev)
685 static inline unsigned int bdev_max_open_zones(struct block_device *bdev)
690 static inline unsigned int bdev_max_active_zones(struct block_device *bde
[all...]
H A Dblk-crypto.h95 int blk_crypto_start_using_key(struct block_device *bdev,
98 void blk_crypto_evict_key(struct block_device *bdev,
101 bool blk_crypto_config_supported_natively(struct block_device *bdev,
103 bool blk_crypto_config_supported(struct block_device *bdev,
H A Ddm-io.h20 struct block_device *bdev;
H A Dbuffer_head.h71 struct block_device *b_bdev;
215 void clean_bdev_aliases(struct block_device *bdev, sector_t block,
225 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block,
227 struct buffer_head *bdev_getblk(struct block_device *bdev, sector_t block,
231 void __breadahead(struct block_device *, sector_t block, unsigned int size);
232 struct buffer_head *__bread_gfp(struct block_device *,
242 void write_boundary_block(struct block_device *bdev,
336 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev,
347 static inline struct buffer_head *__getblk(struct block_device *bdev,
441 * @bdev: the block_device t
[all...]
H A Dblktrace_api.h31 extern int blk_trace_ioctl(struct block_device *, unsigned, char __user *);
77 struct block_device *bdev,
/linux-master/block/
H A Dbdev.c37 struct block_device bdev;
46 struct block_device *I_BDEV(struct inode *inode)
52 struct block_device *file_bdev(struct file *bdev_file)
58 static void bdev_write_inode(struct block_device *bdev)
77 static void kill_bdev(struct block_device *bdev)
89 void invalidate_bdev(struct block_device *bdev)
105 int truncate_bdev_range(struct block_device *bdev, blk_mode_t mode,
134 static void set_init_blocksize(struct block_device *bdev)
147 int set_blocksize(struct block_device *bdev, int size)
191 int sync_blockdev_nowait(struct block_device *bde
[all...]
H A Dioctl.c16 static int blkpg_do_ioctl(struct block_device *bdev,
62 static int blkpg_ioctl(struct block_device *bdev,
82 static int compat_blkpg_ioctl(struct block_device *bdev,
95 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode,
134 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode,
165 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode,
254 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode,
268 static bool blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode)
283 static int blkdev_pr_register(struct block_device *bdev, blk_mode_t mode,
301 static int blkdev_pr_reserve(struct block_device *bde
[all...]
H A Dblk-lib.c13 static sector_t bio_discard_limit(struct block_device *bdev, sector_t sector)
38 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector,
97 int blkdev_issue_discard(struct block_device *bdev, sector_t sector,
118 static int __blkdev_issue_write_zeroes(struct block_device *bdev,
165 static int __blkdev_issue_zero_pages(struct block_device *bdev,
215 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
249 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
300 int blkdev_issue_secure_erase(struct block_device *bdev, sector_t sector,
H A Dholder.c13 static struct bd_holder_disk *bd_find_holder_disk(struct block_device *bdev,
62 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk)
138 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk)
H A Dblk.h359 void update_io_ticks(struct block_device *part, unsigned long now, bool end);
411 int blkdev_report_zones_ioctl(struct block_device *bdev, unsigned int cmd,
413 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, blk_mode_t mode,
417 static inline int blkdev_report_zones_ioctl(struct block_device *bdev,
422 static inline int blkdev_zone_mgmt_ioctl(struct block_device *bdev,
429 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno);
430 void bdev_add(struct block_device *bdev, dev_t dev);
442 void drop_partition(struct block_device *part);
444 void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors);
481 int truncate_bdev_range(struct block_device *bde
[all...]
H A Dblk-zoned.c107 unsigned int bdev_nr_zones(struct block_device *bdev)
137 int blkdev_report_zones(struct block_device *bdev, sector_t sector,
179 static int blkdev_zone_reset_all_emulated(struct block_device *bdev)
224 static int blkdev_zone_reset_all(struct block_device *bdev)
247 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op,
323 int blkdev_report_zones_ioctl(struct block_device *bdev, unsigned int cmd,
356 static int blkdev_truncate_zone_range(struct block_device *bdev,
376 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, blk_mode_t mode,
/linux-master/drivers/target/
H A Dtarget_core_iblock.h34 struct block_device *ibd_bd;
H A Dtarget_core_pscsi.h22 struct block_device;
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex-layout.h27 struct block_device *bdev);
H A Dio-factory.h27 int __must_check uds_make_io_factory(struct block_device *bdev,
31 struct block_device *bdev);
/linux-master/drivers/nvme/host/
H A Dpr.c52 static int nvme_send_ns_head_pr_command(struct block_device *bdev,
97 static int nvme_send_pr_command(struct block_device *bdev,
107 static int nvme_pr_command(struct block_device *bdev, u32 cdw10,
127 static int nvme_pr_register(struct block_device *bdev, u64 old,
141 static int nvme_pr_reserve(struct block_device *bdev, u64 key,
154 static int nvme_pr_preempt(struct block_device *bdev, u64 old, u64 new,
162 static int nvme_pr_clear(struct block_device *bdev, u64 key)
169 static int nvme_pr_release(struct block_device *bdev, u64 key, enum pr_type type)
176 static int nvme_pr_resv_report(struct block_device *bdev, void *data,
202 static int nvme_pr_read_keys(struct block_device *bde
[all...]
/linux-master/drivers/md/
H A Ddm-clone-metadata.h67 struct dm_clone_metadata *dm_clone_metadata_open(struct block_device *bdev,
/linux-master/fs/bcachefs/
H A Dsuper_types.h8 struct block_device *bdev;
/linux-master/drivers/scsi/
H A Dscsicam.c33 unsigned char *scsi_bios_ptable(struct block_device *dev)
60 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3])
218 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip)
/linux-master/fs/btrfs/
H A Ddisk-io.h14 struct block_device;
63 struct btrfs_super_block *btrfs_read_dev_super(struct block_device *bdev);
64 struct btrfs_super_block *btrfs_read_dev_one_super(struct block_device *bdev,
H A Dzoned.h20 struct block_device;
64 int btrfs_sb_log_location_bdev(struct block_device *bdev, int mirror, int rw,
69 int btrfs_reset_sb_log_zones(struct block_device *bdev, int mirror);
145 static inline int btrfs_sb_log_location_bdev(struct block_device *bdev,
164 static inline int btrfs_reset_sb_log_zones(struct block_device *bdev, int mirror)
323 struct block_device *bdev)
/linux-master/fs/crypto/
H A Dinline_crypt.c24 static struct block_device **fscrypt_get_devices(struct super_block *sb,
27 struct block_device **devs;
72 struct block_device **devs,
97 struct block_device **devs;
160 struct block_device **devs;
212 struct block_device **devs;

Completed in 347 milliseconds

12345678910