Searched refs:ufd (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | signalfd.c | 253 static int do_signalfd4(int ufd, sigset_t *mask, int flags) in do_signalfd4() argument 267 if (ufd == -1) { in do_signalfd4() 278 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx, in do_signalfd4() 280 if (ufd < 0) in do_signalfd4() 283 struct fd f = fdget(ufd); in do_signalfd4() 299 return ufd; in do_signalfd4() 302 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4() argument 311 return do_signalfd4(ufd, &mask, flags); in SYSCALL_DEFINE4() 314 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3() argument 323 return do_signalfd4(ufd, &mask, 0); in SYSCALL_DEFINE3() [all …]
|
D | timerfd.c | 394 int ufd; in SYSCALL_DEFINE2() local 435 ufd = anon_inode_getfd(file_name_buf, &timerfd_fops, ctx, in SYSCALL_DEFINE2() 437 if (ufd < 0) in SYSCALL_DEFINE2() 440 return ufd; in SYSCALL_DEFINE2() 443 static int do_timerfd_settime(int ufd, int flags, in do_timerfd_settime() argument 455 ret = timerfd_fget(ufd, &f); in do_timerfd_settime() 515 static int do_timerfd_gettime(int ufd, struct itimerspec64 *t) in do_timerfd_gettime() argument 519 int ret = timerfd_fget(ufd, &f); in do_timerfd_gettime() 547 SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags, in SYSCALL_DEFINE4() argument 556 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4() [all …]
|
D | file.c | 1157 int __receive_fd(int fd, struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd() argument 1174 if (ufd) { in __receive_fd() 1175 error = put_user(new_fd, ufd); in __receive_fd()
|
D | userfaultfd.c | 1034 msg->arg.fork.ufd = fd; in resolve_userfault_fork()
|