Searched refs:logical_offset (Results 1 – 3 of 3) sorted by relevance
85 if (logical_offset < r->ctail_offset in ring_buf_write_at()86 || safe_add_u64(logical_offset, buf_len, &err) in ring_buf_write_at()94 idx = logical_offset % r->alloc; in ring_buf_write_at()100 if (r->head_offset < logical_offset + l) in ring_buf_write_at()101 r->head_offset = logical_offset + l; in ring_buf_write_at()103 logical_offset += l; in ring_buf_write_at()153 if (logical_offset >= r->head_offset || logical_offset < r->ctail_offset) in ring_buf_get_ptr()155 idx = logical_offset % r->alloc; in ring_buf_get_ptr()180 if (logical_offset > r->head_offset || logical_offset < r->ctail_offset) in ring_buf_get_buf_at()189 idx = logical_offset % r->alloc; in ring_buf_get_buf_at()[all …]
133 typedef int (sframe_list_write_at_cb)(uint64_t logical_offset,
263 static int write_at_ring_buf_cb(uint64_t logical_offset, in write_at_ring_buf_cb() argument270 return ring_buf_write_at(rbuf, logical_offset, buf, buf_len); in write_at_ring_buf_cb()
Completed in 6 milliseconds