Home
last modified time | relevance | path

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

/external/ltp/lib/
Dtst_kvercmp.c128 const char *tst_kvcmp_distname(const char *kver) in tst_kvcmp_distname() argument
130 if (strstr(kver, ".el5uek")) in tst_kvcmp_distname()
133 if (strstr(kver, ".el5")) in tst_kvcmp_distname()
136 if (strstr(kver, ".el6uek")) in tst_kvcmp_distname()
139 if (strstr(kver, ".el6")) in tst_kvcmp_distname()
148 const char *kver; in tst_kvercmp2() local
153 kver = uval.release; in tst_kvercmp2()
154 cur_dist_name = tst_kvcmp_distname(kver); in tst_kvercmp2()
162 cur_dist_name, kver); in tst_kvercmp2()
163 return tst_kvexcmp(vers[i].extra_ver, kver); in tst_kvercmp2()
[all …]
/external/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
/external/autotest/tko/
Ddb.py512 kver = self.insert_kernel(test.kernel, commit=commit)
514 'subdir':test.subdir, 'kernel_idx':kver,
648 kver = self.lookup_kernel(kernel)
649 if kver:
650 return kver
667 kver = self.get_last_autonumber_value()
670 printable += ' p%d' % (kver)
673 {'kernel_idx':kver})
676 self.insert_patch(kver, patch, commit=commit)
677 return kver
[all …]
/external/ltp/testcases/lib/
Dtst_kvcmp.c84 static int compare_kver(const char *cur_kver, char *kver) in compare_kver() argument
90 ver = strtok(kver, " "); in compare_kver()
/external/lisa/libs/utils/analysis/
Dlatency_analysis.py804 kver = self._trace.platform['kernel']['parts']
805 if kver is None:
806 kver = (3, 18)
808 kver[0], kver[1])
809 if kver >= (4, 8):
/external/strace/
Dstrace.spec61 printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256))
Dstrace.spec.in60 kver="$(echo -e '#include <linux/version.h>\nLINUX_VERSION_CODE' | gcc -E -P -)"
61 printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256))
/external/lisa/libs/utils/
Denv.py758 kver = self.target.kernel_version
759 self.platform['kernel'] = {t: getattr(kver, t, None)
/external/ltp/doc/
Dtest-writing-guidelines.txt1723 | -eq kver | Returns true if kernel version is equal
1724 | -ne kver | Returns true if kernel version is not equal
1725 | -gt kver | Returns true if kernel version is greater
1726 | -ge kver | Returns true if kernel version is greater or equal
1727 | -lt kver | Returns true if kernel version is lesser
1728 | -le kver | Returns true if kernel version is lesser or equal