Home
last modified time | relevance | path

Searched refs:task_fd_query (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/tools/lib/bpf/
Dbpf.c1221 const size_t attr_sz = offsetofend(union bpf_attr, task_fd_query); in bpf_task_fd_query()
1226 attr.task_fd_query.pid = pid; in bpf_task_fd_query()
1227 attr.task_fd_query.fd = fd; in bpf_task_fd_query()
1228 attr.task_fd_query.flags = flags; in bpf_task_fd_query()
1229 attr.task_fd_query.buf = ptr_to_u64(buf); in bpf_task_fd_query()
1230 attr.task_fd_query.buf_len = *buf_len; in bpf_task_fd_query()
1234 *buf_len = attr.task_fd_query.buf_len; in bpf_task_fd_query()
1235 *prog_id = attr.task_fd_query.prog_id; in bpf_task_fd_query()
1236 *fd_type = attr.task_fd_query.fd_type; in bpf_task_fd_query()
1237 *probe_offset = attr.task_fd_query.probe_offset; in bpf_task_fd_query()
[all …]
/Linux-v6.6/samples/bpf/
D.gitignore19 task_fd_query
DMakefile46 tprogs-y += task_fd_query
96 task_fd_query-objs := task_fd_query_user.o $(TRACE_HELPERS)
/Linux-v6.6/kernel/bpf/
Dsyscall.c4722 char __user *ubuf = u64_to_user_ptr(attr->task_fd_query.buf); in bpf_task_fd_query_copy()
4726 if (put_user(len, &uattr->task_fd_query.buf_len)) in bpf_task_fd_query_copy()
4728 input_len = attr->task_fd_query.buf_len; in bpf_task_fd_query_copy()
4754 if (put_user(prog_id, &uattr->task_fd_query.prog_id) || in bpf_task_fd_query_copy()
4755 put_user(fd_type, &uattr->task_fd_query.fd_type) || in bpf_task_fd_query_copy()
4756 put_user(probe_offset, &uattr->task_fd_query.probe_offset) || in bpf_task_fd_query_copy()
4757 put_user(probe_addr, &uattr->task_fd_query.probe_addr)) in bpf_task_fd_query_copy()
4763 #define BPF_TASK_FD_QUERY_LAST_FIELD task_fd_query.probe_addr
4768 pid_t pid = attr->task_fd_query.pid; in bpf_task_fd_query()
4769 u32 fd = attr->task_fd_query.fd; in bpf_task_fd_query()
[all …]
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1583 } task_fd_query; member
/Linux-v6.6/include/uapi/linux/
Dbpf.h1583 } task_fd_query; member