Home
last modified time | relevance | path

Searched refs:kver (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/lib/
Dtst_kvercmp.c131 const char *tst_kvcmp_distname(const char *kver) in tst_kvcmp_distname() argument
137 if (strstr(kver, ".el5uek")) in tst_kvcmp_distname()
140 if (strstr(kver, ".el5")) in tst_kvcmp_distname()
143 if (strstr(kver, ".el6uek")) in tst_kvcmp_distname()
146 if (strstr(kver, ".el6")) in tst_kvcmp_distname()
149 if (strstr(kver, ".el7")) in tst_kvcmp_distname()
152 if (strstr(kver, ".el8")) in tst_kvcmp_distname()
181 const char *kver; in tst_kvercmp2() local
186 kver = uval.release; in tst_kvercmp2()
187 cur_dist_name = tst_kvcmp_distname(kver); in tst_kvercmp2()
[all …]
/third_party/ltp/testcases/kernel/mce-test/drivers/kdump/
Dsetup.sh12 kver=$(uname -r)
20 kx=${kver%%.*}
21 tmp=${kver#*.}
42 echo "Fail: kernel version ${kver} is less than 2.6.16."
59 if [ ! -d "/lib/modules/${kver}/build" ]; then
/third_party/ltp/testcases/kdump/lib/
Dsetup.sh5 kver=$(uname -r)
13 kx=${kver%%.*}
14 tmp=${kver#*.}
35 echo "Fail: kernel version ${kver} is less than 2.6.16."
52 if [ ! -d "/lib/modules/${kver}/build" ]; then
/third_party/openssl/engines/
De_afalg.c827 int kver[3] = { -1, -1, -1 }; in IMPLEMENT_DYNAMIC_BIND_FN() local
841 kver[i] = atoi(str); in IMPLEMENT_DYNAMIC_BIND_FN()
845 if (KERNEL_VERSION(kver[0], kver[1], kver[2]) in IMPLEMENT_DYNAMIC_BIND_FN()
848 kver[0], kver[1], kver[2]); in IMPLEMENT_DYNAMIC_BIND_FN()
/third_party/ltp/testcases/lib/
Dtst_kvcmp.c71 static int compare_kver(const char *cur_kver, char *kver) in compare_kver() argument
77 ver = strtok(kver, " "); in compare_kver()
/third_party/ltp/doc/
Dshell-test-api.txt622 | -eq kver | Returns true if kernel version is equal
623 | -ne kver | Returns true if kernel version is not equal
624 | -gt kver | Returns true if kernel version is greater
625 | -ge kver | Returns true if kernel version is greater or equal
626 | -lt kver | Returns true if kernel version is lesser
627 | -le kver | Returns true if kernel version is lesser or equal
/third_party/libbpf/src/
Dlibbpf.c1515 __u32 kver; local
1517 if (!data || size != sizeof(kver)) {
1521 memcpy(&kver, data, sizeof(kver));
1522 obj->kern_version = kver;