/linux-master/fs/dlm/ |
H A D | dlm_internal.h | 30 #include <linux/socket.h>
|
/linux-master/fs/afs/ |
H A D | internal.h | 295 struct socket *socket; member in struct:afs_net
|
/linux-master/drivers/vhost/ |
H A D | net.c | 341 static bool vhost_sock_zcopy(struct socket *sock) 347 static bool vhost_sock_xdp(struct socket *sock) 443 struct socket *sock; 466 struct socket *sock, 501 static int sock_has_rx_data(struct socket *sock) 531 struct socket *sock; 668 struct socket *sock = vhost_vq_get_backend(vq); 741 static void handle_tx_copy(struct vhost_net *net, struct socket *sock) 831 static void handle_tx_zerocopy(struct vhost_net *net, struct socket *sock) 944 struct socket *soc [all...] |
/linux-master/drivers/scsi/ |
H A D | iscsi_tcp.c | 81 * @skb: socket buffer 107 * iscsi_sw_sk_state_check - check socket state 108 * @sk: socket 110 * If the socket is in CLOSE or CLOSE_WAIT we should 219 * @sk: socket space is available for 271 /* restore socket callbacks, see also: iscsi_conn_set_callbacks() */ 298 struct socket *sk = tcp_sw_conn->sock; 413 "Transport not bound to socket!\n"); 636 struct socket *sock = tcp_sw_conn->sock; 647 * Make sure we start socket shutdow [all...] |
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 74 /* Find VXLAN socket based on network namespace, address family, UDP port, 75 * enabled unshareable flags and socket device binding (see l3mdev with 3499 static struct socket *vxlan_create_sock(struct net *net, bool ipv6, 3502 struct socket *sock; 3520 /* Open UDP socket */ 3529 /* Create new listen socket if needed */ 3536 struct socket *sock; 3565 /* Mark socket as an encapsulation socket. */
|
/linux-master/drivers/net/ |
H A D | tun.c | 121 * also contains all socket related structures (except sock_fprog and tap_filter) 133 struct socket socket; member in struct:tun_file 176 /* Since the socket were moved to tun_file, to preserve the behavior of persist 177 * device, socket filter, sndbuf and vnet header size were restore when the 720 tfile->socket.sk->sk_shutdown = RCV_SHUTDOWN; 721 tfile->socket.sk->sk_data_ready(tfile->socket.sk); 726 tfile->socket.sk->sk_shutdown = RCV_SHUTDOWN; 727 tfile->socket [all...] |
H A D | tap.c | 1231 static int tap_sendmsg(struct socket *sock, struct msghdr *m, 1252 static int tap_recvmsg(struct socket *sock, struct msghdr *m, 1270 static int tap_peek_len(struct socket *sock) 1284 /* Get an underlying socket object from tun file. Returns error unless file is 1285 * attached to a device. The returned object works like a packet socket, it 1287 * holding a reference to the file for as long as the socket is in use. */ 1288 struct socket *tap_get_socket(struct file *file)
|
H A D | pfcp.c | 21 struct socket *sock; 154 static struct socket *pfcp_create_sock(struct pfcp_dev *pfcp) 162 struct socket *sock; 199 netdev_dbg(dev, "failed to add pfcp socket %d\n", err);
|
H A D | macsec.c | 10 #include <linux/socket.h>
|
H A D | loopback.c | 34 #include <linux/socket.h>
|
H A D | gtp.c | 895 * Return codes: 0: success, <0: error, >0: pass up to userspace UDP socket. 1401 struct socket *sock; 1644 struct socket *sock; 1652 pr_debug("gtp socket fd=%d not found\n", fd); 1660 pr_debug("socket fd=%d not UDP\n", fd);
|
H A D | geneve.c | 64 struct geneve_dev_node hlist4; /* vni hash table for IPv4 socket */ 66 struct geneve_dev_node hlist6; /* vni hash table for IPv6 socket */ 70 struct geneve_sock __rcu *sock4; /* IPv4 socket used for geneve tunnel */ 72 struct geneve_sock __rcu *sock6; /* IPv6 socket used for geneve tunnel */ 82 struct socket *sock; 463 static struct socket *geneve_create_sock(struct net *net, bool ipv6, 466 struct socket *sock; 483 /* Open UDP socket */ 583 /* Create new listen socket if needed */ 589 struct socket *soc [all...] |
H A D | bareudp.c | 56 struct socket __rcu *sock; 215 static struct socket *bareudp_create_sock(struct net *net, __be16 port) 218 struct socket *sock; 229 /* Open UDP socket */ 238 /* Create new listen socket if needed */ 242 struct socket *sock; 248 /* Mark socket as an encapsulation socket */ 272 struct socket *sock; 295 struct socket *soc [all...] |
/linux-master/drivers/net/team/ |
H A D | team_core.c | 21 #include <linux/socket.h>
|
/linux-master/drivers/net/ethernet/rocker/ |
H A D | rocker_main.c | 19 #include <linux/socket.h>
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf.h | 28 #include <linux/socket.h>
|
/linux-master/drivers/net/ethernet/amd/ |
H A D | nmclan_cs.c | 846 pcmcia_reset_card(link->socket);
|
/linux-master/drivers/net/bonding/ |
H A D | bond_main.c | 54 #include <linux/socket.h> 1578 * determined via PACKET_ORIGDEV socket option. 5352 * bond_sk_hash_l34 - generate a hash value based on the socket's L3 and L4 fields 5353 * @sk: socket to use for headers 5355 * This function will extract the necessary field from the socket and use 5357 * Assumes that sk is a TCP or UDP socket.
|
/linux-master/drivers/edac/ |
H A D | skx_common.c | 136 res->socket = (int)adxl_values[component_indices[INDEX_SOCKET]]; 159 if (d->imc[0].src_id == res->socket) { 167 res->socket, res->imc); 237 * We use the per-socket device @cfg->did to count how many sockets are present, 238 * and to detemine which PCI buses are associated with each socket. Allocate 596 res->socket, res->imc, res->rank,
|
/linux-master/drivers/base/ |
H A D | arch_topology.c | 651 static int __init parse_socket(struct device_node *socket) argument 659 snprintf(name, sizeof(name), "socket%d", package_id); 660 c = of_get_child_by_name(socket, name); 672 ret = parse_cluster(socket, 0, -1, 0);
|
/linux-master/crypto/ |
H A D | af_alg.c | 122 int af_alg_release(struct socket *sock) 148 static int alg_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) 357 static int alg_setsockopt(struct socket *sock, int level, int optname, 410 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern) 471 static int alg_accept(struct socket *sock, struct socket *newsock, int flags, 504 static int alg_create(struct net *net, struct socket *sock, int protocol, 601 * @sk: socket of connection to user space 640 * @sk: socket of connection to user space 694 * @sk: socket o [all...] |
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_setns_test.c | 17 #include <sys/socket.h>
|
/linux-master/net/rxrpc/ |
H A D | ar-internal.h | 35 * Mark applied to socket buffers in skb->mark. skb->priority is used 51 RXRPC_CLIENT_UNBOUND, /* Unbound socket used as client */ 57 RXRPC_CLOSE, /* socket is being closed */ 140 * RxRPC socket definition 150 struct list_head sock_calls; /* List of calls owned by this socket */ 154 struct key *key; /* security for this socket */ 162 bool exclusive; /* Exclusive connection for a client socket */ 197 * RxRPC socket buffer private variables 284 * - owned by a single AF_RXRPC socket 285 * - pointed to by transport socket struc 294 struct socket *socket; /* my UDP socket */ member in struct:rxrpc_local 620 struct rxrpc_sock __rcu *socket; /* socket responsible */ member in struct:rxrpc_call [all...] |
H A D | call_object.c | 318 * - Called with the socket lock held, which it must release. 357 * will be acting outside the socket lock. 378 rcu_assign_pointer(call->socket, rx); 422 /* We got an error, but the call is attached to the socket and is in 424 * completion notifies the socket. Return 0 from sys_sendmsg() and 449 rcu_assign_pointer(call->socket, rx); 543 * Detach a call from its owning socket. 598 * release all the calls associated with a socket
|
/linux-master/net/appletalk/ |
H A D | ddp.c | 19 * socket. 69 * Handlers for the socket list. * 105 /* This socket's address matches the address of the interface 111 /* Continue searching for a socket matching the interface address, 112 * but use this socket by default if no other one is found 139 * atalk_find_or_insert_socket - Try to find a socket matching ADDR 140 * @sk: socket to insert in the list if it is not there already 143 * Try to find a socket matching ADDR in the socket list, if found then return 144 * it. If not, insert SK into the socket lis [all...] |