Lines Matching defs:xen_blkif
272 struct xen_blkif { struct
274 domid_t domid;
275 unsigned int handle;
277 unsigned int irq;
279 enum blkif_protocol blk_protocol;
280 union blkif_back_rings blk_rings;
281 void *blk_ring;
283 struct xen_vbd vbd;
285 struct backend_info *be;
287 spinlock_t blk_ring_lock;
288 atomic_t refcnt;
290 wait_queue_head_t wq;
292 struct completion drain_complete;
293 atomic_t drain;
294 atomic_t inflight;
296 struct task_struct *xenblkd;
297 unsigned int waiting_reqs;
300 struct rb_root persistent_gnts;
301 unsigned int persistent_gnt_c;
302 atomic_t persistent_gnt_in_use;
303 unsigned long next_lru;
306 struct list_head persistent_purge_list;
307 struct work_struct persistent_purge_work;
310 spinlock_t free_pages_lock;
311 int free_pages_num;
312 struct list_head free_pages;
315 struct list_head pending_free;
317 spinlock_t pending_free_lock;
318 wait_queue_head_t pending_free_wq;
321 unsigned long st_print;
322 unsigned long long st_rd_req;
323 unsigned long long st_wr_req;
324 unsigned long long st_oo_req;
325 unsigned long long st_f_req;
326 unsigned long long st_ds_req;
327 unsigned long long st_rd_sect;
328 unsigned long long st_wr_sect;
330 struct work_struct free_work;
355 struct xen_blkif *blkif; argument