Home
last modified time | relevance | path

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

123

/tools/build/
Dfixdep.c48 char *m = map; in parse_dep_file() local
49 char *end = m + len; in parse_dep_file()
56 while (m < end) { in parse_dep_file()
58 while (m < end && (*m == ' ' || *m == '\\' || *m == '\n')) in parse_dep_file()
59 m++; in parse_dep_file()
61 p = m; in parse_dep_file()
72 memcpy(s, m, p-m); in parse_dep_file()
73 s[p - m] = 0; in parse_dep_file()
107 m = p + 1; in parse_dep_file()
/tools/perf/tests/
Dkmod-path.c10 struct kmod_path m; in test() local
12 memset(&m, 0x0, sizeof(m)); in test()
15 !__kmod_path__parse(&m, path, alloc_name, alloc_ext)); in test()
18 path, alloc_name, alloc_ext, m.kmod, m.comp, m.name, m.ext); in test()
20 TEST_ASSERT_VAL("wrong kmod", m.kmod == kmod); in test()
21 TEST_ASSERT_VAL("wrong comp", m.comp == comp); in test()
24 TEST_ASSERT_VAL("wrong ext", m.ext && !strcmp(ext, m.ext)); in test()
26 TEST_ASSERT_VAL("wrong ext", !m.ext); in test()
29 TEST_ASSERT_VAL("wrong name", m.name && !strcmp(name, m.name)); in test()
31 TEST_ASSERT_VAL("wrong name", !m.name); in test()
[all …]
Dsample-parsing.c11 #define COMP(m) do { \ argument
12 if (s1->m != s2->m) { \
13 pr_debug("Samples differ at '"#m"'\n"); \
18 #define MCOMP(m) do { \ argument
19 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
20 pr_debug("Samples differ at '"#m"'\n"); \
/tools/perf/util/
Dmem-events.c116 u64 m = PERF_MEM_TLB_NA; in perf_mem__tlb_scnprintf() local
123 m = mem_info->data_src.mem_dtlb; in perf_mem__tlb_scnprintf()
125 hit = m & PERF_MEM_TLB_HIT; in perf_mem__tlb_scnprintf()
126 miss = m & PERF_MEM_TLB_MISS; in perf_mem__tlb_scnprintf()
129 m &= ~(PERF_MEM_TLB_HIT|PERF_MEM_TLB_MISS); in perf_mem__tlb_scnprintf()
131 for (i = 0; m && i < ARRAY_SIZE(tlb_access); i++, m >>= 1) { in perf_mem__tlb_scnprintf()
132 if (!(m & 0x1)) in perf_mem__tlb_scnprintf()
170 u64 m = PERF_MEM_LVL_NA; in perf_mem__lvl_scnprintf() local
174 m = mem_info->data_src.mem_lvl; in perf_mem__lvl_scnprintf()
179 hit = m & PERF_MEM_LVL_HIT; in perf_mem__lvl_scnprintf()
[all …]
Dfind-vdso-map.c14 int m = -1; in find_vdso_map() local
18 start, end, &m)) in find_vdso_map()
20 if (m < 0) in find_vdso_map()
23 if (!strncmp(&line[m], VDSO__MAP_NAME, in find_vdso_map()
Ddso.c175 struct kmod_path m; in is_kernel_module() local
189 if (kmod_path__parse(&m, pathname)) { in is_kernel_module()
196 return m.kmod; in is_kernel_module()
233 int __kmod_path__parse(struct kmod_path *m, const char *path, in __kmod_path__parse() argument
240 memset(m, 0x0, sizeof(*m)); in __kmod_path__parse()
257 m->kmod = false; in __kmod_path__parse()
260 m->kmod = true; in __kmod_path__parse()
266 m->name = strdup(name); in __kmod_path__parse()
267 return m->name ? 0 : -ENOMEM; in __kmod_path__parse()
273 m->comp = true; in __kmod_path__parse()
[all …]
Dparse-branch-options.c7 #define BRANCH_OPT(n, m) \ argument
8 { .name = n, .mode = (m) }
Dutil.c577 u32 *m = src; in mem_bswap_32() local
579 *m = bswap_32(*m); in mem_bswap_32()
581 ++m; in mem_bswap_32()
587 u64 *m = src; in mem_bswap_64() local
590 *m = bswap_64(*m); in mem_bswap_64()
592 ++m; in mem_bswap_64()
Dmachine.c502 struct kmod_path *m, in machine__findnew_module_dso() argument
509 dso = __dsos__find(&machine->dsos, m->name, true); in machine__findnew_module_dso()
511 dso = __dsos__addnew(&machine->dsos, m->name); in machine__findnew_module_dso()
521 if (m->kmod && m->comp) in machine__findnew_module_dso()
524 dso__set_short_name(dso, strdup(m->name), true); in machine__findnew_module_dso()
581 struct kmod_path m; in machine__findnew_module_map() local
583 if (kmod_path__parse_name(&m, filename)) in machine__findnew_module_map()
587 m.name); in machine__findnew_module_map()
598 dso = machine__findnew_module_dso(machine, &m, filename); in machine__findnew_module_map()
613 free(m.name); in machine__findnew_module_map()
[all …]
Dmap.c780 struct map *m; in __maps__insert() local
784 m = rb_entry(parent, struct map, rb_node); in __maps__insert()
785 if (ip < m->start) in __maps__insert()
819 struct map *m; in maps__find() local
826 m = rb_entry(parent, struct map, rb_node); in maps__find()
827 if (ip < m->start) in maps__find()
829 else if (ip >= m->end) in maps__find()
835 m = NULL; in maps__find()
838 return m; in maps__find()
/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c261 static int mutex_lock(unsigned long *m) in mutex_lock() argument
265 c = cmpxchg(m, 0, 1); in mutex_lock()
270 c = xchg(m, 2); in mutex_lock()
273 sys_futex(m, FUTEX_WAIT, 2, NULL, NULL, 0); in mutex_lock()
274 c = xchg(m, 2); in mutex_lock()
280 static int mutex_unlock(unsigned long *m) in mutex_unlock() argument
282 if (*m == 2) in mutex_unlock()
283 *m = 0; in mutex_unlock()
284 else if (xchg(m, 0) == 1) in mutex_unlock()
287 sys_futex(m, FUTEX_WAKE, 1, NULL, NULL, 0); in mutex_unlock()
/tools/testing/nvdimm/test/
DKbuild4 obj-m += nfit_test.o
5 obj-m += nfit_test_iomap.o
/tools/perf/bench/
Dsched-pipe.c59 int m = 0, i; in worker_thread() local
64 ret = read(td->pipe_read, &m, sizeof(int)); in worker_thread()
66 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread()
69 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread()
71 ret = read(td->pipe_read, &m, sizeof(int)); in worker_thread()
/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/perf/
Dbuiltin-mem.c269 #define MEM_OPT(n, m) \ argument
270 { .name = n, .mode = (m) }
284 const struct mem_mode *m; in parse_mem_ops() local
306 for (m = mem_modes; m->name; m++) { in parse_mem_ops()
307 if (!strcasecmp(s, m->name)) in parse_mem_ops()
310 if (!m->name) { in parse_mem_ops()
316 *mode |= m->mode; in parse_mem_ops()
DMakefile54 @printf ' BUILD: Doing '\''make \033[33m-j'$(JOBS)'\033[m'\'' parallel build\n'
/tools/testing/selftests/user/
Dconfig1 CONFIG_TEST_USER_COPY=m
/tools/testing/selftests/static_keys/
Dconfig1 CONFIG_TEST_STATIC_KEYS=m
/tools/testing/selftests/zram/
Dconfig2 CONFIG_ZRAM=m
/tools/testing/selftests/cpu-hotplug/
Dconfig2 CONFIG_CPU_NOTIFIER_ERROR_INJECT=m
/tools/testing/selftests/net/
Dconfig3 CONFIG_TEST_BPF=m
/tools/testing/selftests/memory-hotplug/
Dconfig4 CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
/tools/power/cpupower/po/
Dcs.po78 "cpupower monitor: [-h] [ [-t] | [-l] | [-m <mon1>,[<mon2>] ] ] [-i "
85 "cpupower monitor: [-v] [-h] [ [-t] | [-l] | [-m <mon1>,[<mon2>] ] ] [-i "
111 msgid "\t -l: list available CPU sleep monitors (for use with -m)\n"
116 msgid "\t -m: show specific CPU sleep monitors only (in same order)\n"
122 "only one of: -t, -l, -m are allowed\n"
219 "Chyby v programu prosím hlaste na %s (anglicky).\n"
220 "Chyby v překladu prosím hlaste na kavol@seznam.cz (česky ;-)\n"
300 msgstr " pro tento CPU není aktivní žádný známý ovladač cpufreq\n"
310 msgstr " CPU, které musí měnit frekvenci zároveň: "
315 msgstr " CPU, které musí měnit frekvenci zároveň: "
[all …]
/tools/power/cpupower/utils/helpers/
Dbitmask.c164 unsigned int m = bmp->size; in bitmask_last() local
167 m = i; in bitmask_last()
168 return m; in bitmask_last()
/tools/lguest/
Dlguest.txt46 (CONFIG_VIRTIO_BLK=m, CONFIG_VIRTIO_NET=m and CONFIG_TUN=m)
50 (CONFIG_LGUEST=m)

123