Lines Matching refs:tsz
166 ssize_t tsz, avail; in read_opalcore() local
182 tsz = min_t(size_t, oc_conf->opalcorebuf_sz - tpos, count); in read_opalcore()
183 memcpy(to, oc_conf->opalcorebuf + tpos, tsz); in read_opalcore()
184 to += tsz; in read_opalcore()
185 tpos += tsz; in read_opalcore()
186 count -= tsz; in read_opalcore()
197 tsz = min_t(size_t, m->offset + m->size - tpos, count); in read_opalcore()
199 memcpy(to, __va(addr), tsz); in read_opalcore()
200 to += tsz; in read_opalcore()
201 tpos += tsz; in read_opalcore()
202 count -= tsz; in read_opalcore()