Home
last modified time | relevance | path

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

/net/
Dsocket.c1530 struct socket *sock1, *sock2; in __sys_socketpair() local
1570 err = sock_create(family, type, protocol, &sock1); in __sys_socketpair()
1576 sock_release(sock1); in __sys_socketpair()
1580 err = security_socket_socketpair(sock1, sock2); in __sys_socketpair()
1583 sock_release(sock1); in __sys_socketpair()
1587 err = sock1->ops->socketpair(sock1, sock2); in __sys_socketpair()
1590 sock_release(sock1); in __sys_socketpair()
1594 newfile1 = sock_alloc_file(sock1, flags, NULL); in __sys_socketpair()
/net/tipc/
Dsocket.c3138 static int tipc_socketpair(struct socket *sock1, struct socket *sock2) in tipc_socketpair() argument
3141 struct tipc_sock *tsk1 = tipc_sk(sock1->sk); in tipc_socketpair()
3142 u32 onode = tipc_own_addr(sock_net(sock1->sk)); in tipc_socketpair()
/net/core/
Dsock.c2656 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) in sock_no_socketpair() argument