Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 210) sorted by relevance

123456789

/tools/include/linux/
Djhash.h35 #define __jhash_mix(a, b, c) \ argument
37 a -= c; a ^= rol32(c, 4); c += b; \
38 b -= a; b ^= rol32(a, 6); a += c; \
39 c -= b; c ^= rol32(b, 8); b += a; \
40 a -= c; a ^= rol32(c, 16); c += b; \
41 b -= a; b ^= rol32(a, 19); a += c; \
42 c -= b; c ^= rol32(b, 4); b += a; \
46 #define __jhash_final(a, b, c) \ argument
49 a ^= c; a -= rol32(c, 11); \
50 b ^= a; b -= rol32(a, 25); \
[all …]
Dcompiler-gcc.h22 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) argument
34 #define __printf(a, b) __attribute__((format(printf, a, b))) argument
35 #define __scanf(a, b) __attribute__((format(scanf, a, b))) argument
/tools/perf/util/
Dgenelf.h48 #define ELF_ST_TYPE(a) ELF64_ST_TYPE(a) argument
49 #define ELF_ST_BIND(a) ELF64_ST_BIND(a) argument
50 #define ELF_ST_VIS(a) ELF64_ST_VISIBILITY(a) argument
57 #define ELF_ST_TYPE(a) ELF32_ST_TYPE(a) argument
58 #define ELF_ST_BIND(a) ELF32_ST_BIND(a) argument
59 #define ELF_ST_VIS(a) ELF32_ST_VISIBILITY(a) argument
/tools/perf/arch/x86/util/
Dheader.c11 cpuid(unsigned int op, unsigned int *a, unsigned int *b, unsigned int *c, in cpuid() argument
16 : "=a" (*a), in cpuid()
26 unsigned int a, b, c, d, lvl; in __get_cpuid() local
38 cpuid(1, &a, &b, &c, &d); in __get_cpuid()
40 family = (a >> 8) & 0xf; /* bits 11 - 8 */ in __get_cpuid()
41 model = (a >> 4) & 0xf; /* Bits 7 - 4 */ in __get_cpuid()
42 step = a & 0xf; in __get_cpuid()
46 family += (a >> 20) & 0xff; in __get_cpuid()
50 model += ((a >> 16) & 0xf) << 4; in __get_cpuid()
/tools/lib/lockdep/tests/
Dunlock_balance.c6 pthread_mutex_t a; in main() local
8 pthread_mutex_init(&a, NULL); in main()
10 pthread_mutex_lock(&a); in main()
11 pthread_mutex_unlock(&a); in main()
12 pthread_mutex_unlock(&a); in main()
DAA.c6 pthread_mutex_t a; in main() local
8 pthread_mutex_init(&a, NULL); in main()
10 pthread_mutex_lock(&a); in main()
11 pthread_mutex_lock(&a); in main()
DWW.c6 pthread_rwlock_t a, b; in main() local
8 pthread_rwlock_init(&a, NULL); in main()
11 pthread_rwlock_wrlock(&a); in main()
13 pthread_rwlock_wrlock(&a); in main()
DABBA.c7 pthread_mutex_t a, b; in main() local
9 pthread_mutex_init(&a, NULL); in main()
12 LOCK_UNLOCK_2(a, b); in main()
13 LOCK_UNLOCK_2(b, a); in main()
DABA.c6 pthread_mutex_t a, b; in main() local
8 pthread_mutex_init(&a, NULL); in main()
11 pthread_mutex_lock(&a); in main()
13 pthread_mutex_lock(&a); in main()
DABBCCA.c7 pthread_mutex_t a, b, c; in main() local
9 pthread_mutex_init(&a, NULL); in main()
13 LOCK_UNLOCK_2(a, b); in main()
15 LOCK_UNLOCK_2(c, a); in main()
DABCABC.c7 pthread_mutex_t a, b, c; in main() local
9 pthread_mutex_init(&a, NULL); in main()
13 LOCK_UNLOCK_2(a, b); in main()
14 LOCK_UNLOCK_2(c, a); in main()
DABBA_2threads.c5 pthread_mutex_t a = PTHREAD_MUTEX_INITIALIZER; variable
18 pthread_mutex_lock(&a); in ba_lock()
20 pthread_mutex_unlock(&a); in ba_lock()
34 pthread_mutex_lock(&a); in main()
42 pthread_mutex_unlock(&a); in main()
DABCDBDDA.c7 pthread_mutex_t a, b, c, d; in main() local
9 pthread_mutex_init(&a, NULL); in main()
14 LOCK_UNLOCK_2(a, b); in main()
17 LOCK_UNLOCK_2(d, a); in main()
DABCDBCDA.c7 pthread_mutex_t a, b, c, d; in main() local
9 pthread_mutex_init(&a, NULL); in main()
14 LOCK_UNLOCK_2(a, b); in main()
17 LOCK_UNLOCK_2(d, a); in main()
DABBCCDDA.c7 pthread_mutex_t a, b, c, d; in main() local
9 pthread_mutex_init(&a, NULL); in main()
14 LOCK_UNLOCK_2(a, b); in main()
17 LOCK_UNLOCK_2(d, a); in main()
Dcommon.h5 #define LOCK_UNLOCK_2(a, b) \ argument
7 pthread_mutex_lock(&(a)); \
10 pthread_mutex_unlock(&(a)); \
/tools/testing/selftests/sync/
Dsync_fence.c78 int a, b, c, d, valid; in test_fence_one_timeline_merge() local
82 a = sw_sync_fence_create(timeline, "allocFence", 1); in test_fence_one_timeline_merge()
86 valid = sw_sync_fence_is_valid(a) && in test_fence_one_timeline_merge()
91 d = sync_merge("mergeFence", b, a); in test_fence_one_timeline_merge()
97 ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1, in test_fence_one_timeline_merge()
99 ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1, in test_fence_one_timeline_merge()
101 ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1, in test_fence_one_timeline_merge()
103 ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1, in test_fence_one_timeline_merge()
108 ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_SIGNALED) == 1, in test_fence_one_timeline_merge()
129 sw_sync_fence_destroy(a); in test_fence_one_timeline_merge()
/tools/testing/selftests/bpf/
Dtest_l4lb.c34 #define __jhash_mix(a, b, c) \ argument
36 a -= c; a ^= rol32(c, 4); c += b; \
37 b -= a; b ^= rol32(a, 6); a += c; \
38 c -= b; c ^= rol32(b, 8); b += a; \
39 a -= c; a ^= rol32(c, 16); c += b; \
40 b -= a; b ^= rol32(a, 19); a += c; \
41 c -= b; c ^= rol32(b, 4); b += a; \
44 #define __jhash_final(a, b, c) \ argument
47 a ^= c; a -= rol32(c, 11); \
48 b ^= a; b -= rol32(a, 25); \
[all …]
/tools/virtio/virtio-trace/
DREADME4 Trace agent is a user tool for sending trace data of a guest to a Host in low
6 - splice a page of ring-buffer to read_pipe without memory copying
9 - controlled by start/stop orders from a Host
13 2) Create a read/write thread per CPU. Each thread is bound to a CPU.
15 3) A controller thread does poll() for a start order of a host.
16 4) After the controller of the trace agent receives a start order from a host,
20 6) If the controller receives a stop order from a host, the read/write threads
41 1) Make FIFO in a host
43 of CPUs and a control path, so FIFO (named pipe) should be created as follows:
48 For example, if a guest use three CPUs, the names are
[all …]
/tools/testing/selftests/powerpc/tm/
Dtm-vmxcopy.c45 char *a; in test_vmxcopy() local
59 a = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in test_vmxcopy()
60 assert(a != MAP_FAILED); in test_vmxcopy()
84 [map]"r"(a) in test_vmxcopy()
93 munmap(a, size); in test_vmxcopy()
/tools/scripts/
Dutilities.mak13 # what should replace a newline when escaping
14 # newlines; the default is a bizarre string.
22 # GNU make's $(shell ...) function converts to a
46 # Use this to escape newlines from within a shell call;
47 # the default escape is a bizarre string.
49 # NOTE: The escape is used directly as a string constant
62 # Use this to unescape newlines from within a shell call;
63 # the default escape is a bizarre string.
70 # (The bash shell has a bug where `{gsub(...),...}' is
71 # misinterpreted as a brace expansion; this can be
[all …]
/tools/lib/subcmd/
Dparse-options.h137 …STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), .value = ch… argument
138 #define OPT_STRING_OPTARG(s, l, v, a, h, d) \ argument
140 .value = check_vtype(v, const char **), .argh =(a), .help = (h), \
142 #define OPT_STRING_OPTARG_SET(s, l, v, os, a, h, d) \ argument
144 .value = check_vtype(v, const char **), .argh = (a), .help = (h), \
147 …OEMPTY(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), .value = ch… argument
150 #define OPT_CALLBACK(s, l, v, a, h, f) \ argument
151 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
152 #define OPT_CALLBACK_NOOPT(s, l, v, a, h, f) \ argument
153 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
[all …]
/tools/perf/Documentation/
Dperf-help.txt10 'perf help' [-a|--all] [COMMAND]
16 command and a list of the most commonly used perf commands are printed
19 If the option '--all' or '-a' is given, then all available commands are
22 If a perf command is named, a manual page for that command is brought
31 -a::
/tools/objtool/Documentation/
Dstack-validation.txt8 The kernel CONFIG_STACK_VALIDATION option enables a host tool named
9 objtool which runs at compile time. It has a "check" subcommand which
11 It enforces a set of rules on asm code and C inline assembly code so
19 alternative execution paths to a given instruction (or set of
33 a) More reliable stack traces for frame pointer enabled kernels
52 functions which call other functions must first create a stack frame
53 and update the frame pointer. If a first function doesn't properly
54 create a stack frame before calling a second function, the *caller*
90 skipped on a stack trace.
93 beginning of a function before the stack frame has been created,
[all …]
/tools/testing/selftests/powerpc/math/
Dvsx_preempt.c52 long vsx_memcmp(vector int *a) { in vsx_memcmp() argument
56 FAIL_IF(a != varray); in vsx_memcmp()
59 if (memcmp(&a[i + 12], &zero, sizeof(vector int)) == 0) { in vsx_memcmp()
65 if (memcmp(a, &a[12], 12 * sizeof(vector int))) { in vsx_memcmp()
66 long *p = (long *)a; in vsx_memcmp()

123456789