Home
last modified time | relevance | path

Searched refs:bpf_probe_read_user (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dpyperf.h80 bpf_probe_read_user(&key, sizeof(key), (void*)(long)pidData->tls_key_addr); in get_thread_state()
81 bpf_probe_read_user(&thread_state, sizeof(thread_state), in get_thread_state()
90 bpf_probe_read_user(&frame->f_back, in get_frame_data()
93 bpf_probe_read_user(&frame->f_code, in get_frame_data()
100 bpf_probe_read_user(&frame->co_filename, in get_frame_data()
103 bpf_probe_read_user(&frame->co_name, in get_frame_data()
242 bpf_probe_read_user(&thread_state_current, in __on_event()
256 bpf_probe_read_user(&pthread_self, sizeof(pthread_self), in __on_event()
259 bpf_probe_read_user(&pthread_created, in __on_event()
274 bpf_probe_read_user(&frame_ptr, in __on_event()
Dtest_vmlinux.c28 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in handle__tp()
46 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in BPF_PROG()
64 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in BPF_PROG()
Dtest_probe_user.c14 bpf_probe_read_user(&old, sizeof(old), uservaddr); in handle_sys_connect_common()
39 bpf_probe_read_user(&uservaddr, sizeof(uservaddr), &args[1]); in BPF_KSYSCALL()
Dstrobemeta.h316 bpf_probe_read_user(&tls_index, sizeof(struct tls_index), in calc_location()
321 bpf_probe_read_user(&dtv, sizeof(dtv), in calc_location()
327 bpf_probe_read_user(&tls_ptr, sizeof(void *), dtv); in calc_location()
348 bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location); in read_int_var()
368 bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location); in read_str_var()
403 bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location); in read_map_var()
404 if (bpf_probe_read_user(&map, sizeof(struct strobe_map_raw), value->ptr)) in read_map_var()
/linux-6.1.9/samples/bpf/
Dtest_map_in_map_kern.c122 ret = bpf_probe_read_user(dst6, sizeof(dst6), &in6->sin6_addr); in trace_sys_connect()
133 ret = bpf_probe_read_user(&port, sizeof(port), &in6->sin6_port); in trace_sys_connect()
Dtest_probe_write_user_kern.c43 if (bpf_probe_read_user(&orig_addr, sizeof(orig_addr), sockaddr_arg) != 0) in SYSCALL()
Dmap_perf_test_kern.c202 ret = bpf_probe_read_user(test_params.dst6, sizeof(test_params.dst6), in SYSCALL()
/linux-6.1.9/tools/lib/bpf/
Dbpf_core_read.h250 bpf_probe_read_user(dst, sz, (const void *)__builtin_preserve_access_index(src))
377 ___core_read(bpf_probe_read_user, bpf_probe_read_user, \
414 ___core_read(bpf_probe_read_user_str, bpf_probe_read_user, \
Dusdt.bpf.h165 err = bpf_probe_read_user(&val, sizeof(val), (void *)val + arg_spec->val_off); in bpf_usdt_arg()
/linux-6.1.9/kernel/trace/
Dbpf_trace.c173 BPF_CALL_3(bpf_probe_read_user, void *, dst, u32, size, in BPF_CALL_3() argument
180 .func = bpf_probe_read_user,