Lines Matching refs:count
24 size_t count; member
33 debug("thread %d: [%" PRIu64 ", %" PRIu64 ")", p->id, p->offset, p->offset + p->count); in __process()
35 p->rc = p->func(p->f, p->buf, p->count, p->offset, &p->errors); in __process()
40 ssize_t process(fec_handle* f, uint8_t* buf, size_t count, uint64_t offset, read_func func) { in process() argument
45 if (count == 0) { in process()
58 size_t blocks = fec_div_round_up(offset + count - start, FEC_BLOCKSIZE); in process()
66 size_t left = count; in process()
71 count_per_thread, count, blocks); in process()
82 info[i].count = (size_t)(end - pos); in process()
88 if (info[i].count > left) { in process()
89 info[i].count = left; in process()
96 left -= info[i].count; in process()