Home
last modified time | relevance | path

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

/fs/
Dtimerfd.c319 int ufd; in SYSCALL_DEFINE2() local
352 ufd = anon_inode_getfd("[timerfd]", &timerfd_fops, ctx, in SYSCALL_DEFINE2()
354 if (ufd < 0) in SYSCALL_DEFINE2()
357 return ufd; in SYSCALL_DEFINE2()
360 static int do_timerfd_settime(int ufd, int flags, in do_timerfd_settime() argument
373 ret = timerfd_fget(ufd, &f); in do_timerfd_settime()
424 static int do_timerfd_gettime(int ufd, struct itimerspec *t) in do_timerfd_gettime() argument
428 int ret = timerfd_fget(ufd, &f); in do_timerfd_gettime()
456 SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags, in SYSCALL_DEFINE4() argument
465 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4()
[all …]
Dsignalfd.c256 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4() argument
275 if (ufd == -1) { in SYSCALL_DEFINE4()
286 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx, in SYSCALL_DEFINE4()
288 if (ufd < 0) in SYSCALL_DEFINE4()
291 struct fd f = fdget(ufd); in SYSCALL_DEFINE4()
307 return ufd; in SYSCALL_DEFINE4()
310 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3() argument
313 return sys_signalfd4(ufd, user_mask, sizemask, 0); in SYSCALL_DEFINE3()
317 COMPAT_SYSCALL_DEFINE4(signalfd4, int, ufd, in COMPAT_SYSCALL_DEFINE4() argument
335 return sys_signalfd4(ufd, ksigmask, sizeof(sigset_t), flags); in COMPAT_SYSCALL_DEFINE4()
[all …]