Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 220) sorted by relevance

123456789

/tools/testing/selftests/sparc64/drivers/
Dadi-test.c322 unsigned char version[1], expected_version; in test0_prpw_aligned_1byte() local
326 version[0] = random_version(); in test0_prpw_aligned_1byte()
327 expected_version = version[0]; in test0_prpw_aligned_1byte()
331 ret = pwrite_adi(fd, version, sizeof(version), offset); in test0_prpw_aligned_1byte()
332 if (ret != sizeof(version)) in test0_prpw_aligned_1byte()
335 ret = pread_adi(fd, version, sizeof(version), offset); in test0_prpw_aligned_1byte()
336 if (ret != sizeof(version)) in test0_prpw_aligned_1byte()
339 if (expected_version != version[0]) { in test0_prpw_aligned_1byte()
341 expected_version, version[0]); in test0_prpw_aligned_1byte()
356 unsigned char version[TEST1_VERSION_SZ], in test1_prpw_aligned_4096bytes() local
[all …]
/tools/perf/Documentation/
Dperf-version.txt1 perf-version(1)
6 perf-version - display the version of perf binary
10 'perf version' [--build-options]
14 With no options given, the 'perf version' prints the perf version
Dperf.txt11 'perf' [--version] [--help] [OPTIONS] COMMAND [ARGS]
20 --version::
21 Display perf version.
90 linkperf:perf-trace[1], linkperf:perf-version[1]
/tools/build/feature/
Dtest-glibc.c14 const char *version = gnu_get_libc_version(); in main() local
16 const char *version = XSTR(__GLIBC__) "." XSTR(__GLIBC_MINOR__); in main()
19 return (long)version; in main()
/tools/testing/selftests/net/
Dpsock_tpacket.c72 int type, rd_num, flen, version; member
80 uint32_t version; member
160 ip->version = 4; in create_payload()
195 static inline int __v1_v2_rx_kernel_ready(void *base, int version) in __v1_v2_rx_kernel_ready() argument
197 switch (version) { in __v1_v2_rx_kernel_ready()
208 static inline void __v1_v2_rx_user_ready(void *base, int version) in __v1_v2_rx_user_ready() argument
210 switch (version) { in __v1_v2_rx_user_ready()
240 ring->version)) { in walk_v1_v2_rx()
243 switch (ring->version) { in walk_v1_v2_rx()
260 __v1_v2_rx_user_ready(ppd.raw, ring->version); in walk_v1_v2_rx()
[all …]
Dnettest.c85 int version; /* AF_INET/AF_INET6 */ member
310 switch (args->version) { in tcp_md5_remote()
462 static int set_unicast_if(int sd, int ifindex, int version) in set_unicast_if() argument
470 if (version == AF_INET6) { in set_unicast_if()
692 int pfx_len_max = args->version == AF_INET6 ? 128 : 32; in convert_addr()
693 int family = args->version; in convert_addr()
890 int ifindex, int version) in send_msg_cmsg() argument
909 if (version == AF_INET) { in send_msg_cmsg()
920 } else if (version == AF_INET6) { in send_msg_cmsg()
959 if (send_msg_cmsg(sd, addr, alen, args->ifindex, args->version)) in send_msg()
[all …]
/tools/testing/selftests/vDSO/
Dvdso_test_abi.c24 extern void *vdso_sym(const char *version, const char *name);
28 static const char *version; variable
44 (vdso_gettimeofday_t)vdso_sym(version, name[0]); in vdso_test_gettimeofday()
67 (vdso_clock_gettime_t)vdso_sym(version, name[1]); in vdso_test_clock_gettime()
90 (vdso_time_t)vdso_sym(version, name[2]); in vdso_test_time()
114 (vdso_clock_getres_t)vdso_sym(version, name[3]); in vdso_test_clock_getres()
188 version = versions[VDSO_VERSION]; in main()
191 printf("[vDSO kselftest] VDSO_VERSION: %s\n", version); in main()
Dvdso_test_gettimeofday.c28 const char *version = "LINUX_2.6.39"; variable
31 const char *version = "LINUX_2.6"; variable
47 gtod_t gtod = (gtod_t)vdso_sym(version, name); in main()
Dvdso_test_getcpu.c17 const char *version = "LINUX_2.6"; variable
39 get_cpu = (getcpu_t)vdso_sym(version, name); in main()
/tools/perf/arch/s390/util/
Dheader.c33 char type[8], model[33], version[8], manufacturer[32], authorization[8]; in get_cpuid() local
53 memset(version, 0, sizeof(version)); in get_cpuid()
113 vssize += scnprintf(version + vssize, in get_cpuid()
114 sizeof(version) - vssize, "%s", sep + 1); in get_cpuid()
130 if (version[0] && authorization[0] ) in get_cpuid()
132 manufacturer, type, model, version, in get_cpuid()
/tools/perf/
Dbuiltin-version.c13 struct version { struct
17 static struct version version; argument
20 OPT_BOOLEAN(0, "build-options", &version.build_options,
93 if (version.build_options || version_verbose == 1) in cmd_version()
/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c37 u32 version; member
48 u32 version; member
266 TEST_ASSERT(wc->version && !(wc->version & 1), in main()
267 "Bad wallclock version %x", wc->version); in main()
271 TEST_ASSERT(ti->version && !(ti->version & 1), in main()
272 "Bad time_info version %x", ti->version); in main()
273 TEST_ASSERT(ti2->version && !(ti2->version & 1), in main()
274 "Bad time_info version %x", ti->version); in main()
/tools/bpf/bpftool/Documentation/
Dcommon_options.rst4 -V, --version
5 Print version number (similar to **bpftool version**), and optional
/tools/perf/pmu-events/arch/nds32/
Dmapfile.csv5 # MIDR Processor version
7 # Version could be used to track version of of JSON file
/tools/perf/util/
Dutil.c303 int version, patchlevel, sublevel, err; in fetch_ubuntu_kernel_version() local
332 &version, &patchlevel, &sublevel); in fetch_ubuntu_kernel_version()
339 *puint = (version << 16) + (patchlevel << 8) + sublevel; in fetch_ubuntu_kernel_version()
351 int version, patchlevel, sublevel, err; in fetch_kernel_version() local
370 &version, &patchlevel, &sublevel); in fetch_kernel_version()
378 *puint = (version << 16) + (patchlevel << 8) + sublevel; in fetch_kernel_version()
Dtrace-event-read.c377 char *version; in trace_report() local
406 version = read_string(); in trace_report()
407 if (version == NULL) in trace_report()
410 printf("version = %s\n", version); in trace_report()
413 free(version); in trace_report()
456 if (atof(version) >= 0.6) { in trace_report()
476 free(version); in trace_report()
/tools/perf/pmu-events/arch/powerpc/
Dmapfile.csv5 # PVR Processor version
6 # Version could be used to track version of of JSON file
/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.h41 uint8_t _r : 2, last_hop_gre : 1, forward_syn : 1, version : 4; member
43 uint8_t version : 4, forward_syn : 1, last_hop_gre : 1, _r : 2;
/tools/testing/selftests/kvm/
Dsteal_time.c33 GUEST_ASSERT(!(READ_ONCE(st->version) & 1)); in check_status()
41 uint32_t version; in guest_code() local
50 version = READ_ONCE(st->version); in guest_code()
55 GUEST_ASSERT(version < READ_ONCE(st->version)); in guest_code()
92 pr_info(" version: %d\n", st->version); in steal_time_dump()
/tools/usb/usbip/src/
Dusbip_network.c135 op_common->version = usbip_net_pack_uint16_t(pack, op_common->version); in usbip_net_pack_op_common()
147 op_common.version = USBIP_VERSION; in usbip_net_send_op_common()
177 if (op_common.version != USBIP_VERSION) { in usbip_net_recv_op_common()
179 op_common.version, USBIP_VERSION); in usbip_net_recv_op_common()
/tools/include/uapi/linux/
Dfscrypt.h42 __u8 version; member
68 __u8 version; member
80 __u8 version; member
/tools/power/cpupower/debug/i386/
Ddump_psb.c42 u_char version; member
90 if (psb->version != 0x12) in decode_psb()
94 psb->version, in decode_psb()
/tools/perf/arch/powerpc/util/
Dperf_regs.c197 u32 version; in arch__intr_reg_mask() local
204 version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF); in arch__intr_reg_mask()
205 if (version == PVR_POWER9) in arch__intr_reg_mask()
207 else if (version == PVR_POWER10) in arch__intr_reg_mask()
/tools/testing/kunit/test_data/
Dtest_is_test_passed-no_tests_run_with_header.log1 TAP version 14
/tools/lib/bpf/
Dlibbpf_internal.h95 # define COMPAT_VERSION(internal_name, api_name, version) \ argument
96 asm(".symver " #internal_name "," #api_name "@" #version);
97 # define DEFAULT_VERSION(internal_name, api_name, version) \ argument
98 asm(".symver " #internal_name "," #api_name "@@" #version);
100 # define COMPAT_VERSION(internal_name, api_name, version) argument
101 # define DEFAULT_VERSION(internal_name, api_name, version) \ argument
335 __u8 version; member

123456789