Home
last modified time | relevance | path

Searched refs:current_write_offset (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/misc/mic/scif/
Dscif_rb.c44 rb->current_write_offset = *write_ptr; in scif_rb_init()
98 return scif_rb_ring_space(rb->current_write_offset, in scif_rb_space()
117 header = rb->rb_base + rb->current_write_offset; in scif_rb_write()
123 rb->current_write_offset = in scif_rb_write()
124 (rb->current_write_offset + size) & (rb->size - 1); in scif_rb_write()
141 WRITE_ONCE(*rb->write_ptr, rb->current_write_offset); in scif_rb_commit()
150 WRITE_ONCE(*rb->write_ptr, rb->current_write_offset); in scif_rb_commit()
235 if (scif_rb_ring_cnt(rb->current_write_offset, in scif_rb_count()
238 rb->current_write_offset = *rb->write_ptr; in scif_rb_count()
246 return scif_rb_ring_cnt(rb->current_write_offset, in scif_rb_count()
Dscif_rb.h79 u32 current_write_offset; member
Dscif_nm.c84 qp->inbound_q.current_write_offset = 0; in scif_cleanup_qp()