Searched refs:SOCK_TYPE_MASK (Results 1 – 5 of 5) 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
1595 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket_create()1596 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket_create()1597 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()1599 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()1601 type &= SOCK_TYPE_MASK; in __sys_socket_create()1620 flags = type & ~SOCK_TYPE_MASK; in __sys_socket_file()1640 flags = type & ~SOCK_TYPE_MASK; in __sys_socket()1663 flags = type & ~SOCK_TYPE_MASK; in __sys_socketpair()1666 type &= SOCK_TYPE_MASK; in __sys_socketpair()
75 #define SOCK_TYPE_MASK 0xf macro
1347 sock->flags = sock->type & ~SOCK_TYPE_MASK; in io_socket_prep()