Home
last modified time | relevance | path

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

/drivers/xen/
Dpvcalls-front.h14 struct socket *newsock,
Dpvcalls-front.c762 int pvcalls_front_accept(struct socket *sock, struct socket *newsock, int flags) in pvcalls_front_accept() argument
874 map2->sock = newsock; in pvcalls_front_accept()
875 newsock->sk = sk_alloc(sock_net(sock->sk), PF_INET, GFP_KERNEL, &pvcalls_proto, false); in pvcalls_front_accept()
876 if (!newsock->sk) { in pvcalls_front_accept()
885 newsock->sk->sk_send_head = (void *)map2; in pvcalls_front_accept()
/drivers/nvme/target/
Dtcp.c1462 struct socket *newsock) in nvmet_tcp_alloc_queue() argument
1473 queue->sock = newsock; in nvmet_tcp_alloc_queue()
1530 struct socket *newsock; in nvmet_tcp_accept_work() local
1534 ret = kernel_accept(port->sock, &newsock, O_NONBLOCK); in nvmet_tcp_accept_work()
1540 ret = nvmet_tcp_alloc_queue(port, newsock); in nvmet_tcp_accept_work()
1543 sock_release(newsock); in nvmet_tcp_accept_work()