Lines Matching refs:vdo_flush
84 static inline struct vdo_flush *completion_as_vdo_flush(struct vdo_completion *completion) in completion_as_vdo_flush()
87 return container_of(completion, struct vdo_flush, completion); in completion_as_vdo_flush()
96 static struct vdo_flush *vdo_waiter_as_flush(struct vdo_waiter *waiter) in vdo_waiter_as_flush()
98 return container_of(waiter, struct vdo_flush, waiter); in vdo_waiter_as_flush()
103 struct vdo_flush *flush = NULL; in allocate_flush()
106 flush = vdo_allocate_memory_nowait(sizeof(struct vdo_flush), __func__); in allocate_flush()
108 int result = vdo_allocate(1, struct vdo_flush, __func__, &flush); in allocate_flush()
182 static void vdo_complete_flush(struct vdo_flush *flush);
251 struct vdo_flush *flush = in notify_flush()
269 struct vdo_flush *flush = completion_as_vdo_flush(completion); in flush_vdo()
327 struct vdo_flush *flush = in vdo_complete_flushes()
369 static void initialize_flush(struct vdo_flush *flush, struct vdo *vdo) in initialize_flush()
375 static void launch_flush(struct vdo_flush *flush) in launch_flush()
398 struct vdo_flush *flush = mempool_alloc(vdo->flusher->flush_pool, GFP_NOWAIT); in vdo_launch_flush()
431 static void release_flush(struct vdo_flush *flush) in release_flush()
462 struct vdo_flush *flush = completion_as_vdo_flush(completion); in vdo_complete_flush_callback()
515 static void vdo_complete_flush(struct vdo_flush *flush) in vdo_complete_flush()