Lines Matching refs:uoff
661 int uoff = 0; /* offset of `buf` */ in tcprb_pwrite() local
665 while (uoff < len) { in tcprb_pwrite()
679 if (f->head <= off + uoff) { in tcprb_pwrite()
680 if (f->tail > off + uoff) { in tcprb_pwrite()
682 wrlen = f->tail - (off + uoff); in tcprb_pwrite()
684 } else if (f->tail == off + uoff) { in tcprb_pwrite()
689 ef && ef->empty && ef->head < f->tail + len - uoff; in tcprb_pwrite()
693 if (ef->tail <= f->tail + len - uoff) { in tcprb_pwrite()
696 ef->head = f->tail + len - uoff; in tcprb_pwrite()
703 wrlen = fnext ? MIN(fnext->head - (off + uoff), len - uoff) in tcprb_pwrite()
704 : len - uoff; in tcprb_pwrite()
716 wrlen = MIN(f->head - (off + uoff), len - uoff); in tcprb_pwrite()
760 buf_write(rb, &buf[uoff], wrlen, off + uoff); in tcprb_pwrite()
761 uoff += wrlen; in tcprb_pwrite()