Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_ttm.c59 static struct radeon_device *radeon_get_rdev(struct ttm_bo_device *bdev) in radeon_get_rdev()
69 static int radeon_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in radeon_invalidate_caches()
74 static int radeon_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in radeon_init_mem_type()
402 static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_reserve()
467 static void radeon_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_free()
/Linux-v5.4/fs/
Dmpage.c71 mpage_alloc(struct block_device *bdev, in mpage_alloc()
170 struct block_device *bdev = NULL; in do_mpage_readpage() local
511 struct block_device *bdev = NULL; in __mpage_writepage() local
Dinternal.h32 static inline int __sync_blockdev(struct block_device *bdev, int wait) in __sync_blockdev()
Dsync.c83 static void fdatawrite_one_bdev(struct block_device *bdev, void *arg) in fdatawrite_one_bdev()
88 static void fdatawait_one_bdev(struct block_device *bdev, void *arg) in fdatawait_one_bdev()
Ddax.c683 static int copy_user_dax(struct block_device *bdev, struct dax_device *dax_dev, in copy_user_dax()
940 struct block_device *bdev, struct writeback_control *wbc) in dax_writeback_mapping_range()
1047 static bool dax_range_is_aligned(struct block_device *bdev, in dax_range_is_aligned()
1060 int __dax_zero_page_range(struct block_device *bdev, in __dax_zero_page_range()
1096 struct block_device *bdev = iomap->bdev; in dax_iomap_actor() local
/Linux-v5.4/drivers/md/bcache/
Dsuper.c62 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super()
1330 struct block_device *bdev, in register_bdev()
2237 struct block_device *bdev, struct cache *ca) in register_cache()
2313 static bool bch_is_open_backing(struct block_device *bdev) in bch_is_open_backing()
2328 static bool bch_is_open_cache(struct block_device *bdev) in bch_is_open_cache()
2341 static bool bch_is_open(struct block_device *bdev) in bch_is_open()
2353 struct block_device *bdev = NULL; in register_bcache() local
/Linux-v5.4/fs/nfsd/
Dblocklayout.c214 static int nfsd4_scsi_identify_device(struct block_device *bdev, in nfsd4_scsi_identify_device()
408 struct block_device *bdev = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client() local
/Linux-v5.4/block/partitions/
Dcheck.c143 check_partition(struct gendisk *hd, struct block_device *bdev) in check_partition()
Defi.c134 static u64 last_lba(struct block_device *bdev) in last_lba()
241 struct block_device *bdev = state->bdev; in read_lba() local
Dcmdline.c127 char bdev[BDEVNAME_SIZE]; in cmdline_partition() local
Dcheck.h11 struct block_device *bdev; member
/Linux-v5.4/fs/xfs/
Dxfs_bio_io.c14 struct block_device *bdev, in xfs_rw_bdev()
Dxfs_discard.c30 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents() local
/Linux-v5.4/drivers/scsi/
Dsd.c1334 static int sd_open(struct block_device *bdev, fmode_t mode) in sd_open()
1423 static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo) in sd_getgeo()
1462 static int sd_ioctl(struct block_device *bdev, fmode_t mode, in sd_ioctl()
1694 static int sd_compat_ioctl(struct block_device *bdev, fmode_t mode, in sd_compat_ioctl()
1734 static int sd_pr_command(struct block_device *bdev, u8 sa, in sd_pr_command()
1764 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register()
1774 static int sd_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, in sd_pr_reserve()
1782 static int sd_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in sd_pr_release()
1787 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt()
1794 static int sd_pr_clear(struct block_device *bdev, u64 key) in sd_pr_clear()
/Linux-v5.4/drivers/md/
Ddm-stripe.c323 struct block_device *bdev; in stripe_dax_direct_access() local
344 struct block_device *bdev; in stripe_dax_copy_from_iter() local
363 struct block_device *bdev; in stripe_dax_copy_to_iter() local
Ddm.c329 static int dm_blk_open(struct block_device *bdev, fmode_t mode) in dm_blk_open()
436 static int dm_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) in dm_blk_getgeo()
493 struct block_device **bdev) in dm_prepare_ioctl()
533 static int dm_blk_ioctl(struct block_device *bdev, fmode_t mode, in dm_blk_ioctl()
745 struct block_device *bdev; in open_table_device() local
1108 static bool dm_dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dm_dax_supported()
3048 static int dm_call_pr(struct block_device *bdev, iterate_devices_callout_fn fn, in dm_call_pr()
3089 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register()
3113 static int dm_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, in dm_pr_reserve()
3134 static int dm_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in dm_pr_release()
[all …]
/Linux-v5.4/drivers/block/
Dnbd.c302 struct block_device *bdev = bdget_disk(nbd->disk, 0); in nbd_size_update() local
1117 static void nbd_bdev_reset(struct block_device *bdev) in nbd_bdev_reset()
1284 static int nbd_start_device_ioctl(struct nbd_device *nbd, struct block_device *bdev) in nbd_start_device_ioctl()
1313 struct block_device *bdev) in nbd_clear_sock_ioctl()
1339 static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, in __nbd_ioctl()
1392 static int nbd_ioctl(struct block_device *bdev, fmode_t mode, in nbd_ioctl()
1438 static int nbd_open(struct block_device *bdev, fmode_t mode) in nbd_open()
1482 struct block_device *bdev = bdget_disk(disk, 0); in nbd_release() local
Dswim.c609 static int floppy_open(struct block_device *bdev, fmode_t mode) in floppy_open()
659 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) in floppy_unlocked_open()
686 static int floppy_ioctl(struct block_device *bdev, fmode_t mode, in floppy_ioctl()
713 static int floppy_getgeo(struct block_device *bdev, struct hd_geometry *geo) in floppy_getgeo()
/Linux-v5.4/include/linux/
Dblktrace_api.h83 # define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) argument
86 # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) argument
/Linux-v5.4/drivers/target/
Dtarget_core_iblock.c394 struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; in iblock_execute_unmap() local
411 iblock_execute_zero_out(struct block_device *bdev, struct se_cmd *cmd) in iblock_execute_zero_out()
446 struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; in iblock_execute_write_same() local
/Linux-v5.4/drivers/video/fbdev/
Dssd1307fb.c505 static int ssd1307fb_update_bl(struct backlight_device *bdev) in ssd1307fb_update_bl()
522 static int ssd1307fb_get_brightness(struct backlight_device *bdev) in ssd1307fb_get_brightness()
529 static int ssd1307fb_check_fb(struct backlight_device *bdev, in ssd1307fb_check_fb()
/Linux-v5.4/drivers/mtd/
Dmtdsuper.c123 struct block_device *bdev; in get_tree_mtd() local
/Linux-v5.4/drivers/block/zram/
Dzram_drv.c393 struct block_device *bdev; in reset_bdev() local
453 struct block_device *bdev = NULL; in backing_dev_store() local
1609 static void zram_slot_free_notify(struct block_device *bdev, in zram_slot_free_notify()
1626 static int zram_rw_page(struct block_device *bdev, sector_t sector, in zram_rw_page()
1761 struct block_device *bdev; in reset_store() local
1800 static int zram_open(struct block_device *bdev, fmode_t mode) in zram_open()
1973 struct block_device *bdev; in zram_remove() local
/Linux-v5.4/security/loadpin/
Dloadpin.c79 char bdev[BDEVNAME_SIZE]; in check_pinning_enforcement() local
/Linux-v5.4/block/
Dblk-settings.c632 int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, in bdev_stack_limits()
653 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, in disk_stack_limits()

1234567891011