Home
last modified time | relevance | path

Searched refs:ufd (Results 1 – 4 of 4) sorted by relevance

/fs/
Dsignalfd.c252 static int do_signalfd4(int ufd, sigset_t *mask, int flags) in do_signalfd4() argument
266 if (ufd == -1) { in do_signalfd4()
277 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx, in do_signalfd4()
279 if (ufd < 0) in do_signalfd4()
282 struct fd f = fdget(ufd); in do_signalfd4()
298 return ufd; in do_signalfd4()
301 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4() argument
310 return do_signalfd4(ufd, &mask, flags); in SYSCALL_DEFINE4()
313 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3() argument
322 return do_signalfd4(ufd, &mask, 0); in SYSCALL_DEFINE3()
[all …]
Dtimerfd.c410 int ufd; in SYSCALL_DEFINE2() local
451 ufd = anon_inode_getfd(file_name_buf, &timerfd_fops, ctx, in SYSCALL_DEFINE2()
453 if (ufd < 0) in SYSCALL_DEFINE2()
456 return ufd; in SYSCALL_DEFINE2()
459 static int do_timerfd_settime(int ufd, int flags, in do_timerfd_settime() argument
471 ret = timerfd_fget(ufd, &f); in do_timerfd_settime()
531 static int do_timerfd_gettime(int ufd, struct itimerspec64 *t) in do_timerfd_gettime() argument
535 int ret = timerfd_fget(ufd, &f); in do_timerfd_gettime()
563 SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags, in SYSCALL_DEFINE4() argument
572 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4()
[all …]
Dfile.c1210 int __receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd() argument
1223 if (ufd) { in __receive_fd()
1224 error = put_user(new_fd, ufd); in __receive_fd()
Duserfaultfd.c1030 msg->arg.fork.ufd = fd; in resolve_userfault_fork()