Home
last modified time | relevance | path

Searched refs:bdev (Results 1 – 25 of 28) sorted by relevance

12

/include/drm/ttm/
Dttm_device.h95 int (*ttm_tt_populate)(struct ttm_device *bdev,
106 void (*ttm_tt_unpopulate)(struct ttm_device *bdev,
118 void (*ttm_tt_destroy)(struct ttm_device *bdev, struct ttm_tt *ttm);
180 int (*io_mem_reserve)(struct ttm_device *bdev,
182 void (*io_mem_free)(struct ttm_device *bdev,
281 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx,
285 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type() argument
287 return bdev->man_drv[mem_type]; in ttm_manager_type()
290 static inline void ttm_set_driver_manager(struct ttm_device *bdev, int type, in ttm_set_driver_manager() argument
293 bdev->man_drv[type] = manager; in ttm_set_driver_manager()
[all …]
Dttm_tt.h136 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm);
143 void ttm_tt_destroy_common(struct ttm_device *bdev, struct ttm_tt *ttm);
153 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm,
163 int ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx);
172 void ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm);
Dttm_range_manager.h36 int ttm_range_man_init(struct ttm_device *bdev,
39 int ttm_range_man_fini(struct ttm_device *bdev,
Dttm_bo_api.h125 struct ttm_device *bdev; member
339 int ttm_bo_lock_delayed_workqueue(struct ttm_device *bdev);
346 void ttm_bo_unlock_delayed_workqueue(struct ttm_device *bdev, int resched);
393 int ttm_bo_init_reserved(struct ttm_device *bdev,
438 int ttm_bo_init(struct ttm_device *bdev, struct ttm_buffer_object *bo,
547 ssize_t ttm_bo_io(struct ttm_device *bdev, struct file *filp,
583 int ttm_mem_evict_first(struct ttm_device *bdev,
607 bool ttm_bo_delayed_delete(struct ttm_device *bdev, bool remove_all);
Dttm_bo_driver.h184 spin_lock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
186 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
226 int ttm_mem_io_reserve(struct ttm_device *bdev,
228 void ttm_mem_io_free(struct ttm_device *bdev,
Dttm_resource.h273 int ttm_resource_manager_evict_all(struct ttm_device *bdev,
289 struct ttm_device *bdev,
293 struct ttm_device *bdev,
/include/linux/
Dpr.h8 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
10 int (*pr_reserve)(struct block_device *bdev, u64 key,
12 int (*pr_release)(struct block_device *bdev, u64 key,
14 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
16 int (*pr_clear)(struct block_device *bdev, u64 key);
Dblkdev.h351 int blkdev_report_zones(struct block_device *bdev, sector_t sector,
354 extern int blkdev_zone_mgmt(struct block_device *bdev, enum req_opf op,
360 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
362 extern int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode,
372 static inline int blkdev_report_zones_ioctl(struct block_device *bdev, in blkdev_report_zones_ioctl() argument
379 static inline int blkdev_zone_mgmt_ioctl(struct block_device *bdev, in blkdev_zone_mgmt_ioctl() argument
944 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) in bdev_get_queue() argument
946 return bdev->bd_disk->queue; /* this is never NULL */ in bdev_get_queue()
1205 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev,
1319 int blkdev_issue_flush(struct block_device *bdev);
[all …]
Dgenhd.h234 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect() argument
236 return bdev->bd_start_sect; in get_start_sect()
239 static inline sector_t bdev_nr_sectors(struct block_device *bdev) in bdev_nr_sectors() argument
241 return i_size_read(bdev->bd_inode) >> 9; in bdev_nr_sectors()
280 bool bdev_check_media_change(struct block_device *bdev);
281 int __invalidate_device(struct block_device *bdev, bool kill_dirty);
289 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk);
290 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk);
293 static inline int bd_link_disk_holder(struct block_device *bdev, in bd_link_disk_holder() argument
298 static inline void bd_unlink_disk_holder(struct block_device *bdev, in bd_unlink_disk_holder() argument
Dblk-crypto.h151 int blk_crypto_start_using_key(struct block_device *bdev,
154 void blk_crypto_evict_key(struct block_device *bdev,
157 bool blk_crypto_config_supported_natively(struct block_device *bdev,
159 bool blk_crypto_config_supported(struct block_device *bdev,
162 int blk_crypto_derive_sw_secret(struct block_device *bdev,
Dbuffer_head.h209 void clean_bdev_aliases(struct block_device *bdev, sector_t block,
219 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block,
221 struct buffer_head *__getblk_gfp(struct block_device *bdev, sector_t block,
242 void write_boundary_block(struct block_device *bdev,
405 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, in getblk_unmovable() argument
409 return __getblk_gfp(bdev, block, size, 0); in getblk_unmovable()
412 static inline struct buffer_head *__getblk(struct block_device *bdev, in __getblk() argument
416 return __getblk_gfp(bdev, block, size, __GFP_MOVABLE); in __getblk()
430 __bread(struct block_device *bdev, sector_t block, unsigned size) in __bread() argument
432 return __bread_gfp(bdev, block, size, __GFP_MOVABLE); in __bread()
Ddax.h113 struct block_device *bdev, int blocksize, sector_t start,
116 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
124 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev);
136 struct block_device *bdev, int blocksize, sector_t start, in dax_supported() argument
146 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev() argument
Dblktrace_api.h78 struct block_device *bdev,
88 # define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) argument
91 # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) argument
Ddm-io.h18 struct block_device *bdev; member
Ddm-bufio.h24 dm_bufio_client_create(struct block_device *bdev, unsigned block_size,
Dpktcdvd.h165 struct block_device *bdev; /* dev attached */ member
Ddevice-mapper.h95 typedef int (*dm_prepare_ioctl_fn) (struct dm_target *ti, struct block_device **bdev);
159 struct block_device *bdev; member
493 int dm_report_zones(struct block_device *bdev, sector_t start, sector_t sector,
Dcdrom.h104 extern int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev,
107 extern int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev,
Dbio.h496 #define bio_set_dev(bio, bdev) \ argument
499 if ((bio)->bi_bdev != (bdev)) \
501 (bio)->bi_bdev = (bdev); \
Diomap.h88 struct block_device *bdev; /* block device for I/O */ member
Dswap.h271 struct block_device *bdev; /* swap device or bdev of swap file */ member
Dblk-cgroup.h206 struct block_device *bdev; member
/include/scsi/
Dscsicam.h16 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
18 unsigned char *scsi_bios_ptable(struct block_device *bdev);
/include/drm/
Ddrm_gem_vram_helper.h184 struct ttm_device bdev; member
196 struct ttm_device *bdev) in drm_vram_mm_of_bdev() argument
198 return container_of(bdev, struct drm_vram_mm, bdev); in drm_vram_mm_of_bdev()
/include/trace/events/
Dbcache.h439 __entry->dev = ca->bdev->bd_dev;
459 __entry->dev = ca->bdev->bd_dev;
479 __entry->dev = ca->bdev->bd_dev;

12