Home
last modified time | relevance | path

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

/fs/
Dselect.c413 #define FDS_IN(fds, n) (fds->in + n) argument
414 #define FDS_OUT(fds, n) (fds->out + n) argument
415 #define FDS_EX(fds, n) (fds->ex + n) argument
417 #define BITS(fds, n) (*FDS_IN(fds, n)|*FDS_OUT(fds, n)|*FDS_EX(fds, n)) argument
419 static int max_select_fd(unsigned long n, fd_set_bits *fds) in max_select_fd() argument
433 set &= BITS(fds, n); in max_select_fd()
443 set = BITS(fds, n); in max_select_fd()
476 static int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select() argument
487 retval = max_select_fd(n, fds); in do_select()
509 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
[all …]
Dio_uring.c3132 __s32 __user *fds = (__s32 __user *) arg; in io_sqe_files_register() local
3149 if (copy_from_user(&fd, &fds[i], sizeof(fd))) in io_sqe_files_register()
3544 __s32 __user *fds = arg; in io_eventfd_register() local
3550 if (copy_from_user(&fd, fds, sizeof(*fds))) in io_eventfd_register()
/fs/jffs2/
Dreadinode.c685 jffs2_add_fd_to_list(c, fd, &rii->fds); in read_direntry()
1123 jffs2_free_full_dirent_list(rii->fds); in jffs2_get_inode_nodes()
1124 rii->fds = NULL; in jffs2_get_inode_nodes()
1179 f->dents = rii.fds; in jffs2_do_read_inode_internal()
1187 if (!rii.fds) { in jffs2_do_read_inode_internal()
1399 struct jffs2_full_dirent *fd, *fds; in jffs2_do_clear_inode() local
1417 fds = f->dents; in jffs2_do_clear_inode()
1418 while(fds) { in jffs2_do_clear_inode()
1419 fd = fds; in jffs2_do_clear_inode()
1420 fds = fd->next; in jffs2_do_clear_inode()
Dnodelist.h247 struct jffs2_full_dirent *fds; member