Searched refs:nsock (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/block/ |
H A D | nbd.c | 70 struct nbd_sock *nsock; member in struct:recv_thread_args 290 static void nbd_mark_nsock_dead(struct nbd_device *nbd, struct nbd_sock *nsock, argument 293 if (!nsock->dead && notify && !nbd_disconnected(nbd->config)) { 302 if (!nsock->dead) { 303 kernel_sock_shutdown(nsock->sock, SHUT_RDWR); 314 nsock->dead = true; 315 nsock->pending = NULL; 316 nsock->sent = 0; 394 struct nbd_sock *nsock = config->socks[i]; local 395 mutex_lock(&nsock 470 struct nbd_sock *nsock = local 495 struct nbd_sock *nsock = config->socks[cmd->index]; local 596 struct nbd_sock *nsock = config->socks[index]; local 871 struct nbd_sock *nsock = args->nsock; local 955 struct nbd_sock *nsock = config->socks[index]; local 1015 struct nbd_sock *nsock; local 1151 struct nbd_sock *nsock; local 1234 struct nbd_sock *nsock = config->socks[i]; local 1313 struct nbd_sock *nsock = config->socks[i]; local [all...] |
/linux-master/net/bluetooth/cmtp/ |
H A D | sock.c | 72 struct socket *nsock; local 85 nsock = sockfd_lookup(ca.sock, &err); 86 if (!nsock) 89 if (nsock->sk->sk_state != BT_CONNECTED) { 90 sockfd_put(nsock); 94 err = cmtp_add_connection(&ca, nsock); 99 sockfd_put(nsock);
|
/linux-master/net/bluetooth/bnep/ |
H A D | sock.c | 59 struct socket *nsock; local 73 nsock = sockfd_lookup(ca.sock, &err); 74 if (!nsock) 77 if (nsock->sk->sk_state != BT_CONNECTED) { 78 sockfd_put(nsock); 83 err = bnep_add_connection(&ca, nsock); 88 sockfd_put(nsock);
|
/linux-master/net/bluetooth/rfcomm/ |
H A D | core.c | 1961 struct socket *sock = s->sock, *nsock; local 1971 err = kernel_accept(sock, &nsock, O_NONBLOCK); 1976 nsock->sk->sk_data_ready = rfcomm_l2data_ready; 1977 nsock->sk->sk_state_change = rfcomm_l2state_change; 1979 s = rfcomm_session_add(nsock, BT_OPEN); 1983 s->mtu = min(l2cap_pi(nsock->sk)->chan->omtu, 1984 l2cap_pi(nsock->sk)->chan->imtu) - 5; 1988 sock_release(nsock);
|
Completed in 125 milliseconds