/include/linux/ |
H A D | dm-io.h | 18 struct block_device *bdev; member in struct:dm_io_region
|
H A D | buffer_head.h | 171 void unmap_underlying_metadata(struct block_device *bdev, sector_t block); 176 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block, 178 struct buffer_head *__getblk_gfp(struct block_device *bdev, sector_t block, 196 void write_boundary_block(struct block_device *bdev, 354 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, argument 358 return __getblk_gfp(bdev, block, size, 0); 361 static inline struct buffer_head *__getblk(struct block_device *bdev, argument 365 return __getblk_gfp(bdev, block, size, __GFP_MOVABLE); 370 * @bdev: the block_device to read from 379 __bread(struct block_device *bdev, sector_ argument [all...] |
H A D | pktcdvd.h | 165 struct block_device *bdev; /* dev attached */ member in struct:pktcdvd_device
|
H A D | device-mapper.h | 119 struct block_device *bdev; member in struct:dm_dev
|
H A D | swap.h | 234 struct block_device *bdev; /* swap device or bdev of swap file */ member in struct:swap_info_struct
|
H A D | genhd.h | 181 * Protected with matching bdev lock but stat and other 424 extern void set_device_ro(struct block_device *bdev, int flag); 441 static inline sector_t get_start_sect(struct block_device *bdev) argument 443 return bdev->bd_part->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); 668 * bd_mutex or gendisk bdev bd_mutex, should be done using this
|
H A D | blkdev.h | 860 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) argument 862 return bdev->bd_disk->queue; /* this is never NULL */ 1022 extern int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, 1024 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, 1044 extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev); 1161 extern int blkdev_issue_discard(struct block_device *bdev, sector_t sector, 1163 extern int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, 1165 extern int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, 1235 static inline unsigned short bdev_logical_block_size(struct block_device *bdev) argument 1237 return queue_logical_block_size(bdev_get_queue(bdev)); 1245 bdev_physical_block_size(struct block_device *bdev) argument 1255 bdev_io_min(struct block_device *bdev) argument 1265 bdev_io_opt(struct block_device *bdev) argument 1286 bdev_alignment_offset(struct block_device *bdev) argument 1330 bdev_discard_alignment(struct block_device *bdev) argument 1348 bdev_discard_zeroes_data(struct block_device *bdev) argument 1353 bdev_write_same(struct block_device *bdev) argument 1386 block_size(struct block_device *bdev) argument 1504 bdev_get_integrity(struct block_device *bdev) argument 1664 blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, sector_t *error_sector) argument [all...] |
H A D | fs.h | 2111 extern struct block_device *bdgrab(struct block_device *bdev); 2117 extern int sync_blockdev(struct block_device *bdev); 2121 extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); 2126 static inline int sync_blockdev(struct block_device *bdev) { return 0; } argument 2127 static inline void kill_bdev(struct block_device *bdev) {} argument 2128 static inline void invalidate_bdev(struct block_device *bdev) {} argument 2135 static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb) argument 2157 extern int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder); 2162 extern void blkdev_put(struct block_device *bdev, fmode_t mode); 2164 extern int bd_link_disk_holder(struct block_device *bdev, struc 2168 bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) argument 2173 bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) argument [all...] |
/include/drm/ttm/ |
H A D | ttm_bo_api.h | 154 * @bdev: Pointer to the buffer object device structure. 201 struct ttm_bo_device *bdev; member in struct:ttm_buffer_object 230 * Members protected by the bdev::lru_lock. 394 extern int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev); 401 extern void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, 433 * @bdev: Pointer to a ttm_bo_device struct. 439 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev, 442 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev, 449 * @bdev: Pointer to a ttm_bo_device struct. 481 extern int ttm_bo_init(struct ttm_bo_device *bdev, [all...] |
H A D | ttm_bo_driver.h | 96 * @bdev: Pointer to a struct ttm_bo_device. 103 * @bdev: Pointer to the current struct ttm_bo_device. 115 struct ttm_bo_device *bdev; member in struct:ttm_tt 260 * @io_reserve_fastpath: Only use bdev::driver::io_mem_reserve to obtain 261 * static information. bdev::driver::io_mem_free is never used. 271 struct ttm_bo_device *bdev; member in struct:ttm_mem_type_manager 321 * @bdev: pointer to a struct ttm_bo_device: 331 struct ttm_tt *(*ttm_tt_create)(struct ttm_bo_device *bdev, 359 * @bdev: the buffer object device. 368 int (*invalidate_caches) (struct ttm_bo_device *bdev, uint32_ [all...] |