Searched refs:SOCK_TYPE_MASK (Results 1 – 9 of 9) sorted by relevance
19 #ifndef SOCK_TYPE_MASK20 #define SOCK_TYPE_MASK 0xf29 flags = type & ~SOCK_TYPE_MASK; in syscall_arg__scnprintf_socket_type() 31 type &= SOCK_TYPE_MASK; in syscall_arg__scnprintf_socket_type() 18 #define SOCK_TYPE_MASK global() macro
18 (type & SOCK_TYPE_MASK) == SOCK_STREAM && in BPF_PROG()
12 #define SOCK_TYPE_MASK 0xf macro
29 #ifndef SOCK_TYPE_MASK30 #define SOCK_TYPE_MASK 0xf macro
114 if ((type & SOCK_TYPE_MASK) == SOCK_STREAM && in start_server_addr()131 if ((type & SOCK_TYPE_MASK) == SOCK_STREAM) { in start_server_addr()
10 #define SOCK_TYPE_MASK 0xf macro371 switch (sotype & SOCK_TYPE_MASK) { in create_pair()
1763 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket_create()1764 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket_create()1765 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()1767 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()1769 type &= SOCK_TYPE_MASK; in __sys_socket_create()1787 flags = type & ~SOCK_TYPE_MASK; in __sys_socket_file()1823 flags = type & ~SOCK_TYPE_MASK; in __sys_socket()1846 flags = type & ~SOCK_TYPE_MASK; in __sys_socketpair()1849 type &= SOCK_TYPE_MASK; in __sys_socketpair()
121 #define SOCK_TYPE_MASK 0xf macro
1743 sock->flags = sock->type & ~SOCK_TYPE_MASK; in io_socket_prep()