Searched defs:pos1 (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dbitmap.c111 * Search starts at position pos1.
114 * Returns indices to the first bit (pos1)
118 bt_range(ulong_t *bitmap, size_t *pos1, size_t *pos2, size_t end_pos) argument
122 for (pos = *pos1; pos < end_pos; pos++)
129 *pos1 = pos;
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_cache.c242 nsc_copy(nsc_buf_t *h1, nsc_buf_t *h2, nsc_off_t pos1, argument
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, argument
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);
333 nsc_copy_direct(nsc_buf_t *h1, nsc_buf_t *h2, nsc_off_t pos1, nsc_off_t pos2, nsc_size_t len) argument
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dgzipfs.c332 off_t pos1, pos2; local
339 pos1 = lseek(zf->zf_rawfd, 0, SEEK_CUR);
349 pos1 = lseek(zf->zf_rawfd, pos1, SEEK_SET);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c2174 size_t pos1 = position; local
2179 while (bt_range(bitmap, &pos1, &pos2, end_pos)) {
2180 size = ptob((pos2 - pos1));
2182 ptob(pos1 - position));
2186 pos1 = pos2;
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c7645 _ii_nsc_or(nsc_buf_t *h1, nsc_buf_t *h2, nsc_off_t pos1, nsc_off_t pos2, argument
7653 if (pos1 < h1->sb_pos || pos1 + len > h1->sb_pos + h1->sb_len ||
7663 pos1 -= h1->sb_pos;
7665 for (; pos1 >= FBA_NUM(v1->sv_len); v1++)
7666 pos1 -= FBA_NUM(v1->sv_len);
7668 a1 = v1->sv_addr + FBA_SIZE(pos1);
7669 l1 = v1->sv_len - FBA_SIZE(pos1);

Completed in 103 milliseconds