Searched refs:idx_mod (Results 1 – 2 of 2) sorted by relevance
29 static uint32_t idx_mod(struct sys_winstream *ws, uint32_t idx) in idx_mod() function37 return idx_mod(ws, a + (ws->len - b)); in idx_sub()63 ws->start = idx_mod(ws, start + (len - avail)); in sys_winstream_write()80 ws->end = idx_mod(ws, end + len); in sys_winstream_write()
699 def idx_mod(wlen, idx): function705 return idx_mod(wlen, a + (wlen - b))726 hdr.START = idx_mod(wlen, start + (lenmsg - avail))737 hdr.END = idx_mod(wlen, end + lenmsg)