Searched refs:ufdset (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/include/linux/ |
D | poll.h | 107 int get_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in get_fd_set() argument 110 if (ufdset) in get_fd_set() 111 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set() 118 set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in set_fd_set() argument 120 if (ufdset) in set_fd_set() 121 return __copy_to_user(ufdset, fdset, FDS_BYTES(nr)); in set_fd_set()
|
/linux-2.6.39/fs/ |
D | compat.c | 1602 int compat_get_fd_set(unsigned long nr, compat_ulong_t __user *ufdset, in compat_get_fd_set() argument 1606 if (ufdset) { in compat_get_fd_set() 1609 if (!access_ok(VERIFY_WRITE, ufdset, nr*sizeof(compat_ulong_t))) in compat_get_fd_set() 1616 if (__get_user(l, ufdset) || __get_user(h, ufdset+1)) in compat_get_fd_set() 1618 ufdset += 2; in compat_get_fd_set() 1622 if (odd && __get_user(*fdset, ufdset)) in compat_get_fd_set() 1635 int compat_set_fd_set(unsigned long nr, compat_ulong_t __user *ufdset, in compat_set_fd_set() argument 1641 if (!ufdset) in compat_set_fd_set() 1650 if (__put_user(l, ufdset) || __put_user(h, ufdset+1)) in compat_set_fd_set() 1652 ufdset += 2; in compat_set_fd_set() [all …]
|