Searched refs:fds (Results 1 – 3 of 3) sorted by relevance
/io_uring/ |
A D | openclose.c | 310 int __user *fds; member 349 fds[0] = ret; in io_pipe_fixed() 362 fds[1] = ret; in io_pipe_fixed() 367 if (!copy_to_user(p->fds, fds, sizeof(fds))) in io_pipe_fixed() 373 if (fds[0] != -1) in io_pipe_fixed() 375 if (fds[1] != -1) in io_pipe_fixed() 389 fds[0] = ret; in io_pipe_fd() 394 fds[1] = ret; in io_pipe_fd() 396 if (!copy_to_user(p->fds, fds, sizeof(fds))) { in io_pipe_fd() 403 if (fds[0] != -1) in io_pipe_fd() [all …]
|
A D | eventfd.c | 119 __s32 __user *fds = arg; in io_eventfd_register() local 127 if (copy_from_user(&fd, fds, sizeof(*fds))) in io_eventfd_register()
|
A D | rsrc.c | 228 __s32 __user *fds = u64_to_user_ptr(up->data); in __io_sqe_files_update() local 241 copy_from_user(&fd, &fds[done], sizeof(fd))) { in __io_sqe_files_update() 447 __s32 __user *fds = u64_to_user_ptr(up->arg); in io_files_update_with_index_alloc() local 456 if (copy_from_user(&fd, &fds[done], sizeof(fd))) { in io_files_update_with_index_alloc() 470 if (copy_to_user(&fds[done], &ret, sizeof(ret))) { in io_files_update_with_index_alloc() 544 __s32 __user *fds = (__s32 __user *) arg; in io_sqe_files_register() local 567 if (fds && copy_from_user(&fd, &fds[i], sizeof(fd))) in io_sqe_files_register() 570 if (!fds || fd == -1) { in io_sqe_files_register()
|
Completed in 7 milliseconds