/linux-2.4.37.9/include/asm-ppc/ |
D | posix_types.h | 45 #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/ |
D | posix_types.h | 47 #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/ |
D | posix_types.h | 50 #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/ |
D | posix_types.h | 45 #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/ |
D | posix_types.h | 54 __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/ |
D | posix_types.h | 57 __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/ |
D | posix_types.h | 62 __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/ |
D | posix_types.h | 78 __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/ |
D | posix_types.h | 50 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/ |
D | posix_types.h | 86 __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/ |
D | posix_types.h | 54 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/ |
D | posix_types.h | 63 (((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/ |
D | posix_types.h | 50 #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/ |
D | posix_types.h | 78 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/ |
D | fork.c | 429 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()
|
D | exit.c | 190 set = files->open_fds->fds_bits[j++]; in close_files()
|
/linux-2.4.37.9/include/linux/ |
D | posix_types.h | 37 unsigned long fds_bits [__FDSET_LONGS]; member
|
/linux-2.4.37.9/fs/ |
D | file.c | 210 memset (&new_openset->fds_bits[i], 0, count); in expand_fdset() 211 memset (&new_execset->fds_bits[i], 0, count); in expand_fdset()
|
D | exec.c | 533 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()
|
D | fcntl.c | 85 newfd = find_next_zero_bit(files->open_fds->fds_bits, in locate_fd()
|
D | select.c | 124 open_fds = current->files->open_fds->fds_bits+n; in max_select_fd()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | osf_sys.c | 1090 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()
|