/include/drm/ttm/ |
D | ttm_device.h | 95 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 …]
|
D | ttm_tt.h | 136 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);
|
D | ttm_range_manager.h | 36 int ttm_range_man_init(struct ttm_device *bdev, 39 int ttm_range_man_fini(struct ttm_device *bdev,
|
D | ttm_bo_api.h | 125 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);
|
D | ttm_bo_driver.h | 184 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,
|
D | ttm_resource.h | 273 int ttm_resource_manager_evict_all(struct ttm_device *bdev, 289 struct ttm_device *bdev, 293 struct ttm_device *bdev,
|
/include/linux/ |
D | pr.h | 8 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);
|
D | blkdev.h | 351 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 …]
|
D | genhd.h | 234 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
|
D | blk-crypto.h | 151 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,
|
D | buffer_head.h | 209 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()
|
D | dax.h | 113 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
|
D | blktrace_api.h | 78 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
|
D | dm-io.h | 18 struct block_device *bdev; member
|
D | dm-bufio.h | 24 dm_bufio_client_create(struct block_device *bdev, unsigned block_size,
|
D | pktcdvd.h | 165 struct block_device *bdev; /* dev attached */ member
|
D | device-mapper.h | 95 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,
|
D | cdrom.h | 104 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,
|
D | bio.h | 496 #define bio_set_dev(bio, bdev) \ argument 499 if ((bio)->bi_bdev != (bdev)) \ 501 (bio)->bi_bdev = (bdev); \
|
D | iomap.h | 88 struct block_device *bdev; /* block device for I/O */ member
|
D | swap.h | 271 struct block_device *bdev; /* swap device or bdev of swap file */ member
|
D | blk-cgroup.h | 206 struct block_device *bdev; member
|
/include/scsi/ |
D | scsicam.h | 16 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/ |
D | drm_gem_vram_helper.h | 184 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/ |
D | bcache.h | 439 __entry->dev = ca->bdev->bd_dev; 459 __entry->dev = ca->bdev->bd_dev; 479 __entry->dev = ca->bdev->bd_dev;
|