Home
last modified time | relevance | path

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

/Linux-v5.4/net/rxrpc/
Dlocal_object.c109 struct sock *usk; in rxrpc_open_socket() local
124 usk = local->socket->sk; in rxrpc_open_socket()
125 inet_sk(usk)->mc_loop = 0; in rxrpc_open_socket()
128 inet_inc_convert_csum(usk); in rxrpc_open_socket()
130 rcu_assign_sk_user_data(usk, local); in rxrpc_open_socket()
132 udp_sk(usk)->encap_type = UDP_ENCAP_RXRPC; in rxrpc_open_socket()
133 udp_sk(usk)->encap_rcv = rxrpc_input_packet; in rxrpc_open_socket()
134 udp_sk(usk)->encap_destroy = NULL; in rxrpc_open_socket()
135 udp_sk(usk)->gro_receive = NULL; in rxrpc_open_socket()
136 udp_sk(usk)->gro_complete = NULL; in rxrpc_open_socket()
[all …]
/Linux-v5.4/net/unix/
Dgarbage.c167 static void dec_inflight(struct unix_sock *usk) in dec_inflight() argument
169 atomic_long_dec(&usk->inflight); in dec_inflight()
172 static void inc_inflight(struct unix_sock *usk) in inc_inflight() argument
174 atomic_long_inc(&usk->inflight); in inc_inflight()
/Linux-v5.4/lib/
Dkobject_uevent.c341 static int uevent_net_broadcast_tagged(struct sock *usk, in uevent_net_broadcast_tagged() argument
346 struct user_namespace *owning_user_ns = sock_net(usk)->user_ns; in uevent_net_broadcast_tagged()
371 ret = netlink_broadcast(usk, skb, 0, 1, GFP_KERNEL); in uevent_net_broadcast_tagged()
681 static int uevent_net_broadcast(struct sock *usk, struct sk_buff *skb, in uevent_net_broadcast() argument
716 ret = netlink_broadcast(usk, skbc, 0, 1, GFP_KERNEL); in uevent_net_broadcast()