Home
last modified time | relevance | path

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

/fs/
Dsignalfd.c255 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4() argument
274 if (ufd == -1) { in SYSCALL_DEFINE4()
285 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx, in SYSCALL_DEFINE4()
287 if (ufd < 0) in SYSCALL_DEFINE4()
290 struct fd f = fdget(ufd); in SYSCALL_DEFINE4()
306 return ufd; in SYSCALL_DEFINE4()
309 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3() argument
312 return sys_signalfd4(ufd, user_mask, sizemask, 0); in SYSCALL_DEFINE3()
316 COMPAT_SYSCALL_DEFINE4(signalfd4, int, ufd, in COMPAT_SYSCALL_DEFINE4() argument
334 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 …]