| /tools/testing/selftests/bpf/progs/ |
| D | test_attach_probe.c | 16 int handle_sys_nanosleep_entry(struct pt_regs *ctx) in handle_sys_nanosleep_entry() 25 int handle_sys_getpid_return(struct pt_regs *ctx) in handle_sys_getpid_return() 34 int handle_uprobe_entry(struct pt_regs *ctx) in handle_uprobe_entry() 43 int handle_uprobe_return(struct pt_regs *ctx) in handle_uprobe_return()
|
| D | sockopt_multi.c | 10 int _getsockopt_child(struct bpf_sockopt *ctx) in _getsockopt_child() 33 int _getsockopt_parent(struct bpf_sockopt *ctx) in _getsockopt_parent() 56 int _setsockopt(struct bpf_sockopt *ctx) in _setsockopt()
|
| D | test_xdp_meta.c | 9 #define ctx_ptr(ctx, mem) (void *)(unsigned long)ctx->mem argument 12 int ing_cls(struct __sk_buff *ctx) in ing_cls() 32 int ing_xdp(struct xdp_md *ctx) in ing_xdp()
|
| D | sockopt_inherit.c | 38 static __inline struct sockopt_inherit *get_storage(struct bpf_sockopt *ctx) in get_storage() 52 int _getsockopt(struct bpf_sockopt *ctx) in _getsockopt() 77 int _setsockopt(struct bpf_sockopt *ctx) in _setsockopt()
|
| D | test_xdp_vlan.c | 106 int xdp_prognum0(struct xdp_md *ctx) in xdp_prognum0() 148 int xdp_prognum1(struct xdp_md *ctx) in xdp_prognum1() 182 int xdp_prognum2(struct xdp_md *ctx) in xdp_prognum2() 241 int xdp_prognum3(struct xdp_md *ctx) in xdp_prognum3() 271 int _tc_progA(struct __sk_buff *ctx) in _tc_progA()
|
| D | socket_cookie_prog.c | 23 int set_cookie(struct bpf_sock_addr *ctx) in set_cookie() 42 int update_cookie(struct bpf_sock_ops *ctx) in update_cookie()
|
| D | sockopt_sk.c | 26 int _getsockopt(struct bpf_sockopt *ctx) in _getsockopt() 79 int _setsockopt(struct bpf_sockopt *ctx) in _setsockopt()
|
| D | xdping_kern.c | 59 static __always_inline int icmp_check(struct xdp_md *ctx, int type) in icmp_check() 90 int xdping_client(struct xdp_md *ctx) in xdping_client() 154 int xdping_server(struct xdp_md *ctx) in xdping_server()
|
| D | test_sysctl_prog.c | 22 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem() 43 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
|
| D | test_sysctl_loop1.c | 21 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem() 42 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
|
| D | test_sysctl_loop2.c | 21 static __attribute__((noinline)) int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem() 43 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
|
| D | test_tcp_check_syncookie_kern.c | 45 static __always_inline void check_syncookie(void *ctx, void *data, in check_syncookie() 160 int check_syncookie_xdp(struct xdp_md *ctx) in check_syncookie_xdp()
|
| D | loop2.c | 14 int while_true(volatile struct pt_regs* ctx) in while_true()
|
| D | xdp_dummy.c | 8 int xdp_dummy_prog(struct xdp_md *ctx) in xdp_dummy_prog()
|
| /tools/perf/util/ |
| D | stat-shadow.c | 30 int ctx; member 103 int ctx, in saved_value_lookup() 153 int ctx = 0; in evsel_context() local 198 int ctx, int cpu, u64 count) in update_runtime_stat() 215 int ctx = evsel_context(counter); in perf_stat__update_shadow_stats() local 402 enum stat_type type, int ctx, int cpu) in runtime_stat_avg() 414 enum stat_type type, int ctx, int cpu) in runtime_stat_n() 433 int ctx = evsel_context(evsel); in print_stalled_cycles_frontend() local 457 int ctx = evsel_context(evsel); in print_stalled_cycles_backend() local 478 int ctx = evsel_context(evsel); in print_branch_misses() local [all …]
|
| /tools/testing/selftests/x86/ |
| D | sigreturn.c | 307 static unsigned short *ssptr(ucontext_t *ctx) in ssptr() 313 static unsigned short *csptr(ucontext_t *ctx) in csptr() 323 static greg_t *ssptr(ucontext_t *ctx) in ssptr() 328 static greg_t *csptr(ucontext_t *ctx) in csptr() 394 static void validate_signal_ss(int sig, ucontext_t *ctx) in validate_signal_ss() 440 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr1() local 480 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigtrap() local 525 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr2() local
|
| D | sysret_rip.c | 71 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_for_sigreturn_test() local 87 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr1() local 115 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_for_fallthrough() local
|
| D | mov_ss_trap.c | 119 ucontext_t *ctx = ctx_void; in sigtrap() local 128 ucontext_t *ctx = ctx_void; in handle_and_return() local 136 ucontext_t *ctx = ctx_void; in handle_and_longjmp() local
|
| D | syscall_arg_fault.c | 69 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_or_sigbus() local 93 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigtrap() local 110 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigill() local
|
| /tools/perf/tests/ |
| D | expr.c | 9 static int test(struct parse_ctx *ctx, const char *e, double val2) in test() 25 struct parse_ctx ctx; in test__expr() local
|
| /tools/perf/arch/x86/tests/ |
| D | intel-pt-pkt-decoder-test.c | 23 enum intel_pt_pkt_ctx ctx; member 230 enum intel_pt_pkt_ctx ctx) in test_ctx_unchanged() 248 enum intel_pt_pkt_ctx ctx = d->ctx; in test_one() local
|
| /tools/perf/bench/ |
| D | sched-messaging.c | 82 static void *sender(struct sender_context *ctx) in sender() 110 static void *receiver(struct receiver_context* ctx) in receiver() 137 static pthread_t create_worker(void *ctx, void *(*func)(void *)) in create_worker() argument 206 struct receiver_context *ctx = malloc(sizeof(*ctx)); in group() local
|
| /tools/perf/ui/gtk/ |
| D | util.c | 13 struct perf_gtk_context *ctx; in perf_gtk__activate_context() local 22 int perf_gtk__deactivate_context(struct perf_gtk_context **ctx) in perf_gtk__deactivate_context()
|
| /tools/lib/subcmd/ |
| D | parse-options.c | 493 static void parse_options_start(struct parse_opt_ctx_t *ctx, in parse_options_start() 511 static int parse_options_step(struct parse_opt_ctx_t *ctx, in parse_options_step() 622 static int parse_options_end(struct parse_opt_ctx_t *ctx) in parse_options_end() 632 struct parse_opt_ctx_t ctx; in parse_options_subcommand() local 824 static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx) in option__in_argv() 857 struct parse_opt_ctx_t *ctx) in usage_with_options_internal()
|
| /tools/testing/selftests/bpf/ |
| D | test_hashmap.c | 22 size_t hash_fn(const void *k, void *ctx) in hash_fn() 27 bool equal_fn(const void *a, const void *b, void *ctx) in equal_fn() 252 size_t collision_hash_fn(const void *k, void *ctx) in collision_hash_fn()
|