Lines Matching refs:ubuf
3183 char __user *ubuf = u64_to_user_ptr(info->raw_tracepoint.tp_name); in bpf_raw_tp_link_fill_link_info() local
3188 if (!ulen ^ !ubuf) in bpf_raw_tp_link_fill_link_info()
3193 if (!ubuf) in bpf_raw_tp_link_fill_link_info()
3197 if (copy_to_user(ubuf, tp_name, tp_len + 1)) in bpf_raw_tp_link_fill_link_info()
3202 if (copy_to_user(ubuf, tp_name, ulen - 1)) in bpf_raw_tp_link_fill_link_info()
3204 if (put_user(zero, ubuf + ulen - 1)) in bpf_raw_tp_link_fill_link_info()
4366 char __user *ubuf = u64_to_user_ptr(attr->task_fd_query.buf); in bpf_task_fd_query_copy() local
4373 if (input_len && ubuf) { in bpf_task_fd_query_copy()
4378 if (put_user(zero, ubuf)) in bpf_task_fd_query_copy()
4382 if (copy_to_user(ubuf, buf, len + 1)) in bpf_task_fd_query_copy()
4391 if (copy_to_user(ubuf, buf, input_len - 1)) in bpf_task_fd_query_copy()
4393 if (put_user(zero, ubuf + input_len - 1)) in bpf_task_fd_query_copy()