Searched refs:tsz (Results 1 – 2 of 2) sorted by relevance
166 ssize_t tsz, avail; in read_opalcore() local182 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()[all …]
22 static inline unsigned int sizes(unsigned int tsz) in sizes() argument24 return 1 << (tsz + TOPA_SHIFT); in sizes()