Searched refs:bdev (Results 1 – 7 of 7) sorted by relevance
/external/kernel-headers/original/linux/ |
D | genhd.h | 230 extern void set_device_ro(struct block_device *bdev, int flag); 237 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect() argument 239 return bdev->bd_contains == bdev ? 0 : bdev->bd_part->start_sect; in get_start_sect() 399 extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev);
|
D | blkdev.h | 625 static inline request_queue_t *bdev_get_queue(struct block_device *bdev) in bdev_get_queue() argument 627 return bdev->bd_disk->queue; in bdev_get_queue() 716 extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev); 772 static inline int bdev_hardsect_size(struct block_device *bdev) in bdev_hardsect_size() argument 774 return queue_hardsect_size(bdev_get_queue(bdev)); in bdev_hardsect_size() 787 static inline int bdev_dma_aligment(struct block_device *bdev) in bdev_dma_aligment() argument 789 return queue_dma_alignment(bdev_get_queue(bdev)); in bdev_dma_aligment() 806 static inline unsigned int block_size(struct block_device *bdev) in block_size() argument 808 return bdev->bd_block_size; in block_size()
|
D | fs.h | 1467 #define bd_claim_by_disk(bdev, holder, disk) bd_claim(bdev, holder) argument 1468 #define bd_release_from_disk(bdev, disk) bd_release(bdev) argument 1486 extern const char *bdevname(struct block_device *bdev, char *buffer); 1716 struct block_device *bdev, const struct iovec *iov, loff_t offset, 1727 struct inode *inode, struct block_device *bdev, const struct iovec *iov, in blockdev_direct_IO() argument 1731 return __blockdev_direct_IO(rw, iocb, inode, bdev, iov, offset, in blockdev_direct_IO() 1736 struct inode *inode, struct block_device *bdev, const struct iovec *iov, in blockdev_direct_IO_no_locking() argument 1740 return __blockdev_direct_IO(rw, iocb, inode, bdev, iov, offset, in blockdev_direct_IO_no_locking() 1745 struct inode *inode, struct block_device *bdev, const struct iovec *iov, in blockdev_direct_IO_own_locking() argument 1749 return __blockdev_direct_IO(rw, iocb, inode, bdev, iov, offset, in blockdev_direct_IO_own_locking()
|
D | swap.h | 134 struct block_device *bdev; member
|
D | jbd.h | 915 extern journal_t * journal_init_dev(struct block_device *bdev,
|
/external/kernel-headers/original/linux/raid/ |
D | md_k.h | 57 struct block_device *bdev; /* block device handle */ member 253 static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sectors) in md_sync_acct() argument 255 atomic_add(nr_sectors, &bdev->bd_contains->bd_disk->sync_io); in md_sync_acct()
|
D | md.h | 91 extern int sync_page_io(struct block_device *bdev, sector_t sector, int size,
|