Home
last modified time | relevance | path

Searched refs:fdsetp (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/arch/xtensa/include/asm/
H A Dposix_types.h56 #define __FD_SET(fd, fdsetp) \ argument
57 (((fd_set *)fdsetp)->fds_bits[fd >> 5] |= (1<<(fd & 31)))
60 #define __FD_CLR(fd, fdsetp) \ argument
61 (((fd_set *)fdsetp)->fds_bits[fd >> 5] &= ~(1<<(fd & 31)))
64 #define __FD_ISSET(fd, fdsetp) \ argument
65 ((((fd_set *)fdsetp)->fds_bits[fd >> 5] & (1<<(fd & 31))) != 0)
68 #define __FD_ZERO(fdsetp) \ argument
69 (memset(fdsetp, 0, sizeof(*(fd_set *)fdsetp)))
/openbmc/u-boot/arch/nds32/include/asm/
H A Dposix_types.h71 #define __FD_SET(fd, fdsetp) \ argument
72 (((fd_set *)fdsetp)->fds_bits[fd >> 5] |= (1<<(fd & 31)))
75 #define __FD_CLR(fd, fdsetp) \ argument
76 (((fd_set *)fdsetp)->fds_bits[fd >> 5] &= ~(1<<(fd & 31)))
79 #define __FD_ISSET(fd, fdsetp) \ argument
80 ((((fd_set *)fdsetp)->fds_bits[fd >> 5] & (1<<(fd & 31))) != 0)
83 #define __FD_ZERO(fdsetp) \ argument
84 (memset(fdsetp, 0, sizeof(*(fd_set *) fdsetp)))
/openbmc/u-boot/arch/arm/include/asm/
H A Dposix_types.h70 #define __FD_SET(fd, fdsetp) \ argument
71 (((fd_set *)fdsetp)->fds_bits[fd >> 5] |= (1<<(fd & 31)))
74 #define __FD_CLR(fd, fdsetp) \ argument
75 (((fd_set *)fdsetp)->fds_bits[fd >> 5] &= ~(1<<(fd & 31)))
78 #define __FD_ISSET(fd, fdsetp) \ argument
79 ((((fd_set *)fdsetp)->fds_bits[fd >> 5] & (1<<(fd & 31))) != 0)
82 #define __FD_ZERO(fdsetp) \ argument
83 (memset (fdsetp, 0, sizeof (*(fd_set *)fdsetp)))
/openbmc/u-boot/arch/x86/include/asm/
H A Dposix_types.h56 #define __FD_SET(fd,fdsetp) \ argument
58 "=m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd)))
61 #define __FD_CLR(fd,fdsetp) \ argument
63 "=m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd)))
66 #define __FD_ISSET(fd,fdsetp) (__extension__ ({ \ argument
70 "m" (*(__kernel_fd_set *) (fdsetp))); \
74 #define __FD_ZERO(fdsetp) \ argument
78 :"=m" (*(__kernel_fd_set *) (fdsetp)), \
81 "2" ((__kernel_fd_set *) (fdsetp)) : "memory"); \
/openbmc/u-boot/arch/riscv/include/asm/
H A Dposix_types.h72 #define __FD_SET(_fd, fdsetp) \ argument
74 (((fd_set *)fdsetp)->fds_bits[fd >> 5] |= (1 << (fd & 31)))
77 #define __FD_CLR(_fd, fdsetp) \ argument
79 (((fd_set *)fdsetp)->fds_bits[fd >> 5] &= ~(1 << (fd & 31)))
82 #define __FD_ISSET(_fd, fdsetp) \ argument
84 ((((fd_set *)fdsetp)->fds_bits[fd >> 5] & (1 << (fd & 31))) != 0)
89 (memset(fdsetp, 0, sizeof(*(fd_set *)fdsetp)))
/openbmc/u-boot/arch/m68k/include/asm/
H A Dposix_types.h58 static __inline__ void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp) in __FD_SET() argument
62 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
66 static __inline__ void __FD_CLR(unsigned long fd, __kernel_fd_set *fdsetp) in __FD_CLR() argument
70 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dposix_types.h58 static __inline__ void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp) in __FD_SET() argument
62 fdsetp->fds_bits[_tmp] |= (1UL<<_rem); in __FD_SET()
66 static __inline__ void __FD_CLR(unsigned long fd, __kernel_fd_set *fdsetp) in __FD_CLR() argument
70 fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); in __FD_CLR()
/openbmc/u-boot/arch/nios2/include/asm/
H A Dposix_types.h63 #define __FD_ZERO(fdsetp) (memset (fdsetp, 0, sizeof(*(fd_set *)fdsetp))) argument