Home
last modified time | relevance | path

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

/fs/
Dsignalfd.c245 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4() argument
264 if (ufd == -1) { in SYSCALL_DEFINE4()
275 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx, in SYSCALL_DEFINE4()
277 if (ufd < 0) in SYSCALL_DEFINE4()
280 struct fd f = fdget(ufd); in SYSCALL_DEFINE4()
296 return ufd; in SYSCALL_DEFINE4()
299 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3() argument
302 return sys_signalfd4(ufd, user_mask, sizemask, 0); in SYSCALL_DEFINE3()
306 COMPAT_SYSCALL_DEFINE4(signalfd4, int, ufd, in COMPAT_SYSCALL_DEFINE4() argument
324 return sys_signalfd4(ufd, ksigmask, sizeof(sigset_t), flags); in COMPAT_SYSCALL_DEFINE4()
[all …]
Dtimerfd.c388 int ufd; in SYSCALL_DEFINE2() local
426 ufd = anon_inode_getfd("[timerfd]", &timerfd_fops, ctx, in SYSCALL_DEFINE2()
428 if (ufd < 0) in SYSCALL_DEFINE2()
431 return ufd; in SYSCALL_DEFINE2()
434 static int do_timerfd_settime(int ufd, int flags, in do_timerfd_settime() argument
447 ret = timerfd_fget(ufd, &f); in do_timerfd_settime()
503 static int do_timerfd_gettime(int ufd, struct itimerspec *t) in do_timerfd_gettime() argument
507 int ret = timerfd_fget(ufd, &f); in do_timerfd_gettime()
535 SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags, in SYSCALL_DEFINE4() argument
544 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4()
[all …]