Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 41) sorted by relevance

12

/samples/bpf/
Dtask_fd_query_kern.c8 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
14 int bpf_prog2(struct pt_regs *ctx) in bpf_prog2()
Dtest_overhead_raw_tp_kern.c7 int prog(struct bpf_raw_tracepoint_args *ctx) in prog()
13 int prog2(struct bpf_raw_tracepoint_args *ctx) in prog2()
Dmap_perf_test_kern.c99 int stress_hmap(struct pt_regs *ctx) in stress_hmap()
114 int stress_percpu_hmap(struct pt_regs *ctx) in stress_percpu_hmap()
128 int stress_hmap_alloc(struct pt_regs *ctx) in stress_hmap_alloc()
142 int stress_percpu_hmap_alloc(struct pt_regs *ctx) in stress_percpu_hmap_alloc()
156 int stress_lru_hmap_alloc(struct pt_regs *ctx) in stress_lru_hmap_alloc()
235 int stress_lpm_trie_map_alloc(struct pt_regs *ctx) in stress_lpm_trie_map_alloc()
257 int stress_hash_map_lookup(struct pt_regs *ctx) in stress_hash_map_lookup()
270 int stress_array_map_lookup(struct pt_regs *ctx) in stress_array_map_lookup()
Dsyscall_tp_kern.c48 int trace_enter_open(struct syscalls_enter_open_args *ctx) in trace_enter_open()
55 int trace_enter_open_at(struct syscalls_enter_open_args *ctx) in trace_enter_open_at()
62 int trace_enter_exit(struct syscalls_exit_open_args *ctx) in trace_enter_exit()
69 int trace_enter_exit_at(struct syscalls_exit_open_args *ctx) in trace_enter_exit_at()
Dxdp_fwd_kern.c43 static __always_inline int xdp_fwd_flags(struct xdp_md *ctx, u32 flags) in xdp_fwd_flags()
147 int xdp_fwd_prog(struct xdp_md *ctx) in xdp_fwd_prog()
153 int xdp_fwd_direct_prog(struct xdp_md *ctx) in xdp_fwd_direct_prog()
Dtest_overhead_kprobe_kern.c15 int prog(struct pt_regs *ctx) in prog()
35 int prog2(struct pt_regs *ctx) in prog2()
Dtracex6_kern.c26 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
47 int bpf_prog2(struct pt_regs *ctx) in bpf_prog2()
Dxdp_redirect_cpu_kern.c155 u16 get_dest_port_ipv4_udp(struct xdp_md *ctx, u64 nh_off) in get_dest_port_ipv4_udp()
177 int get_proto_ipv4(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv4()
189 int get_proto_ipv6(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv6()
201 int xdp_prognum0_no_touch(struct xdp_md *ctx) in xdp_prognum0_no_touch()
231 int xdp_prognum1_touch_data(struct xdp_md *ctx) in xdp_prognum1_touch_data()
274 int xdp_prognum2_round_robin(struct xdp_md *ctx) in xdp_prognum2_round_robin()
322 int xdp_prognum3_proto_separate(struct xdp_md *ctx) in xdp_prognum3_proto_separate()
390 int xdp_prognum4_ddos_filter_pktgen(struct xdp_md *ctx) in xdp_prognum4_ddos_filter_pktgen()
469 u32 get_ipv4_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv4_hash_ip_pair()
486 u32 get_ipv6_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv6_hash_ip_pair()
[all …]
Dtracex4_kern.c28 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
37 int bpf_prog2(struct pt_regs *ctx) in bpf_prog2()
Dxdp_monitor_kern.c45 int xdp_redirect_collect_stat(struct xdp_redirect_ctx *ctx) in xdp_redirect_collect_stat()
69 int trace_xdp_redirect_err(struct xdp_redirect_ctx *ctx) in trace_xdp_redirect_err()
76 int trace_xdp_redirect_map_err(struct xdp_redirect_ctx *ctx) in trace_xdp_redirect_map_err()
83 int trace_xdp_redirect(struct xdp_redirect_ctx *ctx) in trace_xdp_redirect()
90 int trace_xdp_redirect_map(struct xdp_redirect_ctx *ctx) in trace_xdp_redirect_map()
106 int trace_xdp_exception(struct xdp_exception_ctx *ctx) in trace_xdp_exception()
160 int trace_xdp_cpumap_enqueue(struct cpumap_enqueue_ctx *ctx) in trace_xdp_cpumap_enqueue()
195 int trace_xdp_cpumap_kthread(struct cpumap_kthread_ctx *ctx) in trace_xdp_cpumap_kthread()
236 int trace_xdp_devmap_xmit(struct devmap_xmit_ctx *ctx) in trace_xdp_devmap_xmit()
Dxdp2skb_meta_kern.c32 int _xdp_mark(struct xdp_md *ctx) in _xdp_mark()
63 int _tc_mark(struct __sk_buff *ctx) in _tc_mark()
Dtracex3_kern.c24 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
52 int bpf_prog2(struct pt_regs *ctx) in bpf_prog2()
Dxdp_redirect_kern.c56 int xdp_redirect_prog(struct xdp_md *ctx) in xdp_redirect_prog()
85 int xdp_redirect_dummy_prog(struct xdp_md *ctx) in xdp_redirect_dummy_prog()
Dtracex7_kern.c7 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
Dxdp_redirect_map_kern.c56 int xdp_redirect_map_prog(struct xdp_md *ctx) in xdp_redirect_map_prog()
87 int xdp_redirect_dummy_prog(struct xdp_md *ctx) in xdp_redirect_dummy_prog()
Dlathist_kern.c29 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
72 int bpf_prog2(struct pt_regs *ctx) in bpf_prog2()
Dtest_current_task_under_cgroup_kern.c30 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
Dtest_overhead_tp_kern.c19 int prog(struct task_rename *ctx) in prog()
32 int prog2(struct urandom_read *ctx) in prog2()
Dsampleip_kern.c23 int do_sample(struct bpf_perf_event_data *ctx) in do_sample()
Dtracex2_kern.c24 int bpf_prog2(struct pt_regs *ctx) in bpf_prog2()
80 int bpf_prog3(struct pt_regs *ctx) in bpf_prog3()
Dtest_probe_write_user_kern.c29 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
Dtrace_output_kern.c14 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
Doffwaketime_kern.c61 int waker(struct pt_regs *ctx) in waker()
76 static inline int update_counts(void *ctx, u32 pid, u64 delta) in update_counts()
118 int oncpu(struct sched_switch_args *ctx)
Dtracex1_kern.c21 int bpf_prog1(struct pt_regs *ctx) in bpf_prog1()
Dparse_ldabs.c20 static inline int ip_is_fragment(struct __sk_buff *ctx, __u64 nhoff) in ip_is_fragment()

12