Searched refs:fdsetp (Results 1 - 7 of 7) sorted by relevance

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

Completed in 70 milliseconds