Home
last modified time | relevance | path

Searched defs:bdev (Results 51 – 75 of 258) sorted by relevance

1234567891011

/openbmc/linux/block/
H A Dearly-lookup.c23 struct block_device *bdev = dev_to_bdev(dev); in match_dev_by_uuid() local
104 struct block_device *bdev = dev_to_bdev(dev); in match_dev_by_label() local
H A Dbio.c246 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
300 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf) in bio_reset()
348 struct bio *blk_next_bio(struct bio *bio, struct block_device *bdev, in blk_next_bio()
432 static struct bio *bio_alloc_percpu_cache(struct block_device *bdev, in bio_alloc_percpu_cache()
492 struct bio *bio_alloc_bioset(struct block_device *bdev, unsigned short nr_vecs, in bio_alloc_bioset()
845 struct bio *bio_alloc_clone(struct block_device *bdev, struct bio *bio_src, in bio_alloc_clone()
876 int bio_init_clone(struct block_device *bdev, struct bio *bio, in bio_init_clone()
H A Dblk-core.c734 struct block_device *bdev = bio->bi_bdev; in submit_bio_noacct() local
873 struct block_device *bdev; in bio_poll() local
974 unsigned long bdev_start_io_acct(struct block_device *bdev, enum req_op op, in bdev_start_io_acct()
998 void bdev_end_io_acct(struct block_device *bdev, enum req_op op, in bdev_end_io_acct()
H A Dblk-settings.c707 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, in disk_stack_limits()
969 int bdev_alignment_offset(struct block_device *bdev) in bdev_alignment_offset()
982 unsigned int bdev_discard_alignment(struct block_device *bdev) in bdev_discard_alignment()
H A Dgenhd.c345 struct block_device *bdev; in disk_scan_partitions() local
559 struct block_device *bdev; in blk_report_disk_dead() local
735 struct block_device *bdev = disk->part0; in invalidate_disk() local
946 struct block_device *bdev = dev_to_bdev(dev); in part_stat_show() local
995 struct block_device *bdev = dev_to_bdev(dev); in part_inflight_show() local
/openbmc/linux/include/linux/
H A Ddm-verity-loadpin.h21 static inline bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev) in dm_verity_loadpin_is_bdev_trusted()
H A Dbuffer_head.h388 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, in getblk_unmovable()
395 static inline struct buffer_head *__getblk(struct block_device *bdev, in __getblk()
448 __bread(struct block_device *bdev, sector_t block, unsigned size) in __bread()
H A Dblktrace_api.h83 # define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) argument
86 # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) argument
/openbmc/linux/include/drm/ttm/
H A Dttm_device.h276 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type()
283 static inline void ttm_set_driver_manager(struct ttm_device *bdev, int type, in ttm_set_driver_manager()
/openbmc/linux/kernel/trace/
H A Dblktrace.c500 struct block_device *bdev) in blk_trace_setup_lba()
515 struct block_device *bdev, in do_blk_trace_setup()
622 struct block_device *bdev, char __user *arg) in __blk_trace_setup()
643 struct block_device *bdev, in blk_trace_setup()
658 dev_t dev, struct block_device *bdev, in compat_blk_trace_setup()
730 int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg) in blk_trace_ioctl()
1628 struct block_device *bdev) in blk_trace_setup_queue()
1767 struct block_device *bdev = dev_to_bdev(dev); in sysfs_blk_trace_attr_show() local
1801 struct block_device *bdev = dev_to_bdev(dev); in sysfs_blk_trace_attr_store() local
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_sys_manager.c35 void ttm_sys_man_init(struct ttm_device *bdev) in ttm_sys_man_init()
H A Dttm_bo_vm.c87 struct ttm_device *bdev = bo->bdev; in ttm_bo_io_mem_pfn() local
187 struct ttm_device *bdev = bo->bdev; in ttm_bo_vm_fault_reserved() local
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c188 static int i915_ttm_tt_shmem_populate(struct ttm_device *bdev, in i915_ttm_tt_shmem_populate()
322 static int i915_ttm_tt_populate(struct ttm_device *bdev, in i915_ttm_tt_populate()
334 static void i915_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_unpopulate()
350 static void i915_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_destroy()
660 static int i915_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem) in i915_ttm_io_mem_reserve()
/openbmc/linux/drivers/md/
H A Ddm-verity-loadpin.c53 bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev) in dm_verity_loadpin_is_bdev_trusted()
H A Ddm.c405 static int dm_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) in dm_blk_getgeo()
413 struct block_device **bdev) in dm_prepare_ioctl()
451 static int dm_blk_ioctl(struct block_device *bdev, blk_mode_t mode, in dm_blk_ioctl()
727 struct block_device *bdev; in open_table_device() local
3156 static int dm_call_pr(struct block_device *bdev, iterate_devices_callout_fn fn, in dm_call_pr()
3217 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register()
3270 static int dm_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, in dm_pr_reserve()
3348 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt()
3366 static int dm_pr_clear(struct block_device *bdev, u64 key) in dm_pr_clear()
3404 static int dm_pr_read_keys(struct block_device *bdev, struct pr_keys *keys) in dm_pr_read_keys()
[all …]
H A Ddm-zoned-target.c695 struct block_device *bdev; in dmz_get_zoned_device() local
782 struct block_device *bdev = zoned_dev->bdev; in dmz_fixup_devices() local
799 struct block_device *bdev = zoned_dev->bdev; in dmz_fixup_devices() local
1019 static int dmz_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in dmz_prepare_ioctl()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c580 static int amdgpu_ttm_io_mem_reserve(struct ttm_device *bdev, in amdgpu_ttm_io_mem_reserve()
777 static int amdgpu_ttm_tt_pin_userptr(struct ttm_device *bdev, in amdgpu_ttm_tt_pin_userptr()
814 static void amdgpu_ttm_tt_unpin_userptr(struct ttm_device *bdev, in amdgpu_ttm_tt_unpin_userptr()
896 static int amdgpu_ttm_backend_bind(struct ttm_device *bdev, in amdgpu_ttm_backend_bind()
1035 static void amdgpu_ttm_backend_unbind(struct ttm_device *bdev, in amdgpu_ttm_backend_unbind()
1063 static void amdgpu_ttm_backend_destroy(struct ttm_device *bdev, in amdgpu_ttm_backend_destroy()
1120 static int amdgpu_ttm_tt_populate(struct ttm_device *bdev, in amdgpu_ttm_tt_populate()
1161 static void amdgpu_ttm_tt_unpopulate(struct ttm_device *bdev, in amdgpu_ttm_tt_unpopulate()
/openbmc/linux/fs/xfs/
H A Dxfs_bio_io.c14 struct block_device *bdev, in xfs_rw_bdev()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_system_manager.c62 struct ttm_device *bdev = &dev_priv->bdev; in vmw_sys_man_init() local
/openbmc/u-boot/cmd/
H A Dunzip.c45 struct blk_desc *bdev; in do_gzwrite() local
/openbmc/linux/drivers/scsi/
H A Dsd.c1468 static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo) in sd_getgeo()
1507 static int sd_ioctl(struct block_device *bdev, blk_mode_t mode, in sd_ioctl()
1798 static int sd_pr_in_command(struct block_device *bdev, u8 sa, in sd_pr_in_command()
1826 static int sd_pr_read_keys(struct block_device *bdev, struct pr_keys *keys_info) in sd_pr_read_keys()
1857 static int sd_pr_read_reservation(struct block_device *bdev, in sd_pr_read_reservation()
1887 static int sd_pr_out_command(struct block_device *bdev, u8 sa, u64 key, in sd_pr_out_command()
1925 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register()
1935 static int sd_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, in sd_pr_reserve()
1944 static int sd_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in sd_pr_release()
1950 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt()
[all …]
/openbmc/linux/drivers/block/aoe/
H A Daoeblk.c272 aoeblk_getgeo(struct block_device *bdev, struct hd_geometry *geo) in aoeblk_getgeo()
288 aoeblk_ioctl(struct block_device *bdev, blk_mode_t mode, uint cmd, ulong arg) in aoeblk_ioctl()
/openbmc/linux/fs/btrfs/
H A Dzoned.h131 static inline int btrfs_sb_log_location_bdev(struct block_device *bdev, in btrfs_sb_log_location_bdev()
150 static inline int btrfs_reset_sb_log_zones(struct block_device *bdev, int mirror) in btrfs_reset_sb_log_zones()
312 struct block_device *bdev) in btrfs_check_device_zone_type()
/openbmc/linux/fs/
H A Dsuper.c1038 struct super_block *get_active_super(struct block_device *bdev) in get_active_super()
1451 static void fs_bdev_mark_dead(struct block_device *bdev, bool surprise) in fs_bdev_mark_dead()
1471 static void fs_bdev_sync(struct block_device *bdev) in fs_bdev_sync()
1494 struct block_device *bdev; in setup_bdev_super() local
1658 struct block_device *bdev = sb->s_bdev; in kill_block_super() local
/openbmc/linux/drivers/platform/x86/
H A Dnvidia-wmi-ec-backlight.c94 struct backlight_device *bdev; in nvidia_wmi_ec_backlight_probe() local

1234567891011