Searched refs:block_device (Results 51 - 75 of 249) sorted by relevance

12345678910

/linux-master/block/
H A Dfops.c37 static bool blkdev_dio_unaligned(struct block_device *bdev, loff_t pos,
47 struct iov_iter *iter, struct block_device *bdev,
161 struct block_device *bdev, unsigned int nr_pages)
298 struct block_device *bdev,
361 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host);
383 struct block_device *bdev = I_BDEV(inode);
539 struct block_device *bdev = I_BDEV(filp->f_mapping->host);
599 struct block_device *bdev;
666 struct block_device *bdev = I_BDEV(file->f_mapping->host);
714 struct block_device *bde
[all...]
H A Dgenhd.c100 static void part_stat_read_all(struct block_device *part,
121 unsigned int part_in_flight(struct block_device *part)
136 static void part_in_flight_rw(struct block_device *part,
324 struct block_device *part;
519 * Even if the block_device for a hidden gendisk is not
559 struct block_device *bdev;
641 struct block_device *part;
742 struct block_device *bdev = disk->part0;
857 struct block_device *part;
953 struct block_device *bde
[all...]
H A Dblk-core.c497 bool should_fail_request(struct block_device *part, unsigned int bytes)
567 struct block_device *p = bio->bi_bdev;
750 struct block_device *bdev = bio->bi_bdev;
905 struct block_device *bdev;
984 void update_io_ticks(struct block_device *part, unsigned long now, bool end)
1000 unsigned long bdev_start_io_acct(struct block_device *bdev, enum req_op op,
1024 void bdev_end_io_acct(struct block_device *bdev, enum req_op op,
1042 struct block_device *orig_bdev)
H A Dblk-mq.h240 struct block_device *part);
241 void blk_mq_in_flight_rw(struct request_queue *q, struct block_device *part,
H A Dblk-flush.c143 struct block_device *part = rq->q->disk->part0;
471 int blkdev_issue_flush(struct block_device *bdev)
H A Dbio.c245 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table,
300 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf)
366 struct bio *blk_next_bio(struct bio *bio, struct block_device *bdev,
443 static struct bio *bio_alloc_percpu_cache(struct block_device *bdev,
503 struct bio *bio_alloc_bioset(struct block_device *bdev, unsigned short nr_vecs,
849 * @bdev: block_device to clone onto
859 struct bio *bio_alloc_clone(struct block_device *bdev, struct bio *bio_src,
880 * @bdev: block_device to clone onto
890 int bio_init_clone(struct block_device *bdev, struct bio *bio,
/linux-master/drivers/md/dm-vdo/indexer/
H A Dio-factory.c25 struct block_device *bdev;
62 int uds_make_io_factory(struct block_device *bdev, struct io_factory **factory_ptr)
78 int uds_replace_storage(struct io_factory *factory, struct block_device *bdev)
H A Dvolume.h133 struct block_device *bdev);
/linux-master/drivers/md/
H A Ddm-exception-store.h170 static inline sector_t get_dev_size(struct block_device *bdev)
H A Ddm-thin-metadata.h45 struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev,
H A Dmd.h61 struct block_device *meta_bdev;
62 struct block_device *bdev; /* block device handle */
622 static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sectors)
H A Ddm.c405 static int dm_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo)
413 struct block_device **bdev)
451 static int dm_blk_ioctl(struct block_device *bdev, blk_mode_t mode,
730 struct block_device *bdev;
3214 static int dm_call_pr(struct block_device *bdev, iterate_devices_callout_fn fn,
3275 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key,
3328 static int dm_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type,
3371 static int dm_pr_release(struct block_device *bdev, u64 key, enum pr_type type)
3406 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key,
3424 static int dm_pr_clear(struct block_device *bde
[all...]
/linux-master/drivers/message/fusion/
H A Dmptscsih.h126 extern int mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capacity, int geom[]);
/linux-master/include/linux/
H A Ddevice-mapper.h96 typedef int (*dm_prepare_ioctl_fn) (struct dm_target *ti, struct block_device **bdev);
167 struct block_device *bdev;
520 int dm_report_zones(struct block_device *bdev, sector_t start, sector_t sector,
H A Dcdrom.h104 /* the general block_device operations structure: */
107 int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev,
/linux-master/fs/nfs/blocklayout/
H A Dblocklayout.h98 struct block_device *bdev;
/linux-master/include/scsi/
H A Dscsi_host.h14 struct block_device;
325 int (* bios_param)(struct scsi_device *, struct block_device *,
H A Dlibsas.h24 struct block_device;
689 extern int sas_bios_param(struct scsi_device *, struct block_device *,
/linux-master/fs/
H A Dbuffer.c190 __find_get_block_slow(struct block_device *bdev, sector_t block)
658 void write_boundary_block(struct block_device *bdev,
981 static sector_t blkdev_max_block(struct block_device *bdev, unsigned int size)
997 struct block_device *bdev, unsigned size)
1034 static bool grow_dev_folio(struct block_device *bdev, sector_t block,
1091 static bool grow_buffers(struct block_device *bdev, sector_t block,
1112 __getblk_slow(struct block_device *bdev, sector_t block,
1356 lookup_bh_lru(struct block_device *bdev, sector_t block, unsigned size)
1395 __find_get_block(struct block_device *bdev, sector_t block, unsigned size)
1420 struct buffer_head *bdev_getblk(struct block_device *bde
[all...]
H A Dmpage.c172 struct block_device *bdev = NULL;
472 struct block_device *bdev = NULL;
475 struct block_device *boundary_bdev = NULL;
H A Dsuper.c1361 static struct super_block *bdev_super_lock(struct block_device *bdev, bool excl)
1397 static void fs_bdev_mark_dead(struct block_device *bdev, bool surprise)
1415 static void fs_bdev_sync(struct block_device *bdev)
1427 static struct super_block *get_bdev_super(struct block_device *bdev)
1457 static int fs_bdev_freeze(struct block_device *bdev)
1497 static int fs_bdev_thaw(struct block_device *bdev)
1531 struct block_device *bdev;
1673 struct block_device *bdev = sb->s_bdev;
/linux-master/kernel/trace/
H A Dblktrace.c500 struct block_device *bdev)
515 struct block_device *bdev,
622 struct block_device *bdev, char __user *arg)
643 struct block_device *bdev,
658 dev_t dev, struct block_device *bdev,
730 int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg)
1628 struct block_device *bdev)
1767 struct block_device *bdev = dev_to_bdev(dev);
1801 struct block_device *bdev = dev_to_bdev(dev);
/linux-master/drivers/block/
H A Dloop.c58 struct block_device *lo_device;
174 struct block_device *backing_bdev)
189 struct block_device *backing_bdev = NULL;
528 static int loop_validate_file(struct file *file, struct block_device *bdev)
561 static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
923 struct block_device *file_bdev = file_inode->i_sb->s_bdev;
993 struct block_device *bdev,
1523 static int lo_ioctl(struct block_device *bdev, blk_mode_t mode,
1684 static int lo_compat_ioctl(struct block_device *bdev, blk_mode_t mode,
/linux-master/drivers/block/aoe/
H A Daoeblk.c272 aoeblk_getgeo(struct block_device *bdev, struct hd_geometry *geo)
288 aoeblk_ioctl(struct block_device *bdev, blk_mode_t mode, uint cmd, ulong arg)
/linux-master/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c42 struct block_device *bdev)

Completed in 499 milliseconds

12345678910