Searched refs:out_pos (Results 1 – 1 of 1) sorted by relevance
25 __be32 out_pos; member39 uint32_t out_pos, avail; in memcons_copy() local44 out_pos = be32_to_cpu(READ_ONCE(mc->out_pos)); in memcons_copy()55 if (out_pos & MEMCONS_OUT_POS_WRAP) { in memcons_copy()57 out_pos &= MEMCONS_OUT_POS_MASK; in memcons_copy()58 avail = be32_to_cpu(mc->obuf_size) - out_pos; in memcons_copy()61 conbuf + out_pos, avail); in memcons_copy()76 if (out_pos > be32_to_cpu(mc->obuf_size)) { in memcons_copy()81 ret = memory_read_from_buffer(to, count, &pos, conbuf, out_pos); in memcons_copy()