Lines Matching defs:pos1
242 nsc_copy(nsc_buf_t *h1, nsc_buf_t *h2, nsc_off_t pos1,
260 rc = (*io1->copy)(h1, h2, pos1, pos2, len);
266 return (_nsc_copy_h(h1, h2, pos1, pos2, len));
271 _nsc_copy_h(nsc_buf_t *h1, nsc_buf_t *h2, nsc_off_t pos1,
278 if (pos1 < h1->sb_pos || pos1 + len > h1->sb_pos + h1->sb_len ||
288 pos1 -= h1->sb_pos;
290 for (; pos1 >= FBA_NUM(v1->sv_len); v1++)
291 pos1 -= FBA_NUM(v1->sv_len);
293 a1 = v1->sv_addr + FBA_SIZE(pos1);
294 l1 = v1->sv_len - FBA_SIZE(pos1);
333 nsc_copy_direct(nsc_buf_t *h1, nsc_buf_t *h2, nsc_off_t pos1,
359 rc = (*h1->sb_fd->sf_aio->copy_direct)(h1, h2, pos1, pos2, len);
368 rc = nsc_copy(h1, h2, pos1, pos2, len);