Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 106) sorted by relevance

12345

/tools/bpf/bpftool/
A Dcfg.c48 #define func_prev(func) list_prev_entry(func, l) argument
49 #define func_next(func) list_next_entry(func, l) argument
52 #define entry_bb(func) func_first_bb(func) argument
53 #define exit_bb(func) func_last_bb(func) argument
69 return func; in cfg_append_func()
74 func = func_prev(func); in cfg_append_func()
137 if (!func) in cfg_partition_funcs()
146 if (!func) in cfg_partition_funcs()
154 func->end = func_next(func)->start - 1; in cfg_partition_funcs()
380 free(func); in cfg_destroy()
[all …]
/tools/testing/selftests/bpf/progs/
A Dexhandler_kern.c23 void *func; in BPF_PROG() local
39 func = work->func; in BPF_PROG()
47 barrier_var(func); in BPF_PROG()
48 if (func) in BPF_PROG()
A Dtest_core_read_macros.c12 void (*func)(struct callback_head___shuffled *head); member
44 k_probe_out = (long)BPF_PROBE_READ(&k_probe_in, next, next, func); in handler()
45 k_core_out = (long)BPF_CORE_READ(&k_core_in, next, next, func); in handler()
46 u_probe_out = (long)BPF_PROBE_READ_USER(u_probe_in, next, next, func); in handler()
47 u_core_out = (long)BPF_CORE_READ_USER(u_core_in, next, next, func); in handler()
A Dkfree_skb.c21 void (*func)(struct callback_head *head); member
65 void *func; in BPF_PROG() local
79 func = ptr->func; in BPF_PROG()
94 bpf_printk("rcuhead.next %llx func %llx\n", ptr, func); in BPF_PROG()
/tools/testing/selftests/bpf/prog_tests/
A Dcore_read_macros.c8 void (*func)(struct callback_head *head); member
18 void (*func)(struct callback_head *head); member
38 bss->k_probe_in.func = (void *)(long)0x1234; in test_core_read_macros()
39 bss->k_core_in.func = (void *)(long)0xabcd; in test_core_read_macros()
42 u_probe_in.func = (void *)(long)0x5678; in test_core_read_macros()
46 u_core_in.func = (void *)(long)0xdbca; in test_core_read_macros()
A Dlookup_key.c22 char *func; in libbpf_print_cb() local
27 func = va_arg(args, char *); in libbpf_print_cb()
29 if (strcmp(func, "bpf_lookup_user_key") && strcmp(func, "bpf_key_put") && in libbpf_print_cb()
30 strcmp(func, "bpf_lookup_system_key")) in libbpf_print_cb()
A Dresolve_btfids.c44 BTF_ID(func, func)
54 BTF_ID(func, func) in BTF_ID()
62 BTF_ID(func, func) in BTF_ID()
/tools/arch/x86/kcpuid/
A Dkcpuid.c191 if (!func->leafs) { in cpuid_store()
193 if (!func->leafs) in cpuid_store()
196 func->nr = 1; in cpuid_store()
198 s = func->nr; in cpuid_store()
199 func->leafs = realloc(func->leafs, (s + 1) * sizeof(*leaf)); in cpuid_store()
200 if (!func->leafs) in cpuid_store()
203 func->nr++; in cpuid_store()
227 if (!func->nr) in raw_dump_range()
370 if (!func->nr) in parse_line()
557 if (!func) in show_info()
[all …]
/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfunc_traceonoff_triggers.tc52 func="schedule"
59 func=".schedule"
64 echo "$func:traceoff" > set_ftrace_filter
108 echo "!$func:traceoff" >> set_ftrace_filter
120 echo "$func:traceon" > set_ftrace_filter
138 echo "!$func:traceon" >> set_ftrace_filter
156 echo "$func:traceoff:3" > set_ftrace_filter
164 echo "!$func:traceoff:0" > set_ftrace_filter
/tools/objtool/
A Dcheck.c69 if (!func) in next_insn_same_func()
76 if (func == func->cfunc) in next_insn_same_func()
113 for (insn = find_insn(file, func->sec, func->offset); \
255 #define NORETURN(func) __stringify(func), in __dead_end_function() argument
261 if (!func) in __dead_end_function()
279 insn = find_insn(file, func->sec, func->offset); in __dead_end_function()
514 if (func->embedded_insn || func->alias != func) in decode_instructions()
1558 dest_off == func->offset + func->len) in add_jump_destinations()
1664 if (func && func->ignore) in add_call_destinations()
3556 if (func && func->ignore) in validate_branch()
[all …]
A Dobjtool.c47 int objtool_pv_add(struct objtool_file *f, int idx, struct symbol *func) in objtool_pv_add() argument
61 if (!strcmp(func->name, "_paravirt_nop") || in objtool_pv_add()
62 !strcmp(func->name, "_paravirt_ident_64")) in objtool_pv_add()
66 if (!list_empty(&func->pv_target)) in objtool_pv_add()
69 list_add(&func->pv_target, &f->pv_ops[idx].targets); in objtool_pv_add()
/tools/power/cpupower/utils/helpers/
A Dpci.c27 int slot, int func, int vendor, int dev) in pci_acc_init() argument
40 filter_nb_link.func = func; in pci_acc_init()
58 int func) in pci_slot_func_init() argument
60 return pci_acc_init(pacc, 0, 0, slot, func, -1, -1); in pci_slot_func_init()
/tools/include/linux/
A Dstatic_call_types.h37 #define DECLARE_STATIC_CALL(name, func) \ argument
39 extern typeof(func) STATIC_CALL_TRAMP(name);
62 void *func; member
77 void *func; member
95 void *func; member
99 ((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
/tools/testing/selftests/bpf/test_kmods/
A Dbpf_testmod.c617 BTF_ID_FLAGS(func, bpf_kfunc_common_test)
618 BTF_ID_FLAGS(func, bpf_kfunc_dynptr_test)
634 BTF_ID(func, bpf_testmod_ctx_release)
1062 BTF_ID_FLAGS(func, bpf_kfunc_call_test1) in BTF_ID_FLAGS()
1063 BTF_ID_FLAGS(func, bpf_kfunc_call_test2) in BTF_ID_FLAGS()
1064 BTF_ID_FLAGS(func, bpf_kfunc_call_test3) in BTF_ID_FLAGS()
1065 BTF_ID_FLAGS(func, bpf_kfunc_call_test4) in BTF_ID_FLAGS()
1077 BTF_ID_FLAGS(func, bpf_kfunc_call_test_pass1) in BTF_ID_FLAGS()
1078 BTF_ID_FLAGS(func, bpf_kfunc_call_test_pass2) in BTF_ID_FLAGS()
1079 BTF_ID_FLAGS(func, bpf_kfunc_call_test_fail1) in BTF_ID_FLAGS()
[all …]
/tools/testing/ktest/examples/bootconfigs/
A Dboottrace.bconf12 fields = "unsigned long func", "u64 lat"
14 keys = func.sym,lat
20 keys = func;
24 keys = func
28 trace = initcall_latency, func, $lat
/tools/lib/api/
A Ddebug-internal.h7 #define __pr(func, fmt, ...) \ argument
9 if ((func)) \
10 (func)("libapi: " fmt, ##__VA_ARGS__); \
/tools/net/sunrpc/xdrgen/
A Dxdrgen68 definitions_parser.set_defaults(func=definitions.subcmd)
93 declarations_parser.set_defaults(func=declarations.subcmd)
97 linter_parser.set_defaults(func=lint.subcmd)
122 source_parser.set_defaults(func=source.subcmd)
125 return args.func(args)
/tools/testing/memblock/tests/
A Dcommon.h153 static inline void run_top_down(int (*func)()) in run_top_down() argument
157 func(); in run_top_down()
161 static inline void run_bottom_up(int (*func)()) in run_bottom_up() argument
165 func(); in run_bottom_up()
/tools/testing/selftests/cgroup/
A Dwith_stress.sh67 func=stress_$OPTARG
68 if [ "x$(type -t $func)" != "xfunction" ] ; then
72 stresses+=($func)
/tools/testing/selftests/timens/
A Dlog.h10 #define pr_p(func, fmt, ...) func(fmt ": %m", ##__VA_ARGS__) argument
/tools/testing/selftests/filesystems/overlayfs/
A Dlog.h10 #define pr_p(func, fmt, ...) func(fmt ": %m", ##__VA_ARGS__) argument
/tools/testing/shared/linux/
A Dradix-tree.h11 void (*func)(struct rcu_head *head)) in trace_call_rcu()
16 call_rcu(head, func); in trace_call_rcu()
/tools/bpf/bpftool/Documentation/
A Dbpftool-perf.rst56 pid 21711 fd 5: prog_id 5 kprobe func __x64_sys_write offset 0
57 pid 21765 fd 5: prog_id 7 kretprobe func __x64_sys_nanosleep offset 0
66 [{"pid":21711,"fd":5,"prog_id":5,"fd_type":"kprobe","func":"__x64_sys_write","offset":0}, \
67 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \
/tools/testing/selftests/openat2/
A Dhelpers.h66 #define E_func(func, ...) \ argument
69 if (func(__VA_ARGS__) < 0) \
71 __FILE__, __LINE__, #func, errno); \
/tools/perf/bench/
A Dsched-messaging.c151 void *ctx, void *(*func)(void *)) in create_thread_worker()
164 ret = pthread_create(&worker->thread, &attr, func, ctx); in create_thread_worker()
172 void *ctx, void *(*func)(void *)) in create_process_worker()
180 (*func) (ctx); in create_process_worker()
186 void *ctx, void *(*func)(void *)) in create_worker()
189 return create_process_worker(worker, ctx, func); in create_worker()
191 return create_thread_worker(worker, ctx, func); in create_worker()

Completed in 36 milliseconds

12345