Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Dposix_types.h21 #undef __NFDBITS
22 #define __NFDBITS (8 * sizeof(unsigned long)) macro
28 #define __FDSET_LONGS (__FD_SETSIZE/__NFDBITS)
31 #define __FDELT(d) ((d) / __NFDBITS)
34 #define __FDMASK(d) (1UL << ((d) % __NFDBITS))
Dtime.h98 #define NFDBITS __NFDBITS
/linux-2.4.37.9/include/asm-sh/
Dposix_types.h52 unsigned long __tmp = __fd / __NFDBITS; in __FD_SET()
53 unsigned long __rem = __fd % __NFDBITS; in __FD_SET()
60 unsigned long __tmp = __fd / __NFDBITS; in __FD_CLR()
61 unsigned long __rem = __fd % __NFDBITS; in __FD_CLR()
69 unsigned long __tmp = __fd / __NFDBITS; in __FD_ISSET()
70 unsigned long __rem = __fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-mips/
Dposix_types.h55 unsigned long __tmp = __fd / __NFDBITS; in __FD_SET()
56 unsigned long __rem = __fd % __NFDBITS; in __FD_SET()
63 unsigned long __tmp = __fd / __NFDBITS; in __FD_CLR()
64 unsigned long __rem = __fd % __NFDBITS; in __FD_CLR()
71 unsigned long __tmp = __fd / __NFDBITS; in __FD_ISSET()
72 unsigned long __rem = __fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-sh64/
Dposix_types.h60 unsigned long __tmp = __fd / __NFDBITS; in __FD_SET()
61 unsigned long __rem = __fd % __NFDBITS; in __FD_SET()
68 unsigned long __tmp = __fd / __NFDBITS; in __FD_CLR()
69 unsigned long __rem = __fd % __NFDBITS; in __FD_CLR()
77 unsigned long __tmp = __fd / __NFDBITS; in __FD_ISSET()
78 unsigned long __rem = __fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-ppc/
Dposix_types.h60 unsigned long _tmp = fd / __NFDBITS; in __FD_SET()
61 unsigned long _rem = fd % __NFDBITS; in __FD_SET()
68 unsigned long _tmp = fd / __NFDBITS; in __FD_CLR()
69 unsigned long _rem = fd % __NFDBITS; in __FD_CLR()
76 unsigned long _tmp = fd / __NFDBITS; in __FD_ISSET()
77 unsigned long _rem = fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-mips64/
Dposix_types.h76 unsigned long __tmp = __fd / __NFDBITS; in __FD_SET()
77 unsigned long __rem = __fd % __NFDBITS; in __FD_SET()
84 unsigned long __tmp = __fd / __NFDBITS; in __FD_CLR()
85 unsigned long __rem = __fd % __NFDBITS; in __FD_CLR()
92 unsigned long __tmp = __fd / __NFDBITS; in __FD_ISSET()
93 unsigned long __rem = __fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-x86_64/
Dposix_types.h48 unsigned long _tmp = fd / __NFDBITS; in __FD_SET()
49 unsigned long _rem = fd % __NFDBITS; in __FD_SET()
56 unsigned long _tmp = fd / __NFDBITS; in __FD_CLR()
57 unsigned long _rem = fd % __NFDBITS; in __FD_CLR()
64 unsigned long _tmp = fd / __NFDBITS; in __FD_ISSET()
65 unsigned long _rem = fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-parisc/
Dposix_types.h84 unsigned long __tmp = __fd / __NFDBITS; in __FD_SET()
85 unsigned long __rem = __fd % __NFDBITS; in __FD_SET()
92 unsigned long __tmp = __fd / __NFDBITS; in __FD_CLR()
93 unsigned long __rem = __fd % __NFDBITS; in __FD_CLR()
100 unsigned long __tmp = __fd / __NFDBITS; in __FD_ISSET()
101 unsigned long __rem = __fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-ppc64/
Dposix_types.h62 unsigned long _tmp = fd / __NFDBITS; in __FD_SET()
63 unsigned long _rem = fd % __NFDBITS; in __FD_SET()
70 unsigned long _tmp = fd / __NFDBITS; in __FD_CLR()
71 unsigned long _rem = fd % __NFDBITS; in __FD_CLR()
78 unsigned long _tmp = fd / __NFDBITS; in __FD_ISSET()
79 unsigned long _rem = fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-ia64/
Dposix_types.h63 unsigned long _tmp = fd / __NFDBITS; in __FD_SET()
64 unsigned long _rem = fd % __NFDBITS; in __FD_SET()
71 unsigned long _tmp = fd / __NFDBITS; in __FD_CLR()
72 unsigned long _rem = fd % __NFDBITS; in __FD_CLR()
79 unsigned long _tmp = fd / __NFDBITS; in __FD_ISSET()
80 unsigned long _rem = fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-alpha/
Dposix_types.h58 unsigned long _tmp = fd / __NFDBITS; in __FD_SET()
59 unsigned long _rem = fd % __NFDBITS; in __FD_SET()
66 unsigned long _tmp = fd / __NFDBITS; in __FD_CLR()
67 unsigned long _rem = fd % __NFDBITS; in __FD_CLR()
74 unsigned long _tmp = fd / __NFDBITS; in __FD_ISSET()
75 unsigned long _rem = fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-sparc/
Dposix_types.h52 unsigned long _tmp = fd / __NFDBITS; in __FD_SET()
53 unsigned long _rem = fd % __NFDBITS; in __FD_SET()
60 unsigned long _tmp = fd / __NFDBITS; in __FD_CLR()
61 unsigned long _rem = fd % __NFDBITS; in __FD_CLR()
68 unsigned long _tmp = fd / __NFDBITS; in __FD_ISSET()
69 unsigned long _rem = fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/include/asm-sparc64/
Dposix_types.h76 unsigned long _tmp = fd / __NFDBITS; in __FD_SET()
77 unsigned long _rem = fd % __NFDBITS; in __FD_SET()
84 unsigned long _tmp = fd / __NFDBITS; in __FD_CLR()
85 unsigned long _rem = fd % __NFDBITS; in __FD_CLR()
92 unsigned long _tmp = fd / __NFDBITS; in __FD_ISSET()
93 unsigned long _rem = fd % __NFDBITS; in __FD_ISSET()
/linux-2.4.37.9/fs/
Dselect.c122 set = ~(~0UL << (n & (__NFDBITS-1))); in max_select_fd()
123 n /= __NFDBITS; in max_select_fd()
149 max += n * __NFDBITS; in max_select_fd()
155 #define BIT(i) (1UL << ((i)&(__NFDBITS-1)))
156 #define MEM(i,m) ((m)+(unsigned)(i)/__NFDBITS)
190 off = i / __NFDBITS; in do_select()
Dexec.c530 i = j * __NFDBITS; in flush_old_files()
/linux-2.4.37.9/kernel/
Dexit.c187 i = j * __NFDBITS; in close_files()