Home
last modified time | relevance | path

Searched refs:tst_kvercmp (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c100 if ((tst_kvercmp(2, 6, 16)) < 0) in tcases_filter()
105 if ((tst_kvercmp(2, 6, 32)) < 0) in tcases_filter()
117 if ((tst_kvercmp(3, 9, 0)) > 0 && in tcases_filter()
122 if ((tst_kvercmp(4, 5, 0)) < 0) in tcases_filter()
126 if ((tst_kvercmp(4, 14, 0)) < 0) in tcases_filter()
/third_party/ltp/testcases/kernel/power_management/
Dpm_get_sched_values.c24 if (tst_kvercmp(2, 6, 29) < 0) in get_supp_sched_mc()
32 if (tst_kvercmp(2, 6, 29) < 0) in get_supp_sched_smt()
DMakefile27 MAKE_DEPS += $(APICMDS_DIR)/tst_kvercmp
/third_party/ltp/testcases/kernel/syscalls/mlockall/
Dmlockall02.c194 if (tst_kvercmp(2, 6, 9) >= 0) { in setup_test()
207 if (tst_kvercmp(2, 6, 9) >= 0) { in setup_test()
237 if (tst_kvercmp(2, 6, 9) >= 0) in cleanup_test()
/third_party/ltp/testcases/kernel/syscalls/mlock/
Dmlock02.c113 if ((tst_kvercmp(2, 6, 9)) < 0) { in test_enomem1()
132 if ((tst_kvercmp(2, 6, 9)) < 0) { in test_enomem2()
162 if ((tst_kvercmp(2, 6, 9)) < 0) { in test_eperm()
/third_party/ltp/testcases/kernel/syscalls/ioperm/
Dioperm02.c54 if ((tst_kvercmp(2, 6, 8) < 0) || (tst_kvercmp(2, 6, 9) == 0)) { in setup()
Dioperm01.c51 if (tst_kvercmp(2, 6, 8) < 0) in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen12.c93 if ((tst_kvercmp(2, 6, 30)) < 0) { in setup()
147 if ((tst_kvercmp(2, 6, 8)) < 0) { in test_noatime()
187 if ((tst_kvercmp(2, 6, 23)) < 0) { in test_cloexec()
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c153 if (tst_kvercmp(3, 7, 0) < 0) { in setup()
160 tkeys[i].good = tst_kvercmp(3, 15, 0) < 0; in setup()
162 tkeys[i].good = tst_kvercmp(4, 5, 0) < 0; in setup()
281 if (hier != 0 && tst_kvercmp(3, 15, 0) < 0) in mount_cgroup()
/third_party/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi.c60 int not_kver_3_7 = tst_kvercmp(3, 7, 0) < 0; in tc_acpi_str()
151 if (tst_kvercmp(2, 6, 0) < 0) { in main()
/third_party/ltp/testcases/kernel/security/umip/
Dumip_basic_test.c121 if ((tst_kvercmp(5, 4, 0)) >= 0) { in verify_umip_instruction()
137 if ((tst_kvercmp(5, 10, 0)) >= 0) { in verify_umip_instruction()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate04.c106 if (tst_kvercmp(2, 6, 38) < 0) { in test02()
129 if (tst_kvercmp(3, 1, 0) < 0) { in test02()
161 if (tst_kvercmp(3, 15, 0) < 0) { in test03()
/third_party/ltp/testcases/kernel/syscalls/finit_module/
Dfinit_module02.c47 if (tst_kvercmp(4, 6, 0) < 0) in bad_fd_setup()
55 if (tst_kvercmp(4, 6, 0) < 0) in dir_setup()
/third_party/ltp/lib/
Dtst_kvercmp.c101 int tst_kvercmp(int r1, int r2, int r3) in tst_kvercmp() function
190 return tst_kvercmp(r1, r2, r3); in tst_kvercmp2()
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c147 if ((tst_kvercmp(2, 6, 23)) < 0) { in testfunc_cloexec()
226 if ((tst_kvercmp(2, 6, 8)) < 0) { in testfunc_noatime()
/third_party/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c193 if ((tst_kvercmp(3, 5, 0)) >= 0) in setup0()
214 if ((tst_kvercmp(2, 6, 39)) >= 0) in setup1()
/third_party/ltp/testcases/kernel/containers/pidns/
Dpidns_helper.h28 if (tst_kvercmp(2, 6, 24) < 0) in check_newpid()
/third_party/ltp/testcases/kernel/containers/sysvipc/
Dipcns_helper.h33 if (tst_kvercmp(2, 6, 19) < 0) in check_newipc()
/third_party/ltp/include/
Dtst_kvercmp.h35 int tst_kvercmp(int r1, int r2, int r3);
/third_party/ltp/include/lapi/
Dinit_module.h29 if ((tst_kvercmp(3, 8, 0)) < 0) { in finit_module_supported_by_kernel()
Dopenat2.h67 if ((tst_kvercmp(5, 6, 0)) < 0) { in openat2_supported_by_kernel()
Dcommon_timers.h68 return tst_kvercmp(2, 6, 12) >= 0; in have_cputime_timers()
/third_party/ltp/testcases/open_posix_testsuite/
DMakefile.linux11 kver_cmp = $(shell $(top_srcdir)/scripts/tst_kvercmp.sh 2 6 22)
/third_party/ltp/testcases/kernel/containers/mqns/
Dmqns_helper.h39 if (tst_kvercmp(2, 6, 30) < 0) in check_mqns()
/third_party/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c200 if ((tst_kvercmp(3, 8, 0)) < 0) { in do_test()
206 if ((tst_kvercmp(5, 14, 0)) >= 0) in do_test()

12345