Home
last modified time | relevance | path

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

/fs/
Dselect.c313 #define FDS_IN(fds, n) (fds->in + n) argument
314 #define FDS_OUT(fds, n) (fds->out + n) argument
315 #define FDS_EX(fds, n) (fds->ex + n) argument
317 #define BITS(fds, n) (*FDS_IN(fds, n)|*FDS_OUT(fds, n)|*FDS_EX(fds, n)) argument
319 static int max_select_fd(unsigned long n, fd_set_bits *fds) in max_select_fd() argument
333 set &= BITS(fds, n); in max_select_fd()
343 set = BITS(fds, n); in max_select_fd()
365 int do_select(int n, fd_set_bits *fds, struct timespec *end_time) in do_select() argument
374 retval = max_select_fd(n, fds); in do_select()
395 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
[all …]
Dcompat.c1619 fd_set_bits fds; in compat_core_sys_select() local
1649 fds.in = (unsigned long *) bits; in compat_core_sys_select()
1650 fds.out = (unsigned long *) (bits + size); in compat_core_sys_select()
1651 fds.ex = (unsigned long *) (bits + 2*size); in compat_core_sys_select()
1652 fds.res_in = (unsigned long *) (bits + 3*size); in compat_core_sys_select()
1653 fds.res_out = (unsigned long *) (bits + 4*size); in compat_core_sys_select()
1654 fds.res_ex = (unsigned long *) (bits + 5*size); in compat_core_sys_select()
1656 if ((ret = compat_get_fd_set(n, inp, fds.in)) || in compat_core_sys_select()
1657 (ret = compat_get_fd_set(n, outp, fds.out)) || in compat_core_sys_select()
1658 (ret = compat_get_fd_set(n, exp, fds.ex))) in compat_core_sys_select()
[all …]
/fs/jffs2/
Dreadinode.c698 jffs2_add_fd_to_list(c, fd, &rii->fds); in read_direntry()
1136 jffs2_free_full_dirent_list(rii->fds); in jffs2_get_inode_nodes()
1137 rii->fds = NULL; in jffs2_get_inode_nodes()
1192 f->dents = rii.fds; in jffs2_do_read_inode_internal()
1200 if (!rii.fds) { in jffs2_do_read_inode_internal()
1424 struct jffs2_full_dirent *fd, *fds; in jffs2_do_clear_inode() local
1448 fds = f->dents; in jffs2_do_clear_inode()
1449 while(fds) { in jffs2_do_clear_inode()
1450 fd = fds; in jffs2_do_clear_inode()
1451 fds = fd->next; in jffs2_do_clear_inode()
Dnodelist.h246 struct jffs2_full_dirent *fds; member