vdo_flush
struct vdo_flush *flush = NULL;
flush = vdo_allocate_memory_nowait(sizeof(struct vdo_flush), __func__);
int result = vdo_allocate(1, struct vdo_flush, __func__, &flush);
static void vdo_complete_flush(struct vdo_flush *flush);
struct vdo_flush *flush =
struct vdo_flush *flush = completion_as_vdo_flush(completion);
struct vdo_flush *flush =
static void initialize_flush(struct vdo_flush *flush, struct vdo *vdo)
static void launch_flush(struct vdo_flush *flush)
struct vdo_flush *flush = mempool_alloc(vdo->flusher->flush_pool, GFP_NOWAIT);
static void release_flush(struct vdo_flush *flush)
struct vdo_flush *flush = completion_as_vdo_flush(completion);
static void vdo_complete_flush(struct vdo_flush *flush)
static inline struct vdo_flush *completion_as_vdo_flush(struct vdo_completion *completion)
return container_of(completion, struct vdo_flush, completion);
static struct vdo_flush *vdo_waiter_as_flush(struct vdo_waiter *waiter)
return container_of(waiter, struct vdo_flush, waiter);