Searched refs:SOCK_TYPE_MASK (Results 1 – 6 of 6) sorted by relevance
17 #ifndef SOCK_TYPE_MASK18 #define SOCK_TYPE_MASK 0xf macro27 flags = type & ~SOCK_TYPE_MASK; in syscall_arg__scnprintf_socket_type()29 type &= SOCK_TYPE_MASK; in syscall_arg__scnprintf_socket_type()
42 #define SOCK_TYPE_MASK 0xf macro
9 #define SOCK_TYPE_MASK 0xf macro347 switch (sotype & SOCK_TYPE_MASK) { in create_pair()
1628 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket_create()1629 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket_create()1630 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()1632 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()1634 type &= SOCK_TYPE_MASK; in __sys_socket_create()1652 flags = type & ~SOCK_TYPE_MASK; in __sys_socket_file()1688 flags = type & ~SOCK_TYPE_MASK; in __sys_socket()1711 flags = type & ~SOCK_TYPE_MASK; in __sys_socketpair()1714 type &= SOCK_TYPE_MASK; in __sys_socketpair()
77 #define SOCK_TYPE_MASK 0xf macro
1676 sock->flags = sock->type & ~SOCK_TYPE_MASK; in io_socket_prep()