/tools/build/ |
D | fixdep.c | 48 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/ |
D | kmod-path.c | 10 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 …]
|
D | sample-parsing.c | 11 #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/ |
D | mem-events.c | 116 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 …]
|
D | find-vdso-map.c | 14 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()
|
D | dso.c | 175 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 …]
|
D | parse-branch-options.c | 7 #define BRANCH_OPT(n, m) \ argument 8 { .name = n, .mode = (m) }
|
D | util.c | 577 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()
|
D | machine.c | 502 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 …]
|
D | map.c | 780 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/ |
D | context_switch.c | 261 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/ |
D | Kbuild | 4 obj-m += nfit_test.o 5 obj-m += nfit_test_iomap.o
|
/tools/perf/bench/ |
D | sched-pipe.c | 59 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/ |
D | compaction-times.py | 33 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/ |
D | builtin-mem.c | 269 #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()
|
D | Makefile | 54 @printf ' BUILD: Doing '\''make \033[33m-j'$(JOBS)'\033[m'\'' parallel build\n'
|
/tools/testing/selftests/user/ |
D | config | 1 CONFIG_TEST_USER_COPY=m
|
/tools/testing/selftests/static_keys/ |
D | config | 1 CONFIG_TEST_STATIC_KEYS=m
|
/tools/testing/selftests/zram/ |
D | config | 2 CONFIG_ZRAM=m
|
/tools/testing/selftests/cpu-hotplug/ |
D | config | 2 CONFIG_CPU_NOTIFIER_ERROR_INJECT=m
|
/tools/testing/selftests/net/ |
D | config | 3 CONFIG_TEST_BPF=m
|
/tools/testing/selftests/memory-hotplug/ |
D | config | 4 CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
|
/tools/power/cpupower/po/ |
D | cs.po | 78 "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/ |
D | bitmask.c | 164 unsigned int m = bmp->size; in bitmask_last() local 167 m = i; in bitmask_last() 168 return m; in bitmask_last()
|
/tools/lguest/ |
D | lguest.txt | 46 (CONFIG_VIRTIO_BLK=m, CONFIG_VIRTIO_NET=m and CONFIG_TUN=m) 50 (CONFIG_LGUEST=m)
|