| /tools/perf/tests/shell/ |
| A D | stat+std_output.sh | 32 local prefix=1 36 in "--interval") prefix=2 37 ;; "--per-thread") prefix=2 38 ;; "--system-wide-no-aggr") prefix=2 39 ;; "--per-core") prefix=3 40 ;; "--per-socket") prefix=3 41 ;; "--per-node") prefix=3 42 ;; "--per-die") prefix=3 43 ;; "--per-cache") prefix=3 44 ;; "--per-cluster") prefix=3 [all …]
|
| /tools/perf/trace/beauty/ |
| A D | mmap_prot.sh | 16 prefix="PROT" 19 …pace:]]*define[[:space:]]+%s_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' ${prefix}` 25 …xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n… 30 …xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n…
|
| A D | seccomp.c | 12 const char *prefix = "SECCOMP_SET_MODE_"; in syscall_arg__scnprintf_seccomp_op() local 17 …e SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break in syscall_arg__scnprintf_seccomp_op() 37 const char *prefix = "SECCOMP_FILTER_FLAG_"; in syscall_arg__scnprintf_seccomp_flags() local 42 …rintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_seccomp_flags()
|
| A D | sched_policy.c | 21 const char *prefix = "SCHED_"; in syscall_arg__scnprintf_sched_policy() local 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); in syscall_arg__scnprintf_sched_policy() 37 printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_sched_policy()
|
| A D | open_flags.c | 27 const char *prefix = "O_"; in open__scnprintf_flags() local 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); in open__scnprintf_flags() 36 …rintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in open__scnprintf_flags() 63 …ntf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", "SYNC"); in open__scnprintf_flags()
|
| A D | futex_op.c | 23 const char *prefix = "FUTEX_"; in syscall_arg__scnprintf_futex_op() local 37 #define P_FUTEX_OP(n) case FUTEX_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : … in syscall_arg__scnprintf_futex_op() 55 …printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "PRIVATE_FL… in syscall_arg__scnprintf_futex_op() 58 …printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "CLOCK_REAL… in syscall_arg__scnprintf_futex_op()
|
| A D | futex_val3.c | 10 const char *prefix = "FUTEX_BITSET_"; in syscall_arg__scnprintf_futex_val3() local 14 return scnprintf(bf, size, "%s%s", arg->show_string_prefix ? prefix : "", "MATCH_ANY"); in syscall_arg__scnprintf_futex_val3()
|
| A D | x86_arch_prctl.sh | 11 prefix=$2 16 …e:]]*#[[:space:]]*define[[:space:]]+ARCH_([[:alnum:]_]+)[[:space:]]+(%s[[:xdigit:]]+).*' ${prefix}`
|
| /tools/testing/selftests/powerpc/pmu/ebb/ |
| A D | trace.c | 239 trace_print_header(seq, *prefix); in trace_print_entry() 243 trace_print_header(seq, *prefix); in trace_print_entry() 247 trace_print_header(seq, *prefix); in trace_print_entry() 251 trace_print_header(seq, *prefix); in trace_print_entry() 253 *prefix += PREFIX_DELTA; in trace_print_entry() 256 *prefix -= PREFIX_DELTA; in trace_print_entry() 257 if (*prefix < BASE_PREFIX) in trace_print_entry() 258 *prefix = BASE_PREFIX; in trace_print_entry() 259 trace_print_header(seq, *prefix); in trace_print_entry() 272 int i, prefix; in trace_buffer_print() local [all …]
|
| /tools/include/linux/ |
| A D | btf_ids.h | 51 #define __ID(prefix) \ argument 52 __PASTE(__PASTE(prefix, __COUNTER__), __LINE__) 58 #define BTF_ID(prefix, name) \ argument 59 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__)) 93 #define BTF_ID_LIST_SINGLE(name, prefix, typename) \ argument 95 BTF_ID(prefix, typename) 96 #define BTF_ID_LIST_GLOBAL_SINGLE(name, prefix, typename) \ argument 98 BTF_ID(prefix, typename) 161 #define BTF_ID(prefix, name) argument 164 #define BTF_ID_LIST_SINGLE(name, prefix, typename) static u32 __maybe_unused name[1]; argument [all …]
|
| A D | string.h | 42 static inline bool strstarts(const char *str, const char *prefix) in strstarts() argument 44 return strncmp(str, prefix, strlen(prefix)) == 0; in strstarts()
|
| A D | compiler.h | 14 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument 16 extern void prefix ## suffix(void) __compiletime_error(msg); \ 18 prefix ## suffix(); \ 21 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument 24 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument 25 __compiletime_assert(condition, msg, prefix, suffix)
|
| /tools/lib/ |
| A D | string.c | 209 unsigned int words, prefix; in memchr_inv() local 219 prefix = (unsigned long)start % 8; in memchr_inv() 220 if (prefix) { in memchr_inv() 223 prefix = 8 - prefix; in memchr_inv() 224 r = check_bytes8(start, value, prefix); in memchr_inv() 227 start += prefix; in memchr_inv() 228 bytes -= prefix; in memchr_inv()
|
| /tools/net/ynl/ |
| A D | Makefile | 6 prefix ?= /usr macro 12 libdir ?= $(prefix)/$(libdir_relative) 13 includedir ?= $(prefix)/include 49 @pip install --prefix=$(DESTDIR)$(prefix) .
|
| /tools/gpio/ |
| A D | gpio-utils.h | 21 static inline int check_prefix(const char *str, const char *prefix) in check_prefix() argument 23 return strlen(str) > strlen(prefix) && in check_prefix() 24 strncmp(str, prefix, strlen(prefix)) == 0; in check_prefix()
|
| /tools/verification/rvgen/ |
| A D | Makefile | 3 prefix ?= /usr macro 4 bindir ?= $(prefix)/bin 5 mandir ?= $(prefix)/share/man 6 srcdir ?= $(prefix)/src
|
| /tools/testing/selftests/net/tcp_ao/lib/ |
| A D | aolib.h | 175 int family, unsigned int prefix, in test_init2() argument 281 union tcp_addr addr, uint8_t prefix); 363 if (prefix > DEFAULT_TEST_PREFIX) in test_set_md5() 364 prefix = DEFAULT_TEST_PREFIX; in test_set_md5() 368 prefix, vrf, password); in test_set_md5() 373 uint8_t prefix, uint8_t vrf, 380 uint8_t prefix, uint8_t vrf, in test_prepare_key() argument 397 if (prefix > DEFAULT_TEST_PREFIX) in test_prepare_def_key() 398 prefix = DEFAULT_TEST_PREFIX; in test_prepare_def_key() 401 prefix, vrf, sndid, rcvid, 0, keyflags, in test_prepare_def_key() [all …]
|
| /tools/lib/perf/ |
| A D | libperf.pc.template | 3 prefix=@PREFIX@ 5 includedir=${prefix}/include
|
| /tools/lib/bpf/ |
| A D | libbpf.pc.template | 3 prefix=@PREFIX@ 5 includedir=${prefix}/include
|
| /tools/thermal/lib/ |
| A D | libthermal_tools.pc.template | 3 prefix=@PREFIX@ 5 includedir=${prefix}/include
|
| /tools/lib/thermal/ |
| A D | libthermal.pc.template | 3 prefix=@PREFIX@ 5 includedir=${prefix}/include
|
| /tools/testing/selftests/net/tcp_ao/ |
| A D | connect-deny.c | 10 union tcp_addr in_addr, uint8_t prefix, in test_add_key_maclen() argument 16 if (prefix > DEFAULT_TEST_PREFIX) in test_add_key_maclen() 17 prefix = DEFAULT_TEST_PREFIX; in test_add_key_maclen() 20 prefix, 0, sndid, rcvid, maclen, in test_add_key_maclen() 33 union tcp_addr addr, uint8_t prefix, in try_accept() argument 45 if (pwd && test_add_key_maclen(lsk, pwd, maclen, addr, prefix, sndid, rcvid)) in try_accept() 167 const char *pwd, union tcp_addr addr, uint8_t prefix, in try_connect() argument 178 if (pwd && test_add_key(sk, pwd, addr, prefix, sndid, rcvid)) in try_connect()
|
| /tools/perf/arch/x86/util/ |
| A D | perf_regs.c | 215 char prefix[3] = {0}; in arch_sdt_arg_parse_op() local 246 prefix[0] = *(old_op + rm[1].rm_so); in arch_sdt_arg_parse_op() 248 prefix[0] = '+'; in arch_sdt_arg_parse_op() 250 scnprintf(prefix, sizeof(prefix), "+0"); in arch_sdt_arg_parse_op() 258 new_len = strlen(prefix) + in arch_sdt_arg_parse_op() 270 strlen(prefix), prefix, in arch_sdt_arg_parse_op()
|
| /tools/perf/util/ |
| A D | jitdump.c | 141 struct jr_prefix *prefix; in jit_open() local 251 struct jr_prefix *prefix; in jit_get_next_entry() local 263 sz = sizeof(*prefix); in jit_get_next_entry() 272 prefix = jd->buf; in jit_get_next_entry() 277 ret = fread(prefix, sizeof(*prefix), 1, jd->in); in jit_get_next_entry() 282 prefix->id = bswap_32(prefix->id); in jit_get_next_entry() 283 prefix->total_size = bswap_32(prefix->total_size); in jit_get_next_entry() 284 prefix->timestamp = bswap_64(prefix->timestamp); in jit_get_next_entry() 286 id = prefix->id; in jit_get_next_entry() 290 if (bs < sizeof(*prefix)) in jit_get_next_entry() [all …]
|
| /tools/iio/ |
| A D | lsiio.c | 28 static inline int check_prefix(const char *str, const char *prefix) in check_prefix() argument 30 return strlen(str) > strlen(prefix) && in check_prefix() 31 strncmp(str, prefix, strlen(prefix)) == 0; in check_prefix()
|