/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise02.c | 100 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/ |
D | pm_get_sched_values.c | 24 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()
|
D | Makefile | 27 MAKE_DEPS += $(APICMDS_DIR)/tst_kvercmp
|
/third_party/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall02.c | 194 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/ |
D | mlock02.c | 113 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/ |
D | ioperm02.c | 54 if ((tst_kvercmp(2, 6, 8) < 0) || (tst_kvercmp(2, 6, 9) == 0)) { in setup()
|
D | ioperm01.c | 51 if (tst_kvercmp(2, 6, 8) < 0) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 93 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/ |
D | cgroup_xattr.c | 153 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/ |
D | ltp_acpi.c | 60 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/ |
D | umip_basic_test.c | 121 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/ |
D | fallocate04.c | 106 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/ |
D | finit_module02.c | 47 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/ |
D | tst_kvercmp.c | 101 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/ |
D | openat02.c | 147 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/ |
D | sockioctl01.c | 193 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/ |
D | pidns_helper.h | 28 if (tst_kvercmp(2, 6, 24) < 0) in check_newpid()
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | ipcns_helper.h | 33 if (tst_kvercmp(2, 6, 19) < 0) in check_newipc()
|
/third_party/ltp/include/ |
D | tst_kvercmp.h | 35 int tst_kvercmp(int r1, int r2, int r3);
|
/third_party/ltp/include/lapi/ |
D | init_module.h | 29 if ((tst_kvercmp(3, 8, 0)) < 0) { in finit_module_supported_by_kernel()
|
D | openat2.h | 67 if ((tst_kvercmp(5, 6, 0)) < 0) { in openat2_supported_by_kernel()
|
D | common_timers.h | 68 return tst_kvercmp(2, 6, 12) >= 0; in have_cputime_timers()
|
/third_party/ltp/testcases/open_posix_testsuite/ |
D | Makefile.linux | 11 kver_cmp = $(shell $(top_srcdir)/scripts/tst_kvercmp.sh 2 6 22)
|
/third_party/ltp/testcases/kernel/containers/mqns/ |
D | mqns_helper.h | 39 if (tst_kvercmp(2, 6, 30) < 0) in check_mqns()
|
/third_party/ltp/testcases/kernel/syscalls/mbind/ |
D | mbind01.c | 200 if ((tst_kvercmp(3, 8, 0)) < 0) { in do_test() 206 if ((tst_kvercmp(5, 14, 0)) >= 0) in do_test()
|