OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nrcpus
(Results
1 - 2
of
2
) sorted by null
/external/ltp/testcases/kernel/syscalls/sched_getaffinity/
sched_getaffinity01.c
95
int
nrcpus
= 1024;
local
101
mask = CPU_ALLOC(
nrcpus
);
108
len = CPU_ALLOC_SIZE(
nrcpus
);
119
if (errno == EINVAL &&
nrcpus
< (1024 << 8)) {
120
nrcpus
=
nrcpus
<< 2;
/external/ltp/testcases/kernel/syscalls/getcpu/
getcpu01.c
193
int
nrcpus
= 1024;
local
196
set = CPU_ALLOC(
nrcpus
);
204
size = CPU_ALLOC_SIZE(
nrcpus
);
213
if (errno == EINVAL &&
nrcpus
< (1024 << 8)) {
214
nrcpus
=
nrcpus
<< 2;
Completed in 75 milliseconds