Lines Matching defs:blkif
116 static inline int get_free_page(struct xen_blkif *blkif, struct page **page) in get_free_page()
135 static inline void put_free_pages(struct xen_blkif *blkif, struct page **page, in put_free_pages()
148 static inline void shrink_free_pagepool(struct xen_blkif *blkif, int num) in shrink_free_pagepool()
201 static int add_persistent_gnt(struct xen_blkif *blkif, in add_persistent_gnt()
238 static struct persistent_gnt *get_persistent_gnt(struct xen_blkif *blkif, in get_persistent_gnt()
265 static void put_persistent_gnt(struct xen_blkif *blkif, in put_persistent_gnt()
275 static void free_persistent_gnts(struct xen_blkif *blkif, struct rb_root *root, in free_persistent_gnts()
323 struct xen_blkif *blkif = container_of(work, typeof(*blkif), persistent_purge_work); in xen_blkbk_unmap_purged_grants() local
358 static void purge_persistent_gnt(struct xen_blkif *blkif) in purge_persistent_gnt()
450 static struct pending_req *alloc_req(struct xen_blkif *blkif) in alloc_req()
469 static void free_req(struct xen_blkif *blkif, struct pending_req *req) in free_req()
485 static int xen_vbd_translate(struct phys_req *req, struct xen_blkif *blkif, in xen_vbd_translate()
511 static void xen_vbd_resize(struct xen_blkif *blkif) in xen_vbd_resize()
559 static void blkif_notify_work(struct xen_blkif *blkif) in blkif_notify_work()
575 static void print_stats(struct xen_blkif *blkif) in print_stats()
593 struct xen_blkif *blkif = arg; in xen_blkif_schedule() local
661 void xen_blkbk_free_caches(struct xen_blkif *blkif) in xen_blkbk_free_caches()
676 struct xen_blkif *blkif, in xen_blkbk_unmap_prepare()
704 struct xen_blkif *blkif = pending_req->blkif; in xen_blkbk_unmap_and_respond_callback() local
735 struct xen_blkif *blkif = req->blkif; in xen_blkbk_unmap_and_respond() local
760 static void xen_blkbk_unmap(struct xen_blkif *blkif, in xen_blkbk_unmap()
784 static int xen_blkbk_map(struct xen_blkif *blkif, in xen_blkbk_map()
937 struct xen_blkif *blkif = pending_req->blkif; in xen_blkbk_parse_indirect() local
984 static int dispatch_discard_io(struct xen_blkif *blkif, in dispatch_discard_io()
1026 static int dispatch_other_io(struct xen_blkif *blkif, in dispatch_other_io()
1036 static void xen_blk_drain_io(struct xen_blkif *blkif) in xen_blk_drain_io()
1100 __do_block_io_op(struct xen_blkif *blkif) in __do_block_io_op()
1181 do_block_io_op(struct xen_blkif *blkif) in do_block_io_op()
1200 static int dispatch_rw_block_io(struct xen_blkif *blkif, in dispatch_rw_block_io()
1410 static void make_response(struct xen_blkif *blkif, u64 id, in make_response()