read_subbuf 971 kernel/relay.c size_t read_subbuf; read_subbuf 984 kernel/relay.c read_subbuf = buf->subbufs_consumed % n_subbufs; read_subbuf 986 kernel/relay.c read_subbuf = read_pos / buf->chan->subbuf_size; read_subbuf 987 kernel/relay.c if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { read_subbuf 988 kernel/relay.c if ((read_subbuf == buf->subbufs_produced % n_subbufs) && read_subbuf 1047 kernel/relay.c size_t read_subbuf, read_offset, write_subbuf, write_offset; read_subbuf 1052 kernel/relay.c read_subbuf = read_pos / subbuf_size; read_subbuf 1054 kernel/relay.c padding = buf->padding[read_subbuf]; read_subbuf 1056 kernel/relay.c if (read_subbuf == write_subbuf) { read_subbuf 1077 kernel/relay.c size_t read_subbuf, padding, padding_start, padding_end; read_subbuf 1084 kernel/relay.c read_subbuf = read_pos / subbuf_size; read_subbuf 1085 kernel/relay.c padding = buf->padding[read_subbuf]; read_subbuf 1086 kernel/relay.c padding_start = (read_subbuf + 1) * subbuf_size - padding; read_subbuf 1087 kernel/relay.c padding_end = (read_subbuf + 1) * subbuf_size; read_subbuf 1089 kernel/relay.c read_subbuf = (read_subbuf + 1) % n_subbufs; read_subbuf 1090 kernel/relay.c read_pos = read_subbuf * subbuf_size; read_subbuf 1106 kernel/relay.c size_t read_subbuf, padding, end_pos; read_subbuf 1110 kernel/relay.c read_subbuf = read_pos / subbuf_size; read_subbuf 1111 kernel/relay.c padding = buf->padding[read_subbuf]; read_subbuf 1113 kernel/relay.c end_pos = (read_subbuf + 1) * subbuf_size; read_subbuf 1211 kernel/relay.c size_t read_subbuf = read_start / subbuf_size; read_subbuf 1212 kernel/relay.c size_t padding = rbuf->padding[read_subbuf]; read_subbuf 1213 kernel/relay.c size_t nonpad_end = read_subbuf * subbuf_size + subbuf_size - padding;