/linux-master/fs/ |
H A D | eventpoll.c | 455 * it back in when we have moved a socket with a valid NAPI 471 struct socket *sock; 566 * dfd = socket(...);
|
/linux-master/net/rxrpc/ |
H A D | rxkad.c | 672 ret = kernel_sendmsg(conn->local->socket, &msg, iov, 2, len); 730 ret = kernel_sendmsg(conn->local->socket, &msg, iov, 3, len);
|
H A D | sendmsg.c | 187 * - caller holds the socket locked 273 * send data through a socket 275 * - The caller holds the call user access mutex, but not the socket lock. 553 * - Called with the socket lock held, which it must release. 596 /* The socket is now unlocked */ 604 * send a message forming part of a client call through an RxRPC socket 605 * - caller holds the socket locked 606 * - the socket may be either a client socket or a server socket [all...] |
/linux-master/net/l2tp/ |
H A D | l2tp_eth.c | 11 #include <linux/socket.h> 217 * because tunnel->sock was NULL or the socket's
|
/linux-master/net/ipv4/ |
H A D | raw.c | 29 * Alan Cox : BSD style RAW socket demultiplexing. 33 * David S. Miller : New socket lookup architecture. 49 #include <linux/socket.h> 157 /* IP input processing comes here for RAW socket delivery. 224 /* Report error on raw socket, if: 300 /* Charge it to the socket. */
|
H A D | fib_frontend.c | 20 #include <linux/socket.h>
|
/linux-master/net/core/ |
H A D | skmsg.c | 579 /* This will transition ownership of the data from the socket where 580 * the BPF program was run initiating the redirect to the socket 592 /* Puts an skb on the ingress queue of the socket already assigned to the 918 /* This error indicates the socket is being torn down or had another 920 * a socket that is in this state so we drop the skb. 1106 /* Called with socket lock held. */ 1212 struct socket *sock = sk->sk_socket;
|
/linux-master/drivers/nvme/target/ |
H A D | tcp.c | 55 /* Define the socket priority to use for connections were it is desirable 63 MODULE_PARM_DESC(so_priority, "nvmet tcp socket optimize priority: Default 0"); 67 * can enable NIC solutions that support socket optimized packet processing 150 struct socket *sock; 205 struct socket *sock; 1554 struct socket *sock = queue->sock; 1688 struct socket *sock = queue->sock; 1703 * Cleanup whatever is sitting in the TCP transmit queue on socket 1712 /* Set socket type of service */ 1720 * If the socket i [all...] |
/linux-master/net/tls/ |
H A D | tls.h | 153 void tls_sw_splice_eof(struct socket *sock); 163 ssize_t tls_sw_splice_read(struct socket *sock, loff_t *ppos, 170 void tls_device_splice_eof(struct socket *sock);
|
/linux-master/net/ethernet/ |
H A D | eth.c | 41 #include <linux/socket.h> 148 * @skb: received socket data 275 * @p: socket address 292 * @p: socket address 305 * @p: socket address
|
/linux-master/fs/smb/client/ |
H A D | connect.c | 308 /* do not want to be sending data on a socket we are freeing */ 309 cifs_dbg(FYI, "%s: tearing down socket\n", __func__); 465 /* Reconnect the socket */ 539 /* Failed to reconnect socket */ 740 * Minimum sleep to prevent looping, allowing socket 1198 * The right amount was read from socket - 4 bytes, 1518 /* this server does not share socket */ 1801 cifs_dbg(VFS, "Error connecting to socket. Aborting operation.\n"); 2901 cifs_reclassify_socket4(struct socket *sock) 2911 cifs_reclassify_socket6(struct socket *soc 2952 struct socket *socket = server->ssocket; local 3033 struct socket *socket; local [all...] |
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | setsockopt-closed.c | 128 int sk = socket(test_family, SOCK_STREAM, IPPROTO_TCP); 131 test_error("socket()"); 327 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EINVAL, "add current key on a listen socket"); 332 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EINVAL, "add rnext key on a listen socket"); 338 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EINVAL, "add current+rnext key on a listen socket"); 397 setsockopt_checked(sk, TCP_AO_DEL_KEY, &del, EINVAL, "del and set current key on a listen socket"); 404 setsockopt_checked(sk, TCP_AO_DEL_KEY, &del, EINVAL, "del and set rnext key on a listen socket"); 412 setsockopt_checked(sk, TCP_AO_DEL_KEY, &del, EINVAL, "del and set current+rnext key on a listen socket"); 505 setsockopt_checked(sk, TCP_AO_INFO, &info, EINVAL, "set current key on a listen socket"); 510 setsockopt_checked(sk, TCP_AO_INFO, &info, EINVAL, "set rnext key on a listen socket"); [all...] |
H A D | rst.c | 5 * listen() socket with non-accepted connections in the queue: 109 synchronize_threads(); /* 3: close listen socket */ 167 synchronize_threads(); /* 5: restore the socket, send more data */ 264 sk[i] = socket(test_family, SOCK_STREAM, IPPROTO_TCP); 266 test_error("socket()"); 290 synchronize_threads(); /* 3: close listen socket */ 292 test_fail("Failed to send data on connected socket"); 332 sk = socket(test_family, SOCK_STREAM, IPPROTO_TCP); 334 test_error("socket()"); 345 test_fail("Failed to send data on connected socket"); [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | udpgso.c | 22 #include <sys/socket.h> 463 fdr = socket(addr->sa_family, SOCK_DGRAM, 0); 465 error(1, errno, "socket r"); 474 fdt = socket(addr->sa_family, SOCK_DGRAM, 0); 476 error(1, errno, "socket t");
|
H A D | reuseaddr_conflict.c | 6 * If we open an ipv4 socket on a port with reuseaddr we shouldn't reset the tb 15 #include <sys/socket.h> 51 if ((fd = socket(family, SOCK_STREAM, IPPROTO_TCP)) < 0) { 52 perror("socket"); 94 error(1, errno, "Couldn't open listen socket"); 98 error(1, 0, "Was allowed to create an ipv4 reuseport on a already bound non-reuseport socket"); 106 error(1, 0, "Was allowed to create an ipv4 reuseport on a already bound non-reuseport socket"); 108 fprintf(stderr, "Opening INADDR_ANY:%d after closing ipv6 socket\n", PORT); 111 error(1, 0, "Was allowed to create an ipv4 reuseport on an already bound non-reuseport socket with no ipv6");
|
H A D | bind_wildcard.c | 4 #include <sys/socket.h> 746 self->fd[i] = socket(self->addr[i].addr.sa_family, SOCK_STREAM, 0);
|
H A D | tls.c | 16 #include <linux/socket.h> 21 #include <sys/socket.h> 123 *fd = socket(AF_INET, SOCK_STREAM, 0); 124 sfd = socket(AF_INET, SOCK_STREAM, 0); 1984 fd = socket(AF_INET, SOCK_STREAM, 0); 1985 sfd = socket(AF_INET, SOCK_STREAM, 0); 2108 fd = socket(AF_INET6, SOCK_STREAM, 0); 2109 sfd = socket(AF_INET6, SOCK_STREAM, 0); 2167 fd = socket(AF_INET, SOCK_STREAM, 0); 2168 sfd = socket(AF_INE [all...] |
/linux-master/net/xdp/ |
H A D | xsk.c | 19 #include <linux/socket.h> 799 /* Since we dropped the RCU read lock, the socket state might have changed. */ 908 static int __xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) 942 static int xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) 953 static int __xsk_recvmsg(struct socket *sock, struct msghdr *m, size_t len, int flags) 979 static int xsk_recvmsg(struct socket *sock, struct msghdr *m, size_t len, int flags) 990 static __poll_t xsk_poll(struct file *file, struct socket *sock, 1049 /* Wait for driver to stop using the xdp socket. */ 1077 /* This function removes the current XDP socket from all the 1080 * updates to the entries, and each socket ha [all...] |
/linux-master/drivers/isdn/mISDN/ |
H A D | socket.c | 106 mISDN_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, 167 mISDN_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) 236 data_sock_release(struct socket *sock) 350 data_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) 403 static int data_sock_setsockopt(struct socket *sock, int level, int optname, 435 static int data_sock_getsockopt(struct socket *sock, int level, int optname, 465 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) 552 data_sock_getname(struct socket *sock, struct sockaddr *addr, 593 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) 618 base_sock_release(struct socket *soc [all...] |
/linux-master/tools/include/linux/ |
H A D | btf_ids.h | 173 /* Define a list of socket types which can be the argument for 193 BTF_SOCK_TYPE(BTF_SOCK_TYPE_SOCKET, socket)
|
/linux-master/net/sunrpc/ |
H A D | svcsock.c | 5 * These are the RPC server socket internals. 78 static struct svc_sock *svc_setup_socket(struct svc_serv *, struct socket *, 93 static void svc_reclassify_socket(struct socket *sock) 120 static void svc_reclassify_socket(struct socket *sock) 194 * Report socket names for nfsdfs 231 svc_tcp_sock_process_cmsg(struct socket *sock, struct msghdr *msg, 266 struct socket *sock = svsk->sk_sock; 297 * Read from @rqstp's transport socket. The incoming message fills whole 338 * Set socket snd and rcv buffer lengths 343 struct socket *soc [all...] |
/linux-master/net/9p/ |
H A D | trans_fd.c | 3 * Fd transport layer. Includes deprecated socket layer. 411 * p9_fd_write - write to a socket 868 static int p9_socket_open(struct p9_client *client, struct socket *csocket) 974 static int p9_bind_privport(struct socket *sock) 996 struct socket *csocket; 1017 pr_err("%s (%d): problem creating socket\n", 1036 pr_err("%s (%d): problem connecting socket to %s\n", 1049 struct socket *csocket; 1068 pr_err("%s (%d): problem creating socket\n", 1076 pr_err("%s (%d): problem connecting socket [all...] |
/linux-master/fs/smb/server/ |
H A D | transport_ipc.c | 14 #include <linux/socket.h>
|
/linux-master/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 6 #include <asm/socket.h> /* arch-dependent defines */ 11 #include <uapi/linux/socket.h> 16 struct socket; 56 void *msg_name; /* ptr to socket address structure */ 57 int msg_namelen; /* size of socket address structure */ 59 int msg_inq; /* output, data left in socket */ 83 void __user *msg_name; /* ptr to socket address structure */ 84 int msg_namelen; /* size of socket address structure */ 419 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, 421 extern long __sys_recvmsg_sock(struct socket *soc [all...] |
/linux-master/net/rds/ |
H A D | send.c | 128 * - no per flow rx lookup at all, straight to the socket 571 * socket, socket lock) and can just move the notifier. 597 * This removes messages from the socket's list if they're on it. The list 602 * the messages on the socket list or not. 625 * message from being removed from the socket, though. 830 /* this is the only place which holds both the socket's rs_lock 1100 int rds_sendmsg(struct socket *sock, struct msghdr *msg, size_t payload_len) 1225 /* If the socket is already bound to a link local address, 1289 * Caching the conn in the socket help [all...] |