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
1656 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket_create()1657 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket_create()1658 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()1660 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()1662 type &= SOCK_TYPE_MASK; in __sys_socket_create()1680 flags = type & ~SOCK_TYPE_MASK; in __sys_socket_file()1720 flags = type & ~SOCK_TYPE_MASK; in __sys_socket()1743 flags = type & ~SOCK_TYPE_MASK; in __sys_socketpair()1746 type &= SOCK_TYPE_MASK; in __sys_socketpair()
77 #define SOCK_TYPE_MASK 0xf macro
1457 sock->flags = sock->type & ~SOCK_TYPE_MASK; in io_socket_prep()