Home
last modified time | relevance | path

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

1234567891011

/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_ttm.c53 static struct radeon_device *radeon_get_rdev(struct ttm_bo_device *bdev) in radeon_get_rdev()
122 static int radeon_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in radeon_invalidate_caches()
127 static int radeon_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in radeon_init_mem_type()
459 static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_reserve()
524 static void radeon_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_free()
/Linux-v4.19/drivers/md/bcache/
Dsuper.c60 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super()
1281 struct block_device *bdev, in register_bdev()
2093 struct block_device *bdev, struct cache *ca) in register_cache()
2157 static bool bch_is_open_backing(struct block_device *bdev) in bch_is_open_backing()
2172 static bool bch_is_open_cache(struct block_device *bdev) in bch_is_open_cache()
2185 static bool bch_is_open(struct block_device *bdev) in bch_is_open()
2197 struct block_device *bdev = NULL; in register_bcache() local
/Linux-v4.19/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_ttm.c95 hibmc_bo_init_mem_type(struct ttm_bo_device *bdev, u32 type, in hibmc_bo_init_mem_type()
165 static int hibmc_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in hibmc_ttm_io_mem_reserve()
238 struct ttm_bo_device *bdev = &hibmc->bdev; in hibmc_mm_init() local
/Linux-v4.19/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.h34 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()
/Linux-v4.19/block/partitions/
Dcheck.c143 check_partition(struct gendisk *hd, struct block_device *bdev) in check_partition()
Defi.c148 static u64 last_lba(struct block_device *bdev) in last_lba()
255 struct block_device *bdev = state->bdev; in read_lba() local
Dcmdline.c127 char bdev[BDEVNAME_SIZE]; in cmdline_partition() local
/Linux-v4.19/fs/nfsd/
Dblocklayout.c215 static int nfsd4_scsi_identify_device(struct block_device *bdev, in nfsd4_scsi_identify_device()
409 struct block_device *bdev = ls->ls_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client() local
/Linux-v4.19/include/linux/
Dblkdev.h417 static inline int blkdev_report_zones_ioctl(struct block_device *bdev, in blkdev_report_zones_ioctl()
424 static inline int blkdev_reset_zones_ioctl(struct block_device *bdev, in blkdev_reset_zones_ioctl()
1015 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) in bdev_get_queue()
1482 static inline unsigned short bdev_logical_block_size(struct block_device *bdev) in bdev_logical_block_size()
1492 static inline unsigned int bdev_physical_block_size(struct block_device *bdev) in bdev_physical_block_size()
1502 static inline int bdev_io_min(struct block_device *bdev) in bdev_io_min()
1512 static inline int bdev_io_opt(struct block_device *bdev) in bdev_io_opt()
1534 static inline int bdev_alignment_offset(struct block_device *bdev) in bdev_alignment_offset()
1578 static inline int bdev_discard_alignment(struct block_device *bdev) in bdev_discard_alignment()
1588 static inline unsigned int bdev_write_same(struct block_device *bdev) in bdev_write_same()
[all …]
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-v4.19/drivers/scsi/
Dsd.c1315 static int sd_open(struct block_device *bdev, fmode_t mode) in sd_open()
1409 static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo) in sd_getgeo()
1448 static int sd_ioctl(struct block_device *bdev, fmode_t mode, in sd_ioctl()
1679 static int sd_compat_ioctl(struct block_device *bdev, fmode_t mode, in sd_compat_ioctl()
1719 static int sd_pr_command(struct block_device *bdev, u8 sa, in sd_pr_command()
1749 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register()
1759 static int sd_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, in sd_pr_reserve()
1767 static int sd_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in sd_pr_release()
1772 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt()
1779 static int sd_pr_clear(struct block_device *bdev, u64 key) in sd_pr_clear()
/Linux-v4.19/drivers/block/
Dnbd.c280 struct block_device *bdev = bdget_disk(nbd->disk, 0); in nbd_size_update() local
1036 static void nbd_bdev_reset(struct block_device *bdev) in nbd_bdev_reset()
1190 static int nbd_start_device_ioctl(struct nbd_device *nbd, struct block_device *bdev) in nbd_start_device_ioctl()
1217 struct block_device *bdev) in nbd_clear_sock_ioctl()
1228 static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, in __nbd_ioctl()
1283 static int nbd_ioctl(struct block_device *bdev, fmode_t mode, in nbd_ioctl()
1329 static int nbd_open(struct block_device *bdev, fmode_t mode) in nbd_open()
1373 struct block_device *bdev = bdget_disk(disk, 0); in nbd_release() local
/Linux-v4.19/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.c347 static int dm_blk_open(struct block_device *bdev, fmode_t mode) in dm_blk_open()
454 static int dm_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) in dm_blk_getgeo()
462 struct block_device **bdev) in dm_prepare_ioctl()
502 static int dm_blk_ioctl(struct block_device *bdev, fmode_t mode, in dm_blk_ioctl()
712 struct block_device *bdev; in open_table_device() local
3010 static int dm_call_pr(struct block_device *bdev, iterate_devices_callout_fn fn, in dm_call_pr()
3051 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register()
3075 static int dm_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, in dm_pr_reserve()
3096 static int dm_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in dm_pr_release()
3116 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt()
[all …]
/Linux-v4.19/drivers/video/fbdev/
Dssd1307fb.c456 static int ssd1307fb_update_bl(struct backlight_device *bdev) in ssd1307fb_update_bl()
473 static int ssd1307fb_get_brightness(struct backlight_device *bdev) in ssd1307fb_get_brightness()
480 static int ssd1307fb_check_fb(struct backlight_device *bdev, in ssd1307fb_check_fb()
/Linux-v4.19/drivers/target/
Dtarget_core_iblock.c407 struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; in iblock_execute_unmap() local
424 iblock_execute_zero_out(struct block_device *bdev, struct se_cmd *cmd) in iblock_execute_zero_out()
459 struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; in iblock_execute_write_same() local
/Linux-v4.19/drivers/dax/
Dsuper.c52 int bdev_dax_pgoff(struct block_device *bdev, sector_t sector, size_t size, in bdev_dax_pgoff()
66 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
85 bool __bdev_dax_supported(struct block_device *bdev, int blocksize) in __bdev_dax_supported()
/Linux-v4.19/drivers/block/zram/
Dzram_drv.c287 struct block_device *bdev; in reset_bdev() local
346 struct block_device *bdev = NULL; in backing_dev_store() local
1396 static void zram_slot_free_notify(struct block_device *bdev, in zram_slot_free_notify()
1409 static int zram_rw_page(struct block_device *bdev, sector_t sector, in zram_rw_page()
1544 struct block_device *bdev; in reset_store() local
1583 static int zram_open(struct block_device *bdev, fmode_t mode) in zram_open()
1748 struct block_device *bdev; in zram_remove() local
/Linux-v4.19/fs/xfs/
Dxfs_aops.c536 struct block_device *bdev, in xfs_alloc_ioend()
569 struct block_device *bdev, in xfs_chain_bio()
601 struct block_device *bdev = xfs_find_bdev_for_inode(inode); in xfs_add_to_ioend() local
Dxfs_discard.c32 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents() local
/Linux-v4.19/drivers/nvme/host/
Dcore.c1309 static int nvme_ioctl(struct block_device *bdev, fmode_t mode, in nvme_ioctl()
1325 static int nvme_open(struct block_device *bdev, fmode_t mode) in nvme_open()
1355 static int nvme_getgeo(struct block_device *bdev, struct hd_geometry *geo) in nvme_getgeo()
1582 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command()
1608 static int nvme_pr_register(struct block_device *bdev, u64 old, in nvme_pr_register()
1622 static int nvme_pr_reserve(struct block_device *bdev, u64 key, in nvme_pr_reserve()
1635 static int nvme_pr_preempt(struct block_device *bdev, u64 old, u64 new, in nvme_pr_preempt()
1642 static int nvme_pr_clear(struct block_device *bdev, u64 key) in nvme_pr_clear()
1648 static int nvme_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in nvme_pr_release()
1696 static int nvme_ns_head_open(struct block_device *bdev, fmode_t mode) in nvme_ns_head_open()
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_execbuf_util.c189 struct ttm_bo_device *bdev; in ttm_eu_fence_buffer_objects() local
/Linux-v4.19/fs/ext4/
Dreadpage.c115 struct block_device *bdev = inode->i_sb->s_bdev; in ext4_mpage_readpages() local

1234567891011