/linux-master/drivers/xen/ |
H A D | pvcalls-front.h | 14 struct socket *newsock,
|
H A D | pvcalls-front.c | 772 int pvcalls_front_accept(struct socket *sock, struct socket *newsock, int flags) argument 884 map2->sock = newsock; 885 newsock->sk = sk_alloc(sock_net(sock->sk), PF_INET, GFP_KERNEL, &pvcalls_proto, false); 886 if (!newsock->sk) { 895 newsock->sk->sk_send_head = (void *)map2;
|
/linux-master/include/net/ |
H A D | inet_common.h | 32 int inet_accept(struct socket *sock, struct socket *newsock, int flags, 34 void __inet_accept(struct socket *sock, struct socket *newsock,
|
/linux-master/crypto/ |
H A D | algif_hash.c | 226 static int hash_accept(struct socket *sock, struct socket *newsock, int flags, argument 255 err = af_alg_accept(ask->parent, newsock, kern); 259 sk2 = newsock->sk; 357 static int hash_accept_nokey(struct socket *sock, struct socket *newsock, argument 366 return hash_accept(sock, newsock, flags, kern);
|
H A D | af_alg.c | 410 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern) argument 430 sock_init_data(newsock, sk2); 431 security_sock_graft(sk2, newsock); 435 * newsock->ops assigned here to allow type->accept call to override 438 newsock->ops = type->ops; 457 newsock->state = SS_CONNECTED; 460 newsock->ops = type->ops_nokey; 471 static int alg_accept(struct socket *sock, struct socket *newsock, int flags, argument 474 return af_alg_accept(sock->sk, newsock, kern);
|
/linux-master/net/tipc/ |
H A D | topsrv.c | 458 struct socket *newsock, *lsock; local 472 ret = kernel_accept(lsock, &newsock, O_NONBLOCK); 475 con = tipc_conn_alloc(srv, newsock); 478 sock_release(newsock); 482 newsk = newsock->sk;
|
/linux-master/net/atm/ |
H A D | svc.c | 327 static int svc_accept(struct socket *sock, struct socket *newsock, int flags, argument 339 error = svc_create(sock_net(sk), newsock, 0, kern); 343 new_vcc = ATM_SD(newsock); 385 error = vcc_connect(newsock, msg->pvc.sap_addr.itf, 420 newsock->state = SS_CONNECTED;
|
/linux-master/net/nfc/ |
H A D | llcp_sock.c | 409 struct socket *newsock) 427 if (sk->sk_state == LLCP_CONNECTED || !newsock) { 431 if (newsock) 432 sock_graft(sk, newsock); 449 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, argument 470 while (!(new_sk = nfc_llcp_accept_dequeue(sk, newsock))) { 493 newsock->state = SS_CONNECTED; 408 nfc_llcp_accept_dequeue(struct sock *parent, struct socket *newsock) argument
|
H A D | llcp.h | 218 struct sock *nfc_llcp_accept_dequeue(struct sock *sk, struct socket *newsock);
|
/linux-master/net/sunrpc/ |
H A D | svcsock.c | 887 struct socket *newsock; local 895 err = kernel_accept(sock, &newsock, O_NONBLOCK); 901 if (IS_ERR(sock_alloc_file(newsock, O_NONBLOCK, NULL))) 906 err = kernel_getpeername(newsock, sin); 914 newsock->sk->sk_state_change = svsk->sk_ostate; 915 newsock->sk->sk_data_ready = svsk->sk_odata; 916 newsock->sk->sk_write_space = svsk->sk_owspace; 921 newsock->sk->sk_sndtimeo = HZ*30; 923 newsvsk = svc_setup_socket(serv, newsock, 928 err = kernel_getsockname(newsock, si [all...] |
/linux-master/include/crypto/ |
H A D | if_alg.h | 169 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern);
|
/linux-master/net/bluetooth/ |
H A D | af_bluetooth.c | 241 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock) argument 281 if (sk->sk_state == BT_CONNECTED || !newsock || 284 if (newsock) 285 sock_graft(sk, newsock);
|
H A D | sco.c | 645 static int sco_sock_accept(struct socket *sock, struct socket *newsock, argument 667 ch = bt_accept_dequeue(sk, newsock); 691 newsock->state = SS_CONNECTED;
|
/linux-master/include/linux/ |
H A D | net.h | 174 struct socket *newsock, int flags, bool kern); 332 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
|
/linux-master/fs/dlm/ |
H A D | lowcomms.c | 990 struct socket *newsock; local 993 result = kernel_accept(listen_con.sock, &newsock, O_NONBLOCK); 1001 len = newsock->ops->getname(newsock, (struct sockaddr *)&peeraddr, 2); 1032 sock_release(newsock); 1051 sock_set_mark(newsock->sk, mark); 1077 add_sock(newsock, othercon); 1089 add_sock(newsock, newcon); 1102 if (newsock) 1103 sock_release(newsock); [all...] |
/linux-master/net/kcm/ |
H A D | kcmsock.c | 1503 struct socket *newsock; local 1506 newsock = sock_alloc(); 1507 if (!newsock) 1510 newsock->type = osock->type; 1511 newsock->ops = osock->ops; 1513 __module_get(newsock->ops->owner); 1518 sock_release(newsock); 1521 sock_init_data(newsock, newsk); 1524 return sock_alloc_file(newsock, 0, osock->sk->sk_prot_creator->name);
|
/linux-master/net/phonet/ |
H A D | socket.c | 294 static int pn_socket_accept(struct socket *sock, struct socket *newsock, argument 309 sock_graft(newsk, newsock); 310 newsock->state = SS_CONNECTED;
|
/linux-master/net/ |
H A D | socket.c | 1897 struct socket *sock, *newsock; local 1907 newsock = sock_alloc(); 1908 if (!newsock) 1912 newsock->type = sock->type; 1913 newsock->ops = ops; 1921 newfile = sock_alloc_file(newsock, flags, sock->sk->sk_prot_creator->name); 1925 err = security_socket_accept(sock, newsock); 1929 err = ops->accept(sock, newsock, sock->file->f_flags | file_flags, 1935 len = ops->getname(newsock, (struct sockaddr *)&address, 2); 3571 * @newsock 3579 kernel_accept(struct socket *sock, struct socket **newsock, int flags) argument [all...] |
/linux-master/net/ipv4/ |
H A D | af_inet.c | 756 void __inet_accept(struct socket *sock, struct socket *newsock, struct sock *newsk) argument 764 set_bit(SOCK_SUPPORT_ZC, &newsock->flags); 765 sock_graft(newsk, newsock); 767 newsock->state = SS_CONNECTED; 774 int inet_accept(struct socket *sock, struct socket *newsock, int flags, argument 786 __inet_accept(sock, newsock, sk2);
|
/linux-master/net/rds/ |
H A D | tcp.c | 145 goto newsock; 182 newsock:
|
/linux-master/net/iucv/ |
H A D | af_iucv.c | 90 struct socket *newsock); 520 struct socket *newsock) 537 !newsock) { 539 if (newsock) 540 sock_graft(sk, newsock); 797 static int iucv_sock_accept(struct socket *sock, struct socket *newsock, argument 816 while (!(nsk = iucv_accept_dequeue(sk, newsock))) { 844 newsock->state = SS_CONNECTED; 519 iucv_accept_dequeue(struct sock *parent, struct socket *newsock) argument
|
/linux-master/net/llc/ |
H A D | af_llc.c | 690 * @newsock: Socket to move incoming connection to. 697 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags, argument 729 llc_ui_sk_init(newsock, newsk); 732 newsock->state = SS_CONNECTED;
|
/linux-master/net/bluetooth/rfcomm/ |
H A D | sock.c | 471 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags, argument 498 nsk = bt_accept_dequeue(sk, newsock); 523 newsock->state = SS_CONNECTED;
|
/linux-master/drivers/nvme/target/ |
H A D | tcp.c | 1876 struct socket *newsock) 1891 queue->sock = newsock; 1973 sock_release(newsock); 1980 struct socket *newsock; local 1984 ret = kernel_accept(port->sock, &newsock, O_NONBLOCK); 1990 nvmet_tcp_alloc_queue(port, newsock); 1875 nvmet_tcp_alloc_queue(struct nvmet_tcp_port *port, struct socket *newsock) argument
|
/linux-master/include/net/bluetooth/ |
H A D | bluetooth.h | 419 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock);
|