Home
last modified time | relevance | path

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

/include/linux/
Dpr.h7 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
9 int (*pr_reserve)(struct block_device *bdev, u64 key,
11 int (*pr_release)(struct block_device *bdev, u64 key,
13 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
15 int (*pr_clear)(struct block_device *bdev, u64 key);
Dblktrace_api.h34 dev_t dev, struct block_device *bdev,
67 struct block_device *bdev,
77 # define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) argument
79 # define do_blk_trace_setup(q, name, dev, bdev, buts) (-ENOTTY) argument
81 # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) argument
Dblkdev.h833 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) in bdev_get_queue() argument
835 return bdev->bd_disk->queue; /* this is never NULL */ in bdev_get_queue()
1008 extern int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev,
1010 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev,
1030 extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev);
1145 extern int blkdev_issue_discard(struct block_device *bdev, sector_t sector,
1147 extern int blkdev_issue_write_same(struct block_device *bdev, sector_t sector,
1149 extern int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
1229 static inline unsigned int bdev_logical_block_size(struct block_device *bdev) in bdev_logical_block_size() argument
1231 return queue_logical_block_size(bdev_get_queue(bdev)); in bdev_logical_block_size()
[all …]
Dbuffer_head.h171 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,
357 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, in getblk_unmovable() argument
361 return __getblk_gfp(bdev, block, size, 0); in getblk_unmovable()
364 static inline struct buffer_head *__getblk(struct block_device *bdev, in __getblk() argument
368 return __getblk_gfp(bdev, block, size, __GFP_MOVABLE); in __getblk()
382 __bread(struct block_device *bdev, sector_t block, unsigned size) in __bread() argument
384 return __bread_gfp(bdev, block, size, __GFP_MOVABLE); in __bread()
Dcmdline-parser.h38 const char *bdev);
Ddm-io.h18 struct block_device *bdev; member
Dgenhd.h437 extern void set_device_ro(struct block_device *bdev, int flag);
454 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect() argument
456 return bdev->bd_part->start_sect; in get_start_sect()
620 extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev);
621 extern int invalidate_partitions(struct gendisk *disk, struct block_device *bdev);
Dfs.h2354 extern struct block_device *bdgrab(struct block_device *bdev);
2360 extern int sync_blockdev(struct block_device *bdev);
2364 extern int thaw_bdev(struct block_device *bdev, struct super_block *sb);
2375 static inline int sync_blockdev(struct block_device *bdev) { return 0; } in sync_blockdev() argument
2376 static inline void kill_bdev(struct block_device *bdev) {} in kill_bdev() argument
2377 static inline void invalidate_bdev(struct block_device *bdev) {} in invalidate_bdev() argument
2384 static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb) in thaw_bdev() argument
2405 extern int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder);
2410 extern void blkdev_put(struct block_device *bdev, fmode_t mode);
2411 extern int __blkdev_reread_part(struct block_device *bdev);
[all …]
Dpktcdvd.h165 struct block_device *bdev; /* dev attached */ member
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,
Ddevice-mapper.h83 struct block_device **bdev, fmode_t *mode);
122 struct block_device *bdev; member
Dswap.h226 struct block_device *bdev; /* swap device or bdev of swap file */ member
Djbd2.h1248 extern journal_t * jbd2_journal_init_dev(struct block_device *bdev,
Dlibata.h1210 struct block_device *bdev,
/include/drm/ttm/
Dttm_bo_api.h201 struct ttm_bo_device *bdev; member
408 extern int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev);
415 extern void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev,
453 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
456 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,
558 extern int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type,
587 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
608 extern int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
[all …]
Dttm_bo_driver.h115 struct ttm_bo_device *bdev; member
271 struct ttm_bo_device *bdev; member
331 struct ttm_tt *(*ttm_tt_create)(struct ttm_bo_device *bdev,
368 int (*invalidate_caches) (struct ttm_bo_device *bdev, uint32_t flags);
369 int (*init_mem_type) (struct ttm_bo_device *bdev, uint32_t type,
435 int (*io_mem_reserve)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
436 void (*io_mem_free)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
579 extern int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
582 extern int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev,
672 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/trace/events/
Dbcache.h416 __entry->dev = ca->bdev->bd_dev;
436 __entry->dev = ca->bdev->bd_dev;
456 __entry->dev = ca->bdev->bd_dev;