Lines Matching defs:data
101 * @data: buffer to send
106 static int xb_write(const void *data, unsigned int len)
126 /* Must write data /after/ reading the consumer index. */
135 memcpy(dst, data, avail);
136 data += avail;
140 /* Other side must not see new producer until data is there. */
158 static int xb_read(void *data, unsigned int len)
185 /* Must read data /after/ reading the producer index. */
188 memcpy(data, src, avail);
189 data += avail;
238 /* We raced with save/restore: pending data 'gone'. */