HomeSort by relevance Sort by last modified time
    Searched refs:nrcpus (Results 1 - 3 of 3) sorted by null

  /external/ltp/testcases/kernel/syscalls/getcpu/
getcpu01.c 52 int nrcpus = 1024; local
55 set = CPU_ALLOC(nrcpus);
59 size = CPU_ALLOC_SIZE(nrcpus);
63 if (errno == EINVAL && nrcpus < (1024 << 8)) {
64 nrcpus = nrcpus << 2;
  /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/blktrace/btreplay/
btreplay.c 506 int nrcpus = 4096;
510 cpus = CPU_ALLOC(nrcpus);
511 size = CPU_ALLOC_SIZE(nrcpus);
515 if( errno == EINVAL && nrcpus < (4096<<4) ) {
517 nrcpus <<= 1;
    [all...]

Completed in 136 milliseconds