Home
last modified time | relevance | path

Searched refs:sock2 (Results 1 – 3 of 3) sorted by relevance

/net/
Dsocket.c1530 struct socket *sock1, *sock2; in __sys_socketpair() local
1574 err = sock_create(family, type, protocol, &sock2); in __sys_socketpair()
1580 err = security_socket_socketpair(sock1, sock2); in __sys_socketpair()
1582 sock_release(sock2); in __sys_socketpair()
1587 err = sock1->ops->socketpair(sock1, sock2); in __sys_socketpair()
1589 sock_release(sock2); in __sys_socketpair()
1597 sock_release(sock2); in __sys_socketpair()
1601 newfile2 = sock_alloc_file(sock2, flags, NULL); in __sys_socketpair()
/net/tipc/
Dsocket.c3138 static int tipc_socketpair(struct socket *sock1, struct socket *sock2) in tipc_socketpair() argument
3140 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
/net/core/
Dsock.c2656 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) in sock_no_socketpair() argument