OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nctx
(Results
1 - 3
of
3
) sorted by relevancy
/src/tests/lib/libc/sys/
t_swapcontext.c
41
ucontext_t
nctx
;
variable
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
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/external/bsd/drm2/dist/drm/i915/gem/selftests/
i915_gem_context.c
43
const unsigned int
nctx
= 1024;
local
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);
Completed in 19 milliseconds
Indexes created Mon Feb 23 01:20:22 UTC 2026