Home
last modified time | relevance | path

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

/include/drm/ttm/
Dttm_bo_api.h199 struct ttm_bo_device *bdev; member
409 extern int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev);
416 extern void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev,
454 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
457 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
495 extern int ttm_bo_init(struct ttm_bo_device *bdev,
533 extern int ttm_bo_create(struct ttm_bo_device *bdev,
572 extern int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type,
601 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
622 extern int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
[all …]
Dttm_bo_driver.h112 struct ttm_bo_device *bdev; member
265 struct ttm_bo_device *bdev; member
330 struct ttm_tt *(*ttm_tt_create)(struct ttm_bo_device *bdev,
367 int (*invalidate_caches) (struct ttm_bo_device *bdev, uint32_t flags);
368 int (*init_mem_type) (struct ttm_bo_device *bdev, uint32_t type,
451 int (*io_mem_reserve)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
452 void (*io_mem_free)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
599 extern int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
602 extern int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev,
695 extern bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev,
[all …]
/include/scsi/
Dscsicam.h15 extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
18 extern unsigned char *scsi_bios_ptable(struct block_device *bdev);
/include/linux/
Dblktrace_api.h32 dev_t dev, struct block_device *bdev,
61 struct block_device *bdev,
71 # define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) argument
73 # define do_blk_trace_setup(q, name, dev, bdev, buts) (-ENOTTY) argument
75 # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) argument
Dblkdev.h803 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) in bdev_get_queue() argument
805 return bdev->bd_disk->queue; in bdev_get_queue()
934 extern int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev,
936 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev,
956 extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev);
1070 extern int blkdev_issue_discard(struct block_device *bdev, sector_t sector,
1072 extern int blkdev_issue_write_same(struct block_device *bdev, sector_t sector,
1074 extern int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
1144 static inline unsigned short bdev_logical_block_size(struct block_device *bdev) in bdev_logical_block_size() argument
1146 return queue_logical_block_size(bdev_get_queue(bdev)); in bdev_logical_block_size()
[all …]
Dbuffer_head.h168 void unmap_underlying_metadata(struct block_device *bdev, sector_t block);
173 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block,
175 struct buffer_head *__getblk(struct block_device *bdev, sector_t block,
192 void write_boundary_block(struct block_device *bdev,
306 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, in getblk_unmovable() argument
309 return __getblk(bdev, block, size); in getblk_unmovable()
Ddm-io.h18 struct block_device *bdev; member
Dgenhd.h424 extern void set_device_ro(struct block_device *bdev, int flag);
441 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect() argument
443 return bdev->bd_part->start_sect; in get_start_sect()
607 extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev);
608 extern int invalidate_partitions(struct gendisk *disk, struct block_device *bdev);
Dpktcdvd.h165 struct block_device *bdev; /* dev attached */ member
Dfs.h2087 extern struct block_device *bdgrab(struct block_device *bdev);
2093 extern int sync_blockdev(struct block_device *bdev);
2097 extern int thaw_bdev(struct block_device *bdev, struct super_block *sb);
2101 static inline int sync_blockdev(struct block_device *bdev) { return 0; } in sync_blockdev() argument
2102 static inline void kill_bdev(struct block_device *bdev) {} in kill_bdev() argument
2103 static inline void invalidate_bdev(struct block_device *bdev) {} in invalidate_bdev() argument
2110 static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb) in thaw_bdev() argument
2127 extern int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder);
2132 extern void blkdev_put(struct block_device *bdev, fmode_t mode);
2134 extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk);
[all …]
Dcdrom.h97 extern int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev,
100 extern int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev,
Dswap.h198 struct block_device *bdev; /* swap device or bdev of swap file */ member
Ddevice-mapper.h125 struct block_device *bdev; member
Djbd.h850 extern journal_t * journal_init_dev(struct block_device *bdev,
Djbd2.h1141 extern journal_t * jbd2_journal_init_dev(struct block_device *bdev,
Dlibata.h1070 struct block_device *bdev,