Lines Matching defs:memory
39 uint8_t *memory;
51 return r->memory + r->readindex;
69 return r->memory + r->writeindex;
165 /* This is the memory layout of the ringbuffer shm block. It is followed by
166 read and write ringbuffer memory. */
238 sr->rb_read.memory = (uint8_t*) srh + PA_ALIGN(sizeof(*srh));
239 srh->readbuf_offset = sr->rb_read.memory - (uint8_t*) srh;
243 sr->rb_write.memory = PA_ALIGN_PTR(sr->rb_read.memory + capacity);
244 srh->writebuf_offset = sr->rb_write.memory - (uint8_t*) srh;
305 sr->rb_read.memory = (uint8_t*) srh + srh->readbuf_offset;
306 sr->rb_write.memory = (uint8_t*) srh + srh->writebuf_offset;