Lines Matching refs:brd_device
36 struct brd_device { struct
55 static struct page *brd_lookup_page(struct brd_device *brd, sector_t sector) in brd_lookup_page() argument
86 static struct page *brd_insert_page(struct brd_device *brd, sector_t sector) in brd_insert_page()
134 static void brd_free_page(struct brd_device *brd, sector_t sector) in brd_free_page()
147 static void brd_zero_page(struct brd_device *brd, sector_t sector) in brd_zero_page()
161 static void brd_free_pages(struct brd_device *brd) in brd_free_pages()
196 static int copy_to_brd_setup(struct brd_device *brd, sector_t sector, size_t n) in copy_to_brd_setup()
212 static void discard_from_brd(struct brd_device *brd, in discard_from_brd()
233 static void copy_to_brd(struct brd_device *brd, const void *src, in copy_to_brd()
265 static void copy_from_brd(void *dst, struct brd_device *brd, in copy_from_brd()
299 static int brd_do_bvec(struct brd_device *brd, struct page *page, in brd_do_bvec()
329 struct brd_device *brd = bdev->bd_disk->private_data; in brd_make_request()
373 struct brd_device *brd = bdev->bd_disk->private_data; in brd_rw_page()
383 struct brd_device *brd = bdev->bd_disk->private_data; in brd_direct_access()
404 struct brd_device *brd = bdev->bd_disk->private_data; in brd_ioctl()
477 static struct brd_device *brd_alloc(int i) in brd_alloc()
479 struct brd_device *brd; in brd_alloc()
532 static void brd_free(struct brd_device *brd) in brd_free()
540 static struct brd_device *brd_init_one(int i, bool *new) in brd_init_one()
542 struct brd_device *brd; in brd_init_one()
560 static void brd_del_one(struct brd_device *brd) in brd_del_one()
569 struct brd_device *brd; in brd_probe()
586 struct brd_device *brd, *next; in brd_init()
641 struct brd_device *brd, *next; in brd_exit()