Home
last modified time | relevance | path

Searched refs:SAFE_SYSCONF (Results 1 – 11 of 11) 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/sched_getaffinity/
Dsched_getaffinity01.c87 ncpu = SAFE_SYSCONF(_SC_NPROCESSORS_CONF); in setup()
/external/ltp/testcases/kernel/syscalls/adjtimex/
Dadjtimex02.c96 hz = SAFE_SYSCONF(_SC_CLK_TCK); in setup()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c64 pgsz = SAFE_SYSCONF(_SC_PAGESIZE); in setup()
/external/ltp/testcases/kernel/syscalls/msync/
Dmsync04.c80 pagesize = (off_t)SAFE_SYSCONF(_SC_PAGESIZE); in setup()
/external/ltp/testcases/kernel/syscalls/clock_adjtime/
Dclock_adjtime01.c180 hz = SAFE_SYSCONF(_SC_CLK_TCK); in setup()
Dclock_adjtime02.c188 hz = SAFE_SYSCONF(_SC_CLK_TCK); in setup()
/external/ltp/testcases/kernel/syscalls/acct/
Dacct02.c218 clock_ticks = SAFE_SYSCONF(_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.h171 #define SAFE_SYSCONF(name) \ macro