Lines Matching defs:out_pos
25 __be32 out_pos;
39 uint32_t out_pos, avail;
44 out_pos = be32_to_cpu(READ_ONCE(mc->out_pos));
46 /* Now we've read out_pos, put a barrier in before reading the new
52 /* When the buffer has wrapped, read from the out_pos marker to the end
55 if (out_pos & MEMCONS_OUT_POS_WRAP) {
57 out_pos &= MEMCONS_OUT_POS_MASK;
58 avail = be32_to_cpu(mc->obuf_size) - out_pos;
61 conbuf + out_pos, avail);
76 if (out_pos > be32_to_cpu(mc->obuf_size)) {
81 ret = memory_read_from_buffer(to, count, &pos, conbuf, out_pos);