Home
last modified time | relevance | path

Searched refs:s_idx (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/test/os-tests/tests/ksid/
H A Dksid.c211 uint32_t s_idx = arc4random_uniform(i); in main() local
214 if (!run_test(ksl, s_idx, i, iters, B_FALSE)) { in main()
218 ksl->ksl_sids[s_idx].ks_id, in main()
219 ksl->ksl_sids[s_idx].ks_rid, in main()
220 ksid_getdomain(&ksl->ksl_sids[s_idx])); in main()
223 if (!run_test(ksl, s_idx, i, iters, B_TRUE)) { in main()
227 ksl->ksl_sorted[s_idx]->ks_id, in main()
228 ksl->ksl_sorted[s_idx]->ks_rid, in main()
229 ksid_getdomain(ksl->ksl_sorted[s_idx])); in main()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_anon.c514 anon_copy_ptr(struct anon_hdr *sahp, ulong_t s_idx, struct anon_hdr *dahp, in anon_copy_ptr() argument
521 ASSERT((s_idx < sahp->size) && (d_idx < dahp->size)); in anon_copy_ptr()
532 bcopy(&sahp->array_chunk[s_idx], &dahp->array_chunk[d_idx], in anon_copy_ptr()
551 sapidx = s_idx & ANON_CHUNK_OFF; in anon_copy_ptr()
557 sapp = &sahp->array_chunk[s_idx >> ANON_CHUNK_SHIFT]; in anon_copy_ptr()
570 s_idx += chknp; in anon_copy_ptr()
581 if ((ap = anon_get_ptr(sahp, s_idx)) != NULL) { in anon_copy_ptr()
582 ASSERT(!ANON_ISBUSY(anon_get_slot(sahp, s_idx))); in anon_copy_ptr()
586 s_idx++; in anon_copy_ptr()