Searched refs:bdev (Results 1 – 8 of 8) 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 | 2030 extern struct block_device *bdgrab(struct block_device *bdev); 2035 extern int sync_blockdev(struct block_device *bdev); 2038 extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); 2042 static inline int sync_blockdev(struct block_device *bdev) { return 0; } in sync_blockdev() argument 2043 static inline void invalidate_bdev(struct block_device *bdev) {} in invalidate_bdev() argument 2050 static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb) in thaw_bdev() argument 2064 extern int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder); 2069 extern int blkdev_put(struct block_device *bdev, fmode_t mode); 2071 extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk); 2072 extern void bd_unlink_disk_holder(struct block_device *bdev, [all …]
|
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,
|
/external/libsepol/tests/policies/test-cond/ |
D | refpolicy-base.conf | 1695 genfscon bdev / system_u:object_r:bdev_t:s0
|