Home
last modified time | relevance | path

Searched refs:SAFE_SYSCONF (Results 1 – 8 of 8) sorted by relevance

/external/ltp/lib/
Dtst_cpu.c29 ncpus = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_ONLN); in tst_ncpus()
40 ncpus_conf = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_CONF); in tst_ncpus_conf()
/external/ltp/testcases/kernel/mem/thp/
Dthp03.c89 page_size = SAFE_SYSCONF(_SC_PAGESIZE); in setup()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c76 pgsz = SAFE_SYSCONF(_SC_PAGESIZE); in setup()
/external/ltp/testcases/kernel/syscalls/msync/
Dmsync04.c92 pagesize = (off_t)SAFE_SYSCONF(_SC_PAGESIZE); in setup()
/external/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c166 num = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_CONF); in setup()
/external/ltp/testcases/kernel/syscalls/adjtimex/
Dadjtimex02.c209 hz = SAFE_SYSCONF(NULL, _SC_CLK_TCK); in setup()
/external/ltp/include/old/
Dsafe_macros.h117 #define SAFE_SYSCONF(cleanup_fn, name) \ macro
/external/ltp/include/
Dtst_safe_macros.h170 #define SAFE_SYSCONF(name) \ macro