Searched defs:bdev (Results 1 - 25 of 258) sorted by last modified time

1234567891011

/linux-master/fs/btrfs/
H A Dvolumes.c472 struct block_device *bdev; local
1268 btrfs_read_disk_super(struct block_device *bdev, u64 bytenr, u64 bytenr_orig) argument
2069 btrfs_scratch_superblock(struct btrfs_fs_info *fs_info, struct block_device *bdev, int copy_num) argument
2094 struct block_device *bdev = device->bdev; local
[all...]
H A Dextent-tree.c1253 static int btrfs_issue_discard(struct block_device *bdev, u64 start, u64 len, argument
/linux-master/drivers/nvme/target/
H A Dnvmet.h62 struct block_device *bdev; member in struct:nvmet_ns
/linux-master/drivers/nvme/host/
H A Dcore.c1712 int nvme_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c384 struct ttm_device *bdev = &dev_priv->bdev; local
638 struct ttm_device *bdev = bo->bdev; local
821 struct ttm_device *bdev = bo->tbo.bdev; local
847 struct ttm_device *bdev local
[all...]
H A Dvmwgfx_ttm_buffer.c273 static int vmw_ttm_bind(struct ttm_device *bdev, argument
320 static void vmw_ttm_unbind(struct ttm_device *bdev, argument
348 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) argument
362 static int vmw_ttm_populate(struct ttm_device *bdev, argument
378 static void vmw_ttm_unpopulate(struct ttm_device *bdev, argument
438 static int vmw_ttm_io_mem_reserve(struct ttm_device *bdev, struc argument
[all...]
H A Dvmwgfx_drv.h502 struct ttm_device bdev; member in struct:vmw_private
668 static inline struct vmw_private *vmw_priv_from_ttm(struct ttm_device *bdev) argument
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_tt.c65 struct ttm_device *bdev = bo->bdev; local
142 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) argument
264 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm, argument
311 ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) argument
369 ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c575 static int amdgpu_ttm_io_mem_reserve(struct ttm_device *bdev, argument
772 amdgpu_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) argument
809 amdgpu_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) argument
891 amdgpu_ttm_backend_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *bo_mem) argument
1026 amdgpu_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) argument
1054 amdgpu_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) argument
1111 amdgpu_ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) argument
1152 amdgpu_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) argument
[all...]
H A Damdgpu_ttm.h55 struct ttm_device bdev; member in struct:amdgpu_mman
/linux-master/drivers/scsi/
H A Dsd.c1496 static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
1535 static int sd_ioctl(struct block_device *bdev, blk_mode_t mode, argument
1823 static int sd_pr_in_command(struct block_device *bdev, u8 sa, argument
1865 sd_pr_read_keys(struct block_device *bdev, struct pr_keys *keys_info) argument
1896 sd_pr_read_reservation(struct block_device *bdev, struct pr_held_reservation *rsv) argument
1926 sd_pr_out_command(struct block_device *bdev, u8 sa, u64 key, u64 sa_key, enum scsi_pr_type type, u8 flags) argument
1978 sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, u32 flags) argument
1988 sd_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, u32 flags) argument
1997 sd_pr_release(struct block_device *bdev, u64 key, enum pr_type type) argument
2003 sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, enum pr_type type, bool abort) argument
2010 sd_pr_clear(struct block_device *bdev, u64 key) argument
[all...]
/linux-master/fs/ntfs3/
H A Dsuper.c1158 struct block_device *bdev = sb->s_bdev; local
1638 struct block_device *bdev = sb->s_bdev; local
/linux-master/drivers/md/
H A Ddm.c405 static int dm_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
451 static int dm_blk_ioctl(struct block_device *bdev, blk_mode_t mode, argument
412 dm_prepare_ioctl(struct mapped_device *md, int *srcu_idx, struct block_device **bdev) argument
730 struct block_device *bdev; local
3188 dm_call_pr(struct block_device *bdev, iterate_devices_callout_fn fn, struct dm_pr *pr) argument
3249 dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, u32 flags) argument
3302 dm_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, u32 flags) argument
3345 dm_pr_release(struct block_device *bdev, u64 key, enum pr_type type) argument
3380 dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, enum pr_type type, bool abort) argument
3398 dm_pr_clear(struct block_device *bdev, u64 key) argument
3436 dm_pr_read_keys(struct block_device *bdev, struct pr_keys *keys) argument
3468 dm_pr_read_reservation(struct block_device *bdev, struct pr_held_reservation *rsv) argument
[all...]
/linux-master/block/
H A Dbdev.c37 struct block_device bdev; member in struct:bdev_inode
58 static void bdev_write_inode(struct block_device *bdev) argument
77 static void kill_bdev(struct block_device *bdev) argument
89 void invalidate_bdev(struct block_device *bdev) argument
105 truncate_bdev_range(struct block_device *bdev, blk_mode_t mode, loff_t lstart, loff_t lend) argument
134 set_init_blocksize(struct block_device *bdev) argument
147 set_blocksize(struct block_device *bdev, int size) argument
191 sync_blockdev_nowait(struct block_device *bdev) argument
203 sync_blockdev(struct block_device *bdev) argument
211 sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend) argument
232 bdev_freeze(struct block_device *bdev) argument
268 bdev_thaw(struct block_device *bdev) argument
321 struct block_device *bdev = I_BDEV(inode); local
399 struct block_device *bdev; local
430 bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors) argument
438 bdev_add(struct block_device *bdev, dev_t dev) argument
472 bd_may_claim(struct block_device *bdev, void *holder, const struct blk_holder_ops *hops) argument
514 bd_prepare_to_claim(struct block_device *bdev, void *holder, const struct blk_holder_ops *hops) argument
566 bd_finish_claiming(struct block_device *bdev, void *holder, const struct blk_holder_ops *hops) argument
597 bd_abort_claiming(struct block_device *bdev, void *holder) argument
605 bd_end_claim(struct block_device *bdev, void *holder) argument
640 blkdev_flush_mapping(struct block_device *bdev) argument
648 blkdev_put_whole(struct block_device *bdev) argument
656 blkdev_get_whole(struct block_device *bdev, blk_mode_t mode) argument
752 struct block_device *bdev; local
774 blkdev_put_no_open(struct block_device *bdev) argument
779 bdev_writes_blocked(struct block_device *bdev) argument
784 bdev_block_writes(struct block_device *bdev) argument
789 bdev_unblock_writes(struct block_device *bdev) argument
794 bdev_may_open(struct block_device *bdev, blk_mode_t mode) argument
806 bdev_claim_write_access(struct block_device *bdev, blk_mode_t mode) argument
825 struct block_device *bdev; local
858 bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder, const struct blk_holder_ops *hops, struct file *bdev_file) argument
969 struct block_device *bdev; local
1027 struct block_device *bdev = file_bdev(bdev_file); local
1041 struct block_device *bdev = file_bdev(bdev_file); local
1097 struct block_device *bdev = file_bdev(bdev_file); local
1169 bdev_mark_dead(struct block_device *bdev, bool surprise) argument
1196 struct block_device *bdev; local
1250 struct block_device *bdev; local
[all...]
H A Dioctl.c16 static int blkpg_do_ioctl(struct block_device *bdev, argument
62 static int blkpg_ioctl(struct block_device *bdev, argument
82 static int compat_blkpg_ioctl(struct block_device *bdev, argument
95 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, argument
134 blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, void __user *argp) argument
165 blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, unsigned long arg) argument
254 blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, unsigned cmd, unsigned long arg) argument
268 blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) argument
283 blkdev_pr_register(struct block_device *bdev, blk_mode_t mode, struct pr_registration __user *arg) argument
301 blkdev_pr_reserve(struct block_device *bdev, blk_mode_t mode, struct pr_reservation __user *arg) argument
319 blkdev_pr_release(struct block_device *bdev, blk_mode_t mode, struct pr_reservation __user *arg) argument
337 blkdev_pr_preempt(struct block_device *bdev, blk_mode_t mode, struct pr_preempt __user *arg, bool abort) argument
355 blkdev_pr_clear(struct block_device *bdev, blk_mode_t mode, struct pr_clear __user *arg) argument
373 blkdev_flushbuf(struct block_device *bdev, unsigned cmd, unsigned long arg) argument
391 blkdev_roset(struct block_device *bdev, unsigned cmd, unsigned long arg) argument
410 blkdev_getgeo(struct block_device *bdev, struct hd_geometry __user *argp) argument
444 compat_hdio_getgeo(struct block_device *bdev, struct compat_hd_geometry __user *ugeo) argument
476 blkdev_bszset(struct block_device *bdev, blk_mode_t mode, int __user *argp) argument
505 blkdev_common_ioctl(struct block_device *bdev, blk_mode_t mode, unsigned int cmd, unsigned long arg, void __user *argp) argument
597 struct block_device *bdev = I_BDEV(file->f_mapping->host); local
658 struct block_device *bdev = I_BDEV(file->f_mapping->host); local
[all...]
H A Dblk-settings.c904 void queue_limits_stack_bdev(struct queue_limits *t, struct block_device *bdev, argument
1100 int bdev_alignment_offset(struct block_device *bdev) argument
1113 unsigned int bdev_discard_alignment(struct block_device *bdev) argument
[all...]
H A Dblk-core.c745 struct block_device *bdev = bio->bi_bdev; local
900 struct block_device *bdev; local
1000 bdev_start_io_acct(struct block_device *bdev, enum req_op op, unsigned long start_time) argument
1024 bdev_end_io_acct(struct block_device *bdev, enum req_op op, unsigned int sectors, unsigned long start_time) argument
[all...]
H A Dblk-cgroup.h214 struct block_device *bdev; member in struct:blkg_conf_ctx
H A Dblk-cgroup.c763 struct block_device *bdev; local
1073 struct block_device *bdev = dev_to_bdev(dev); local
[all...]
/linux-master/include/linux/
H A Dblkdev.h657 static inline unsigned int bdev_max_open_zones(struct block_device *bdev) argument
662 static inline unsigned int bdev_max_active_zones(struct block_device *bdev) argument
668 static inline unsigned int bdev_nr_zones(struct block_device *bdev) argument
685 static inline unsigned int bdev_max_open_zones(struct block_device *bdev) argument
690 static inline unsigned int bdev_max_active_zones(struct block_device *bdev) argument
731 bdev_read_only(struct block_device *bdev) argument
743 get_start_sect(struct block_device *bdev) argument
748 bdev_nr_sectors(struct block_device *bdev) argument
753 bdev_nr_bytes(struct block_device *bdev) argument
807 bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) argument
812 bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) argument
845 bdev_get_queue(struct block_device *bdev) argument
1048 blkdev_issue_flush(struct block_device *bdev) argument
1098 bdev_is_partition(struct block_device *bdev) argument
1168 bdev_max_zone_append_sectors(struct block_device *bdev) argument
1173 bdev_max_segments(struct block_device *bdev) argument
1188 bdev_logical_block_size(struct block_device *bdev) argument
1198 bdev_physical_block_size(struct block_device *bdev) argument
1208 bdev_io_min(struct block_device *bdev) argument
1218 bdev_io_opt(struct block_device *bdev) argument
1230 bdev_zone_write_granularity(struct block_device *bdev) argument
1238 bdev_max_discard_sectors(struct block_device *bdev) argument
1243 bdev_discard_granularity(struct block_device *bdev) argument
1249 bdev_max_secure_erase_sectors(struct block_device *bdev) argument
1254 bdev_write_zeroes_sectors(struct block_device *bdev) argument
1264 bdev_nonrot(struct block_device *bdev) argument
1269 bdev_synchronous(struct block_device *bdev) argument
1275 bdev_stable_writes(struct block_device *bdev) argument
1281 bdev_write_cache(struct block_device *bdev) argument
1286 bdev_fua(struct block_device *bdev) argument
1291 bdev_nowait(struct block_device *bdev) argument
1296 bdev_is_zoned(struct block_device *bdev) argument
1301 bdev_zone_no(struct block_device *bdev, sector_t sec) argument
1312 bdev_op_is_zoned_write(struct block_device *bdev, enum req_op op) argument
1318 bdev_zone_sectors(struct block_device *bdev) argument
1327 bdev_offset_from_zone_start(struct block_device *bdev, sector_t sector) argument
1333 bdev_is_zone_start(struct block_device *bdev, sector_t sector) argument
1344 bdev_dma_alignment(struct block_device *bdev) argument
1349 bdev_iter_is_aligned(struct block_device *bdev, struct iov_iter *iter) argument
1369 block_size(struct block_device *bdev) argument
1552 invalidate_bdev(struct block_device *bdev) argument
1555 sync_blockdev(struct block_device *bdev) argument
1559 sync_blockdev_nowait(struct block_device *bdev) argument
[all...]
/linux-master/fs/bcachefs/
H A Dfs.c1967 struct block_device *bdev = ca->disk_sb.bdev; local
H A Dsuper_types.h8 struct block_device *bdev; member in struct:bch_sb_handle
H A Dutil.h324 static inline void prt_bdevname(struct printbuf *out, struct block_device *bdev) argument
448 static inline sector_t bdev_sectors(struct block_device *bdev) argument
/linux-master/fs/zonefs/
H A Dsuper.c902 struct block_device *bdev = zd->sb->s_bdev; local
/linux-master/drivers/ata/
H A Dlibata-scsi.c284 int ata_std_bios_param(struct scsi_device *sdev, struct block_device *bdev, argument

Completed in 343 milliseconds

1234567891011