Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 70) sorted by relevance

123

/tools/perf/util/
Dmemswap.c8 u32 *m = src; in mem_bswap_32() local
10 *m = bswap_32(*m); in mem_bswap_32()
12 ++m; in mem_bswap_32()
18 u64 *m = src; in mem_bswap_64() local
21 *m = bswap_64(*m); in mem_bswap_64()
23 ++m; in mem_bswap_64()
Dfind-vdso-map.c15 int m = -1; in find_vdso_map() local
19 start, end, &m)) in find_vdso_map()
21 if (m < 0) in find_vdso_map()
24 if (!strncmp(&line[m], VDSO__MAP_NAME, in find_vdso_map()
Dmem-events.c119 u64 m = PERF_MEM_TLB_NA; in perf_mem__tlb_scnprintf() local
126 m = mem_info->data_src.mem_dtlb; in perf_mem__tlb_scnprintf()
128 hit = m & PERF_MEM_TLB_HIT; in perf_mem__tlb_scnprintf()
129 miss = m & PERF_MEM_TLB_MISS; in perf_mem__tlb_scnprintf()
132 m &= ~(PERF_MEM_TLB_HIT|PERF_MEM_TLB_MISS); in perf_mem__tlb_scnprintf()
134 for (i = 0; m && i < ARRAY_SIZE(tlb_access); i++, m >>= 1) { in perf_mem__tlb_scnprintf()
135 if (!(m & 0x1)) in perf_mem__tlb_scnprintf()
181 u64 m = PERF_MEM_LVL_NA; in perf_mem__lvl_scnprintf() local
186 m = mem_info->data_src.mem_lvl; in perf_mem__lvl_scnprintf()
191 hit = m & PERF_MEM_LVL_HIT; in perf_mem__lvl_scnprintf()
[all …]
Ddso.c216 struct kmod_path m; in is_kernel_module() local
230 if (kmod_path__parse(&m, pathname)) { in is_kernel_module()
237 return m.kmod; in is_kernel_module()
261 struct kmod_path m; in decompress_kmodule() local
266 if (kmod_path__parse_ext(&m, dso->long_name)) in decompress_kmodule()
269 if (!m.comp) in decompress_kmodule()
278 if (!decompress_to_file(m.ext, name, fd)) { in decompress_kmodule()
285 free(m.ext); in decompress_kmodule()
332 int __kmod_path__parse(struct kmod_path *m, const char *path, in __kmod_path__parse() argument
339 memset(m, 0x0, sizeof(*m)); in __kmod_path__parse()
[all …]
/tools/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument
25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument
26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument
27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
/tools/build/
Dfixdep.c49 char *m = map; in parse_dep_file() local
50 char *end = m + len; in parse_dep_file()
57 while (m < end) { in parse_dep_file()
59 while (m < end && (*m == ' ' || *m == '\\' || *m == '\n')) in parse_dep_file()
60 m++; in parse_dep_file()
62 p = m; in parse_dep_file()
74 memcpy(s, m, p-m); in parse_dep_file()
75 s[p - m] = 0; in parse_dep_file()
109 m = p + 1; in parse_dep_file()
/tools/perf/tests/
Dkmod-path.c11 struct kmod_path m; in test() local
13 memset(&m, 0x0, sizeof(m)); in test()
16 !__kmod_path__parse(&m, path, alloc_name, alloc_ext)); in test()
19 path, alloc_name, alloc_ext, m.kmod, m.comp, m.name, m.ext); in test()
21 TEST_ASSERT_VAL("wrong kmod", m.kmod == kmod); in test()
22 TEST_ASSERT_VAL("wrong comp", m.comp == comp); in test()
25 TEST_ASSERT_VAL("wrong ext", m.ext && !strcmp(ext, m.ext)); in test()
27 TEST_ASSERT_VAL("wrong ext", !m.ext); in test()
30 TEST_ASSERT_VAL("wrong name", m.name && !strcmp(name, m.name)); in test()
32 TEST_ASSERT_VAL("wrong name", !m.name); in test()
[all …]
Dsample-parsing.c14 #define COMP(m) do { \ argument
15 if (s1->m != s2->m) { \
16 pr_debug("Samples differ at '"#m"'\n"); \
21 #define MCOMP(m) do { \ argument
22 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
23 pr_debug("Samples differ at '"#m"'\n"); \
/tools/testing/selftests/kmod/
Dconfig1 CONFIG_TEST_KMOD=m
2 CONFIG_TEST_LKM=m
3 CONFIG_XFS_FS=m
6 CONFIG_TUN=m
7 CONFIG_BTRFS_FS=m
/tools/testing/selftests/lib/
Dconfig1 CONFIG_TEST_PRINTF=m
2 CONFIG_TEST_BITMAP=m
3 CONFIG_PRIME_NUMBERS=m
/tools/testing/selftests/bpf/
Dconfig3 CONFIG_NET_CLS_BPF=m
5 CONFIG_TEST_BPF=m
/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c263 static int mutex_lock(unsigned long *m) in mutex_lock() argument
270 c = cmpxchg(m, 0, 1); in mutex_lock()
275 c = xchg(m, 2); in mutex_lock()
278 sys_futex(m, flags, 2, NULL, NULL, 0); in mutex_lock()
279 c = xchg(m, 2); in mutex_lock()
285 static int mutex_unlock(unsigned long *m) in mutex_unlock() argument
291 if (*m == 2) in mutex_unlock()
292 *m = 0; in mutex_unlock()
293 else if (xchg(m, 0) == 1) in mutex_unlock()
296 sys_futex(m, flags, 1, NULL, NULL, 0); in mutex_unlock()
/tools/perf/bench/
Dsched-pipe.c60 int m = 0, i; in worker_thread() local
65 ret = read(td->pipe_read, &m, sizeof(int)); in worker_thread()
67 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread()
70 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread()
72 ret = read(td->pipe_read, &m, sizeof(int)); in worker_thread()
/tools/testing/nvdimm/test/
DKbuild5 obj-m += nfit_test.o
6 obj-m += nfit_test_iomap.o
/tools/perf/scripts/python/
Dcompaction-times.py33 m = self.re.search(comm)
34 return m == None or m.group() == ""
297 m = pid_re.search(opt) variable
298 if m != None and m.group() != "":
299 if m.group(3) != None:
300 f = pid_filter(m.group(3), m.group(3))
302 f = pid_filter(m.group(1), m.group(2))
/tools/power/pm-graph/
Danalyze_suspend.py265 m = re.match('(?P<name>.*)_dmesg\.txt$', self.dmesgfile)
266 if(m):
267 self.htmlfile = m.group('name')+'.html'
269 m = re.match('(?P<name>.*)_ftrace\.txt$', self.ftracefile)
270 if(m):
271 self.htmlfile = m.group('name')+'.html'
273 p = c = m = b = ''
275 m = info['baseboard-manufacturer']
277 m = info['system-manufacturer']
287 (m, p, c, b, self.cpucount, self.memtotal)
[all …]
/tools/perf/
Dbuiltin-mem.c320 #define MEM_OPT(n, m) \ argument
321 { .name = n, .mode = (m) }
335 const struct mem_mode *m; in parse_mem_ops() local
357 for (m = mem_modes; m->name; m++) { in parse_mem_ops()
358 if (!strcasecmp(s, m->name)) in parse_mem_ops()
361 if (!m->name) { in parse_mem_ops()
367 *mode |= m->mode; in parse_mem_ops()
DMakefile55 @printf ' BUILD: Doing '\''make \033[33m-j'$(JOBS)'\033[m'\'' parallel build\n'
/tools/testing/selftests/memfd/
Dconfig1 CONFIG_FUSE_FS=m
/tools/testing/selftests/static_keys/
Dconfig1 CONFIG_TEST_STATIC_KEYS=m
/tools/testing/selftests/user/
Dconfig1 CONFIG_TEST_USER_COPY=m
/tools/testing/selftests/gpio/
Dconfig2 CONFIG_GPIO_MOCKUP=m
/tools/testing/selftests/cpu-hotplug/
Dconfig2 CONFIG_CPU_NOTIFIER_ERROR_INJECT=m
/tools/testing/selftests/zram/
Dconfig2 CONFIG_ZRAM=m
/tools/testing/selftests/net/
Dconfig3 CONFIG_TEST_BPF=m

123