Searched refs:task_fd_query (Results 1 – 6 of 6) sorted by relevance
1221 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 …]
19 task_fd_query
46 tprogs-y += task_fd_query96 task_fd_query-objs := task_fd_query_user.o $(TRACE_HELPERS)
4826 char __user *ubuf = u64_to_user_ptr(attr->task_fd_query.buf); in bpf_task_fd_query_copy()4830 if (put_user(len, &uattr->task_fd_query.buf_len)) in bpf_task_fd_query_copy()4832 input_len = attr->task_fd_query.buf_len; in bpf_task_fd_query_copy()4858 if (put_user(prog_id, &uattr->task_fd_query.prog_id) || in bpf_task_fd_query_copy()4859 put_user(fd_type, &uattr->task_fd_query.fd_type) || in bpf_task_fd_query_copy()4860 put_user(probe_offset, &uattr->task_fd_query.probe_offset) || in bpf_task_fd_query_copy()4861 put_user(probe_addr, &uattr->task_fd_query.probe_addr)) in bpf_task_fd_query_copy()4867 #define BPF_TASK_FD_QUERY_LAST_FIELD task_fd_query.probe_addr4872 pid_t pid = attr->task_fd_query.pid; in bpf_task_fd_query()4873 u32 fd = attr->task_fd_query.fd; in bpf_task_fd_query()[all …]
1600 } task_fd_query; member