Searched refs:fdsetp (Results 1 – 7 of 7) sorted by relevance
| /rk3399_rockchip-uboot/arch/xtensa/include/asm/ |
| H A D | posix_types.h | 57 #define __FD_SET(fd, fdsetp) \ argument 58 (((fd_set *)fdsetp)->fds_bits[fd >> 5] |= (1<<(fd & 31))) 61 #define __FD_CLR(fd, fdsetp) \ argument 62 (((fd_set *)fdsetp)->fds_bits[fd >> 5] &= ~(1<<(fd & 31))) 65 #define __FD_ISSET(fd, fdsetp) \ argument 66 ((((fd_set *)fdsetp)->fds_bits[fd >> 5] & (1<<(fd & 31))) != 0) 69 #define __FD_ZERO(fdsetp) \ argument 70 (memset(fdsetp, 0, sizeof(*(fd_set *)fdsetp)))
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | posix_types.h | 70 #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)))
|
| /rk3399_rockchip-uboot/arch/nds32/include/asm/ |
| H A D | posix_types.h | 71 #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)))
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | posix_types.h | 55 #define __FD_SET(fd,fdsetp) \ argument 57 "=m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd))) 60 #define __FD_CLR(fd,fdsetp) \ argument 62 "=m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd))) 65 #define __FD_ISSET(fd,fdsetp) (__extension__ ({ \ argument 69 "m" (*(__kernel_fd_set *) (fdsetp))); \ 73 #define __FD_ZERO(fdsetp) \ argument 77 :"=m" (*(__kernel_fd_set *) (fdsetp)), \ 80 "2" ((__kernel_fd_set *) (fdsetp)) : "memory"); \
|
| /rk3399_rockchip-uboot/arch/nios2/include/asm/ |
| H A D | posix_types.h | 63 #define __FD_ZERO(fdsetp) (memset (fdsetp, 0, sizeof(*(fd_set *)fdsetp))) argument
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | posix_types.h | 58 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()
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/ |
| H A D | posix_types.h | 58 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()
|