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()
1645 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket_create()1646 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket_create()1647 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()1649 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()1651 type &= SOCK_TYPE_MASK; in __sys_socket_create()1669 flags = type & ~SOCK_TYPE_MASK; in __sys_socket_file()1705 flags = type & ~SOCK_TYPE_MASK; in __sys_socket()1728 flags = type & ~SOCK_TYPE_MASK; in __sys_socketpair()1731 type &= SOCK_TYPE_MASK; in __sys_socketpair()
77 #define SOCK_TYPE_MASK 0xf macro
1643 sock->flags = sock->type & ~SOCK_TYPE_MASK; in io_socket_prep()