/tools/perf/util/ |
D | mem-events.c | 118 size_t l = 0, i; in perf_mem__tlb_scnprintf() local 137 if (l) { in perf_mem__tlb_scnprintf() 139 l += 4; in perf_mem__tlb_scnprintf() 141 l += scnprintf(out + l, sz - l, tlb_access[i]); in perf_mem__tlb_scnprintf() 144 l += scnprintf(out, sz - l, "N/A"); in perf_mem__tlb_scnprintf() 146 l += scnprintf(out + l, sz - l, " hit"); in perf_mem__tlb_scnprintf() 148 l += scnprintf(out + l, sz - l, " miss"); in perf_mem__tlb_scnprintf() 150 return l; in perf_mem__tlb_scnprintf() 180 size_t i, l = 0; in perf_mem__lvl_scnprintf() local 200 l += 7; in perf_mem__lvl_scnprintf() [all …]
|
D | srccode.c | 67 int l; in fill_lines() local 73 l = 0; in fill_lines() 74 lines[l++] = map; in fill_lines() 76 if (l >= maxline) in fill_lines() 78 lines[l++] = ++p; in fill_lines() 81 lines[l] = p; in fill_lines() 166 char *l, *p; in find_sourceline() local 173 l = sf->lines[line]; in find_sourceline() 174 if (!l) in find_sourceline() 176 p = memchr(l, '\n', sf->map + sf->maplen - l); in find_sourceline() [all …]
|
D | strfilter.c | 24 strfilter_node__delete(node->l); in strfilter_node__delete() 67 struct strfilter_node *l, in strfilter_node__alloc() argument 74 node->l = l; in strfilter_node__alloc() 226 return strfilter_node__compare(node->l, str) || in strfilter_node__compare() 229 return strfilter_node__compare(node->l, str) && in strfilter_node__compare() 274 len = strfilter_node__sprint_pt(node->l, buf); in strfilter_node__sprint()
|
D | jitdump.h | 129 size_t l = strlen(ent->name) + 1; in debug_entry_next() local 130 return a + l; in debug_entry_next()
|
D | strfilter.h | 11 struct strfilter_node *l; /* Tree left branche (for &,|) */ member
|
/tools/lib/subcmd/ |
D | parse-options.h | 122 #define OPT_ARGUMENT(l, h) { .type = OPTION_ARGUMENT, .long_name = (l), .help = (h) } argument 124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… argument 125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … argument 126 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name… argument 127 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument 128 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \ 131 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… argument 132 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… argument 133 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument 134 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … argument [all …]
|
/tools/bpf/bpftool/ |
D | cfg.c | 18 struct list_head l; member 27 struct list_head l; member 39 struct list_head l; member 48 #define func_prev(func) list_prev_entry(func, l) 49 #define func_next(func) list_next_entry(func, l) 50 #define bb_prev(bb) list_prev_entry(bb, l) 51 #define bb_next(bb) list_next_entry(bb, l) 55 list_first_entry(&cfg->funcs, struct func_node, l) 57 list_last_entry(&cfg->funcs, struct func_node, l) 59 list_first_entry(&func->bbs, struct bb_node, l) [all …]
|
/tools/testing/selftests/rseq/ |
D | rseq-ppc.h | 219 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpeqv_storev() 221 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpeqv_storev() 222 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpeqv_storev() 230 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in rseq_cmpeqv_storev() 234 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev() 236 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in rseq_cmpeqv_storev() 284 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 286 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpnev_storeoffp_load() 287 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpnev_storeoffp_load() 295 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() [all …]
|
D | rseq-arm64.h | 214 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[cmpfail]) in rseq_cmpeqv_storev() 216 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error1]) in rseq_cmpeqv_storev() 217 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error2]) in rseq_cmpeqv_storev() 222 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in rseq_cmpeqv_storev() 225 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev() 226 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in rseq_cmpeqv_storev() 272 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 274 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error1]) in rseq_cmpnev_storeoffp_load() 275 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error2]) in rseq_cmpnev_storeoffp_load() 280 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() [all …]
|
D | rseq-x86.h | 122 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpeqv_storev() 124 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpeqv_storev() 125 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpeqv_storev() 135 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_CPU_ID_OFFSET(%[rseq_offset]), %l[error1]) in rseq_cmpeqv_storev() 188 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 190 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpnev_storeoffp_load() 191 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpnev_storeoffp_load() 202 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_CPU_ID_OFFSET(%[rseq_offset]), %l[error1]) in rseq_cmpnev_storeoffp_load() 257 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_addv() 264 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_CPU_ID_OFFSET(%[rseq_offset]), %l[error1]) in rseq_addv() [all …]
|
D | rseq-arm.h | 157 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpeqv_storev() 159 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpeqv_storev() 160 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpeqv_storev() 171 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev() 225 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 227 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpnev_storeoffp_load() 228 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpnev_storeoffp_load() 239 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load() 298 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_addv() 305 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_addv() [all …]
|
D | rseq-mips.h | 164 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpeqv_storev() 166 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpeqv_storev() 167 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpeqv_storev() 177 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev() 225 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 227 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpnev_storeoffp_load() 228 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpnev_storeoffp_load() 238 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load() 291 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_addv() 298 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_addv() [all …]
|
D | rseq-s390.h | 144 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpeqv_storev() 146 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpeqv_storev() 147 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpeqv_storev() 157 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev() 212 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 214 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_cmpnev_storeoffp_load() 215 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in rseq_cmpnev_storeoffp_load() 226 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load() 283 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in rseq_addv() 290 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_addv() [all …]
|
/tools/include/linux/ |
D | bits.h | 21 #define GENMASK(h, l) \ argument 22 (((~UL(0)) - (UL(1) << (l)) + 1) & \ 25 #define GENMASK_ULL(h, l) \ argument 26 (((~ULL(0)) - (ULL(1) << (l)) + 1) & \
|
D | bitops.h | 56 static inline unsigned fls_long(unsigned long l) in fls_long() argument 58 if (sizeof(l) == 4) in fls_long() 59 return fls(l); in fls_long() 60 return fls64(l); in fls_long()
|
/tools/lib/lockdep/ |
D | preload.c | 104 struct lock_lookup *l; in __get_lock_node() local 109 l = rb_entry(*node, struct lock_lookup, node); in __get_lock_node() 112 if (lock < l->orig) in __get_lock_node() 113 node = &l->node.rb_left; in __get_lock_node() 114 else if (lock > l->orig) in __get_lock_node() 115 node = &l->node.rb_right; in __get_lock_node() 178 struct lock_lookup *l; in __get_lock() local 188 l = alloc_lock(); in __get_lock() 189 if (l == NULL) in __get_lock() 192 l->orig = lock; in __get_lock() [all …]
|
/tools/testing/selftests/tc-testing/ |
D | tdc_helper.py | 50 for l in cmdlist: 51 if (type(l) == list): 52 print("\t" + str(l[0])) 54 print("\t" + str(l))
|
/tools/perf/ |
D | builtin-kmem.c | 1416 struct alloc_stat *l = a; in ptr_cmp() local 1419 if (l->ptr < r->ptr) in ptr_cmp() 1421 else if (l->ptr > r->ptr) in ptr_cmp() 1433 struct alloc_stat *l = a; in slab_callsite_cmp() local 1436 if (l->call_site < r->call_site) in slab_callsite_cmp() 1438 else if (l->call_site > r->call_site) in slab_callsite_cmp() 1450 struct alloc_stat *l = a; in hit_cmp() local 1453 if (l->hit < r->hit) in hit_cmp() 1455 else if (l->hit > r->hit) in hit_cmp() 1467 struct alloc_stat *l = a; in bytes_cmp() local [all …]
|
D | perf-with-kcore.sh | 111 …find "$USER_HOME/.debug" -xdev -type l ! -user "$SUDO_USER" -ls -exec chown -h "$SUDO_USE… 116 …find "$USER_HOME/.debug" -xdev -type l ! -group "$SUDO_GID" -ls -exec chgrp -h "$SUDO_GID… 130 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type l ! -user "$USER" -print -quit) 134 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type l ! -group "$GROUPS" -print -quit)
|
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 239 ssize_t l; in mfd_assert_read() local 241 l = read(fd, buf, sizeof(buf)); in mfd_assert_read() 242 if (l != sizeof(buf)) { in mfd_assert_read() 295 ssize_t l; in mfd_assert_write() local 305 l = write(fd, "\0\0\0\0", 4); in mfd_assert_write() 306 if (l != 4) { in mfd_assert_write() 375 ssize_t l; in mfd_fail_write() local 380 l = write(fd, "data", 4); in mfd_fail_write() 381 if (l != -EPERM) { in mfd_fail_write() 382 printf("expected EPERM on write(), but got %d: %m\n", (int)l); in mfd_fail_write() [all …]
|
/tools/testing/radix-tree/ |
D | benchmark.c | 20 int l, loops = 1; in benchmark_iter() local 27 for (l = 0; l < loops; l++) { in benchmark_iter()
|
/tools/perf/Documentation/ |
D | perf-bench.txt | 87 -l:: 114 -l:: 129 % perf bench sched pipe -l 1000 # loop 1000 144 -l:: 155 -l:: 168 -l:: 179 -l::
|
/tools/power/x86/intel-speed-select/ |
D | isst.h | 32 #define GENMASK(h, l) (((~0UL) << (l)) & (~0UL >> (sizeof(long) * 8 - 1 - (h)))) argument 33 #define GENMASK_ULL(h, l) \ argument 34 (((~0ULL) << (l)) & (~0ULL >> (sizeof(long long) * 8 - 1 - (h))))
|
/tools/testing/selftests/vm/ |
D | thuge-gen.c | 55 int l = 0; in ilog2() local 56 while ((1UL << l) < v) in ilog2() 57 l++; in ilog2() 58 return l; in ilog2()
|
/tools/power/pm-graph/ |
D | bootgraph.py | 500 for l in cg.list: 501 if l.fcall and l.depth == 1: 502 if l.length >= minlen: 503 large.append(l) 504 if l.name not in stats: 505 stats[l.name] = [0, 0.0] 506 stats[l.name][0] += (l.length * 1000.0) 507 stats[l.name][1] += 1 593 for l in large: 594 left = '%f' % (((l.time-t0)*100)/tTotal) [all …]
|