Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Dselect.c387 int get_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in get_fd_set() argument
391 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set()
393 memset(fdset, 0, nr); in get_fd_set()
398 set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in set_fd_set() argument
401 return __copy_to_user(ufdset, fdset, FDS_BYTES(nr)); in set_fd_set()
406 void zero_fd_set(unsigned long nr, unsigned long *fdset) in zero_fd_set() argument
408 memset(fdset, 0, FDS_BYTES(nr)); in zero_fd_set()
1161 unsigned long *fdset) in compat_get_fd_set() argument
1164 return compat_get_bitmap(fdset, ufdset, nr); in compat_get_fd_set()
1166 zero_fd_set(nr, fdset); in compat_get_fd_set()
[all …]