Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/asm-ppc/
Dposix_types.h45 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
46 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d))
47 #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d))
62 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
70 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
78 return (p->fds_bits[_tmp] & (1UL<<_rem)) != 0; in __FD_ISSET()
88 unsigned int *tmp = (unsigned int *)p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-ppc64/
Dposix_types.h47 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
48 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d))
49 #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d))
64 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
72 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
80 return (p->fds_bits[_tmp] & (1UL<<_rem)) != 0; in __FD_ISSET()
90 unsigned long *tmp = (unsigned long *)p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-ia64/
Dposix_types.h50 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
51 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d))
52 #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0)
65 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
73 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
81 return (p->fds_bits[_tmp] & (1UL<<_rem)) != 0; in __FD_ISSET()
91 unsigned long *tmp = p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-alpha/
Dposix_types.h45 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
46 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d))
47 #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0)
60 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
68 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
76 return (p->fds_bits[_tmp] & (1UL<<_rem)) != 0; in __FD_ISSET()
86 unsigned long *tmp = p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-sh/
Dposix_types.h54 __fdsetp->fds_bits[__tmp] |= (1UL<<__rem); in __FD_SET()
62 __fdsetp->fds_bits[__tmp] &= ~(1UL<<__rem); in __FD_CLR()
71 return (__p->fds_bits[__tmp] & (1UL<<__rem)) != 0; in __FD_ISSET()
81 unsigned long *__tmp = __p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-mips/
Dposix_types.h57 __fdsetp->fds_bits[__tmp] |= (1UL<<__rem); in __FD_SET()
65 __fdsetp->fds_bits[__tmp] &= ~(1UL<<__rem); in __FD_CLR()
73 return (__p->fds_bits[__tmp] & (1UL<<__rem)) != 0; in __FD_ISSET()
83 unsigned long *__tmp = __p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-sh64/
Dposix_types.h62 __fdsetp->fds_bits[__tmp] |= (1UL<<__rem); in __FD_SET()
70 __fdsetp->fds_bits[__tmp] &= ~(1UL<<__rem); in __FD_CLR()
79 return (__p->fds_bits[__tmp] & (1UL<<__rem)) != 0; in __FD_ISSET()
89 unsigned long *__tmp = __p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-mips64/
Dposix_types.h78 __fdsetp->fds_bits[__tmp] |= (1UL<<__rem); in __FD_SET()
86 __fdsetp->fds_bits[__tmp] &= ~(1UL<<__rem); in __FD_CLR()
94 return (__p->fds_bits[__tmp] & (1UL<<__rem)) != 0; in __FD_ISSET()
104 unsigned long *__tmp = __p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-x86_64/
Dposix_types.h50 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
58 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
66 return (p->fds_bits[_tmp] & (1UL<<_rem)) != 0; in __FD_ISSET()
76 unsigned long *tmp = p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-parisc/
Dposix_types.h86 __fdsetp->fds_bits[__tmp] |= (1UL<<__rem); in __FD_SET()
94 __fdsetp->fds_bits[__tmp] &= ~(1UL<<__rem); in __FD_CLR()
102 return (__p->fds_bits[__tmp] & (1UL<<__rem)) != 0; in __FD_ISSET()
112 unsigned long *__tmp = __p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-sparc/
Dposix_types.h54 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
62 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
70 return (p->fds_bits[_tmp] & (1UL<<_rem)) != 0; in __FD_ISSET()
80 unsigned long *tmp = p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/include/asm-arm/
Dposix_types.h63 (((fd_set *)fdsetp)->fds_bits[fd >> 5] |= (1<<(fd & 31)))
67 (((fd_set *)fdsetp)->fds_bits[fd >> 5] &= ~(1<<(fd & 31)))
71 ((((fd_set *)fdsetp)->fds_bits[fd >> 5] & (1<<(fd & 31))) != 0)
/linux-2.4.37.9/include/asm-m68k/
Dposix_types.h50 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
53 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d))
56 #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d))
/linux-2.4.37.9/include/asm-sparc64/
Dposix_types.h78 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
86 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
94 return (p->fds_bits[_tmp] & (1UL<<_rem)) != 0; in __FD_ISSET()
104 unsigned long *tmp = p->fds_bits; in __FD_ZERO()
/linux-2.4.37.9/kernel/
Dfork.c429 if (files->open_fds->fds_bits[--i]) in count_open_files()
511 memcpy(newf->open_fds->fds_bits, oldf->open_fds->fds_bits, open_files/8); in copy_files()
512 memcpy(newf->close_on_exec->fds_bits, oldf->close_on_exec->fds_bits, open_files/8); in copy_files()
541 memset(&newf->open_fds->fds_bits[start], 0, left); in copy_files()
542 memset(&newf->close_on_exec->fds_bits[start], 0, left); in copy_files()
Dexit.c190 set = files->open_fds->fds_bits[j++]; in close_files()
/linux-2.4.37.9/include/linux/
Dposix_types.h37 unsigned long fds_bits [__FDSET_LONGS]; member
/linux-2.4.37.9/fs/
Dfile.c210 memset (&new_openset->fds_bits[i], 0, count); in expand_fdset()
211 memset (&new_execset->fds_bits[i], 0, count); in expand_fdset()
Dexec.c533 set = files->close_on_exec->fds_bits[j]; in flush_old_files()
536 files->close_on_exec->fds_bits[j] = 0; in flush_old_files()
Dfcntl.c85 newfd = find_next_zero_bit(files->open_fds->fds_bits, in locate_fd()
Dselect.c124 open_fds = current->files->open_fds->fds_bits+n; in max_select_fd()
/linux-2.4.37.9/arch/alpha/kernel/
Dosf_sys.c1090 if ((ret = get_fd_set(n, inp->fds_bits, fds.in)) || in osf_select()
1091 (ret = get_fd_set(n, outp->fds_bits, fds.out)) || in osf_select()
1092 (ret = get_fd_set(n, exp->fds_bits, fds.ex))) in osf_select()
1111 set_fd_set(n, inp->fds_bits, fds.res_in); in osf_select()
1112 set_fd_set(n, outp->fds_bits, fds.res_out); in osf_select()
1113 set_fd_set(n, exp->fds_bits, fds.res_ex); in osf_select()