Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 93) sorted by relevance

1234

/tools/include/linux/
Dbits.h23 #define GENMASK_INPUT_CHECK(h, l) \ argument
25 __is_constexpr((l) > (h)), (l) > (h), 0)))
31 #define GENMASK_INPUT_CHECK(h, l) 0 argument
34 #define __GENMASK(h, l) \ argument
35 (((~UL(0)) - (UL(1) << (l)) + 1) & \
37 #define GENMASK(h, l) \ argument
38 (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
40 #define __GENMASK_ULL(h, l) \ argument
41 (((~ULL(0)) - (ULL(1) << (l)) + 1) & \
43 #define GENMASK_ULL(h, l) \ argument
[all …]
Dbitops.h57 static inline unsigned fls_long(unsigned long l) in fls_long() argument
59 if (sizeof(l) == 4) in fls_long()
60 return fls(l); in fls_long()
61 return fls64(l); in fls_long()
Dconst.h12 (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
/tools/lib/subcmd/
Dparse-options.h122 #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/perf/util/
Dmem-events.c244 size_t l = 0, i; in perf_mem__tlb_scnprintf() local
263 if (l) { in perf_mem__tlb_scnprintf()
265 l += 4; in perf_mem__tlb_scnprintf()
267 l += scnprintf(out + l, sz - l, tlb_access[i]); in perf_mem__tlb_scnprintf()
270 l += scnprintf(out, sz - l, "N/A"); in perf_mem__tlb_scnprintf()
272 l += scnprintf(out + l, sz - l, " hit"); in perf_mem__tlb_scnprintf()
274 l += scnprintf(out + l, sz - l, " miss"); in perf_mem__tlb_scnprintf()
276 return l; in perf_mem__tlb_scnprintf()
306 size_t i, l = 0; in perf_mem__lvl_scnprintf() local
326 l += 7; in perf_mem__lvl_scnprintf()
[all …]
Dsrccode.c60 int l; in fill_lines() local
66 l = 0; in fill_lines()
67 lines[l++] = map; in fill_lines()
69 if (l >= maxline) in fill_lines()
71 lines[l++] = ++p; in fill_lines()
74 lines[l] = p; in fill_lines()
158 char *l, *p; in find_sourceline() local
165 l = sf->lines[line]; in find_sourceline()
166 if (!l) in find_sourceline()
168 p = memchr(l, '\n', sf->map + sf->maplen - l); in find_sourceline()
[all …]
Dstrfilter.c24 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()
/tools/bpf/bpftool/
Dcfg.c18 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/
Drseq-ppc.h219 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 …]
Drseq-arm64.h214 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 …]
Drseq-x86.h122 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 …]
Drseq-arm.h157 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 …]
Drseq-mips.h164 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 …]
Drseq-s390.h144 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/lib/lockdep/
Dpreload.c104 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/kvm/x86_64/
Dhyperv_clock.c26 } l; in mul_u64_u64_shr64() member
33 rm.ll = (u64)a0.l.low * b0.l.high; in mul_u64_u64_shr64()
34 rn.ll = (u64)a0.l.high * b0.l.low; in mul_u64_u64_shr64()
35 rh.ll = (u64)a0.l.high * b0.l.high; in mul_u64_u64_shr64()
37 rh.l.low = c = rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr64()
38 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr64()
/tools/testing/selftests/tc-testing/
Dtdc_helper.py50 for l in cmdlist:
51 if (type(l) == list):
52 print("\t" + str(l[0]))
54 print("\t" + str(l))
/tools/objtool/
Dobjtool.c52 int s, d, l, t; in objtool_create_backup() local
80 while ((l = read(s, buf, 4096)) > 0) { in objtool_create_backup()
83 t = write(d, base, l); in objtool_create_backup()
89 l -= t; in objtool_create_backup()
90 } while (l); in objtool_create_backup()
93 if (l < 0) { in objtool_create_backup()
/tools/lib/bpf/
Dbpf_tracing.h309 #define PT_REGS_PARM1(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
310 #define PT_REGS_PARM2(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
311 #define PT_REGS_PARM3(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
312 #define PT_REGS_PARM4(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
313 #define PT_REGS_PARM5(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
314 #define PT_REGS_RET(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
315 #define PT_REGS_FP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
316 #define PT_REGS_RC(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
317 #define PT_REGS_SP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
318 #define PT_REGS_IP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })
[all …]
/tools/perf/
Dbuiltin-kmem.c1411 struct alloc_stat *l = a; in ptr_cmp() local
1414 if (l->ptr < r->ptr) in ptr_cmp()
1416 else if (l->ptr > r->ptr) in ptr_cmp()
1428 struct alloc_stat *l = a; in slab_callsite_cmp() local
1431 if (l->call_site < r->call_site) in slab_callsite_cmp()
1433 else if (l->call_site > r->call_site) in slab_callsite_cmp()
1445 struct alloc_stat *l = a; in hit_cmp() local
1448 if (l->hit < r->hit) in hit_cmp()
1450 else if (l->hit > r->hit) in hit_cmp()
1462 struct alloc_stat *l = a; in bytes_cmp() local
[all …]
Dperf-with-kcore.sh111 …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/
Dmemfd_test.c239 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()
329 ssize_t l; in mfd_assert_write() local
339 l = write(fd, "\0\0\0\0", 4); in mfd_assert_write()
340 if (l != 4) { in mfd_assert_write()
409 ssize_t l; in mfd_fail_write() local
414 l = write(fd, "data", 4); in mfd_fail_write()
415 if (l != -EPERM) { in mfd_fail_write()
416 printf("expected EPERM on write(), but got %d: %m\n", (int)l); in mfd_fail_write()
[all …]
/tools/testing/radix-tree/
Dbenchmark.c20 int l, loops = 1; in benchmark_iter() local
27 for (l = 0; l < loops; l++) { in benchmark_iter()
/tools/perf/Documentation/
Dperf-bench.txt93 -l::
120 -l::
135 % perf bench sched pipe -l 1000 # loop 1000
158 -l::
169 -l::
182 -l::
193 -l::
/tools/testing/selftests/vm/
Dthuge-gen.c55 int l = 0; in ilog2() local
56 while ((1UL << l) < v) in ilog2()
57 l++; in ilog2()
58 return l; in ilog2()

1234