HomeSort by: relevance | last modified time | path
    Searched refs:nctx (Results 1 - 6 of 6) sorted by relevancy

  /src/tests/lib/libc/sys/
t_swapcontext.c 41 ucontext_t nctx; variable in typeref:typename:ucontext_t
64 ATF_REQUIRE(swapcontext(&nctx, &octx));
79 ATF_REQUIRE(getcontext(&nctx) == 0);
81 nctx.uc_stack.ss_sp = stack;
82 nctx.uc_stack.ss_size = sizeof(stack);
84 ATF_REQUIRE(nctx.uc_flags & _UC_TLSBASE);
86 nctx.uc_flags &= ~_UC_TLSBASE;
88 makecontext(&nctx, swapfunc, 0);
93 ATF_REQUIRE(swapcontext(&octx, &nctx) == 0);
  /src/tests/lib/libpthread/
t_swapcontext.c 46 ucontext_t nctx; variable in typeref:typename:ucontext_t
70 nctx.uc_stack.ss_sp = stack;
71 nctx.uc_stack.ss_size = sizeof(stack);
72 nctx.uc_link = &octx;
74 makecontext(&nctx, swapfunc, 0);
78 ATF_REQUIRE_MSG(swapcontext(&octx, &nctx) != -1, "swapcontext failed: %s",
100 ATF_REQUIRE_MSG(getcontext(&nctx) != -1, "getcontext failed: %s",
  /src/sys/arch/sparc/include/
pmap.h 254 void pmap_bootstrap(int nmmu, int nctx, int nregion);
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/
i915_gem_context.c 43 const unsigned int nctx = 1024; local in function:live_nop_switch
67 ctx = kcalloc(nctx, sizeof(*ctx), GFP_KERNEL);
73 for (n = 0; n < nctx; n++) {
87 for (n = 0; n < nctx; n++) {
103 pr_err("Failed to populated %d contexts\n", nctx);
114 nctx, engine->name, ktime_to_ns(times[1] - times[0]));
128 this = igt_request_alloc(ctx[n % nctx], engine);
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
selftest_lrc.c 2758 unsigned int nctx,
2770 GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ve));
2772 for (n = 0; n < nctx; n++) {
2776 nctx = n;
2783 nctx = n;
2796 for (nc = 0; nc < nctx; nc++) {
2814 for (nc = 0; nc < nctx; nc++) {
2831 for (nc = 0; nc < nctx; nc++) {
2852 for (nc = 0; nc < nctx; nc++)
    [all...]
  /src/sys/arch/sparc/sparc/
pmap.c 3024 * nctx is the number of contexts.
3027 pmap_bootstrap(int nctx, int nregion, int nsegment)
3062 pmap_bootstrap4_4c(p, nctx, nregion, nsegment);
3075 pmap_bootstrap4_4c(void *top, int nctx, int nregion, int nsegment)
3103 ncontext = nctx;
3173 p += nctx * sizeof *ci;
3337 for (i = 1; i < nctx; i++)
3360 for (i = 1; i < nctx; i++)
3409 for (i = 0; i < nctx; i++) {
3423 for (i = 0; i < nctx; i++)
    [all...]

Completed in 17 milliseconds