xen_blkif_ring
static int dispatch_other_io(struct xen_blkif_ring *ring,
static void xen_blk_drain_io(struct xen_blkif_ring *ring)
__do_block_io_op(struct xen_blkif_ring *ring, unsigned int *eoi_flags)
do_block_io_op(struct xen_blkif_ring *ring, unsigned int *eoi_flags)
static int dispatch_rw_block_io(struct xen_blkif_ring *ring,
static int do_block_io_op(struct xen_blkif_ring *ring, unsigned int *eoi_flags);
static int dispatch_rw_block_io(struct xen_blkif_ring *ring,
static void make_response(struct xen_blkif_ring *ring, u64 id,
static void make_response(struct xen_blkif_ring *ring, u64 id,
static int add_persistent_gnt(struct xen_blkif_ring *ring,
static struct persistent_gnt *get_persistent_gnt(struct xen_blkif_ring *ring,
static void put_persistent_gnt(struct xen_blkif_ring *ring,
static void free_persistent_gnts(struct xen_blkif_ring *ring)
struct xen_blkif_ring *ring = container_of(work, typeof(*ring), persistent_purge_work);
static void purge_persistent_gnt(struct xen_blkif_ring *ring)
static struct pending_req *alloc_req(struct xen_blkif_ring *ring)
static void free_req(struct xen_blkif_ring *ring, struct pending_req *req)
static void blkif_notify_work(struct xen_blkif_ring *ring)
static void print_stats(struct xen_blkif_ring *ring)
struct xen_blkif_ring *ring = arg;
void xen_blkbk_free_caches(struct xen_blkif_ring *ring)
struct xen_blkif_ring *ring,
struct xen_blkif_ring *ring = pending_req->ring;
struct xen_blkif_ring *ring = req->ring;
static void xen_blkbk_unmap(struct xen_blkif_ring *ring,
static int xen_blkbk_map(struct xen_blkif_ring *ring,
struct xen_blkif_ring *ring = pending_req->ring;
static int dispatch_discard_io(struct xen_blkif_ring *ring,
struct xen_blkif_ring *rings;
struct xen_blkif_ring *ring;
void xen_blkbk_free_caches(struct xen_blkif_ring *ring);
blkif->rings = kzalloc_objs(struct xen_blkif_ring, blkif->nr_rings);
struct xen_blkif_ring *ring = &blkif->rings[r];
static int xen_blkif_map(struct xen_blkif_ring *ring, grant_ref_t *gref,
struct xen_blkif_ring *ring = &blkif->rings[r];
struct xen_blkif_ring *ring = &blkif->rings[i]; \
struct xen_blkif_ring *ring;
static int read_per_ring_refs(struct xen_blkif_ring *ring, const char *dir)