Home
last modified time | relevance | path

Searched refs:osk (Results 1 – 15 of 15) sorted by relevance

/linux/kernel/bpf/
H A Dreuseport_array.c190 const struct sock *osk, in reuseport_array_update_check() argument
194 if (osk && map_flags == BPF_NOEXIST) in reuseport_array_update_check()
197 if (!osk && map_flags == BPF_EXIST) in reuseport_array_update_check()
236 struct sock *free_osk = NULL, *osk, *nsk; in bpf_fd_reuseport_array_update_elem() local
285 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem()
289 err = reuseport_array_update_check(array, nsk, osk, reuse, map_flags); in bpf_fd_reuseport_array_update_elem()
297 free_osk = osk; in bpf_fd_reuseport_array_update_elem()
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-aspeed-uart-routing3 Contact: Oskar Senft <osk@google.com>
22 Contact: Oskar Senft <osk@google.com>
/linux/net/x25/
H A Daf_x25.c583 static struct sock *x25_make_new(struct sock *osk) in x25_create()
588 if (osk->sk_type != SOCK_SEQPACKET) in x25_make_new()
591 if ((sk = x25_alloc_socket(sock_net(osk), 0)) == NULL) in x25_make_new()
596 sk->sk_type = osk->sk_type; in x25_make_new()
597 sk->sk_priority = READ_ONCE(osk->sk_priority); in x25_make_new()
598 sk->sk_protocol = osk->sk_protocol; in x25_make_new()
599 sk->sk_rcvbuf = osk->sk_rcvbuf; in x25_make_new()
600 sk->sk_sndbuf = osk->sk_sndbuf; in x25_make_new()
602 sk->sk_backlog_rcv = osk->sk_backlog_rcv; in x25_make_new()
603 sock_copy_flags(sk, osk); in x25_make_new()
587 x25_make_new(struct sock * osk) x25_make_new() argument
[all...]
/linux/net/smc/
H A Daf_smc.c501 static void smc_adjust_sock_bufsizes(struct sock *nsk, struct sock *osk, in smc_adjust_sock_bufsizes() argument
504 nsk->sk_userlocks = osk->sk_userlocks; in smc_adjust_sock_bufsizes()
505 if (osk->sk_userlocks & SOCK_SNDBUF_LOCK) in smc_adjust_sock_bufsizes()
506 nsk->sk_sndbuf = osk->sk_sndbuf; in smc_adjust_sock_bufsizes()
507 if (osk->sk_userlocks & SOCK_RCVBUF_LOCK) in smc_adjust_sock_bufsizes()
508 nsk->sk_rcvbuf = osk->sk_rcvbuf; in smc_adjust_sock_bufsizes()
511 static void smc_copy_sock_settings(struct sock *nsk, struct sock *osk, in smc_copy_sock_settings() argument
515 nsk->sk_type = osk->sk_type; in smc_copy_sock_settings()
516 nsk->sk_sndtimeo = READ_ONCE(osk->sk_sndtimeo); in smc_copy_sock_settings()
517 nsk->sk_rcvtimeo = READ_ONCE(osk->sk_rcvtimeo); in smc_copy_sock_settings()
[all …]
/linux/arch/arm/mach-omap1/
H A DMakefile32 obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-aspeed-vuart19 Contact: Oskar Senft <osk@google.com>
/linux/net/ipv4/
H A Dinet_hashtables.c708 bool inet_ehash_insert(struct sock *sk, struct sock *osk, bool *found_dup_sk)
724 if (osk) { in inet_ehash_insert()
725 WARN_ON_ONCE(sk->sk_hash != osk->sk_hash); in inet_ehash_insert()
726 ret = sk_nulls_replace_node_init_rcu(osk, sk); in inet_ehash_insert()
745 bool inet_ehash_nolisten(struct sock *sk, struct sock *osk, bool *found_dup_sk) in inet_ehash_insert()
747 bool ok = inet_ehash_insert(sk, osk, found_dup_sk); in inet_ehash_nolisten() argument
710 inet_ehash_insert(struct sock * sk,struct sock * osk,bool * found_dup_sk) inet_ehash_insert() argument
/linux/arch/arm/boot/dts/microchip/
H A Dat91-q5xr5.dts5 * Copyright (C) 2014 Owen Kirby <osk@exegin.com>
/linux/include/net/
H A Dinet_hashtables.h304 bool inet_ehash_insert(struct sock *sk, struct sock *osk, bool *found_dup_sk);
305 bool inet_ehash_nolisten(struct sock *sk, struct sock *osk,
H A Dxfrm.h1389 int __xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk); in xfrm_sk_free_policy()
1391 static inline int xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) in xfrm_sk_free_policy()
1393 if (!sk_fullsock(osk)) in xfrm_sk_free_policy()
1397 if (unlikely(osk->sk_policy[0] || osk->sk_policy[1])) in xfrm_sk_free_policy()
1398 return __xfrm_sk_clone_policy(sk, osk); in xfrm_sk_free_policy()
1423 static inline int xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) { return 0; } in xfrm_decode_session_reverse()
1374 xfrm_sk_clone_policy(struct sock * sk,const struct sock * osk) xfrm_sk_clone_policy() argument
1406 xfrm_sk_clone_policy(struct sock * sk,const struct sock * osk) xfrm_sk_clone_policy() argument
H A Dsock.h1035 static inline void sock_copy_flags(struct sock *nsk, const struct sock *osk) in sock_copy_flags() argument
1037 nsk->sk_flags = osk->sk_flags; in sock_copy_flags()
/linux/net/core/
H A Dsock_map.c476 struct sock *osk; in sock_map_update_common() local
497 osk = stab->sks[idx]; in sock_map_update_common()
498 if (osk && flags == BPF_NOEXIST) { in sock_map_update_common()
501 } else if (!osk && flags == BPF_EXIST) { in sock_map_update_common()
508 if (osk) in sock_map_update_common()
509 sock_map_unref(osk, &stab->sks[idx]); in sock_map_update_common()
H A Dsock.c2206 * Copy all fields from osk to nsk but nsk->sk_refcnt must not change yet, in sock_copy()
2210 static void sock_copy(struct sock *nsk, const struct sock *osk) in sock_copy()
2212 const struct proto *prot = READ_ONCE(osk->sk_prot); in sock_copy()
2226 memcpy(nsk, osk, offsetof(struct sock, sk_dontcopy_begin)); in sock_copy()
2228 unsafe_memcpy(&nsk->sk_dontcopy_end, &osk->sk_dontcopy_end, in sock_copy()
2234 security_sk_clone(osk, nsk); in sk_prot_alloc()
2205 sock_copy(struct sock * nsk,const struct sock * osk) sock_copy() argument
/linux/net/unix/
H A Daf_unix.c283 static inline int unix_may_send(struct sock *sk, struct sock *osk) in unix_may_send() argument
285 return !unix_peer(osk) || unix_peer(osk) == sk; in unix_may_send()
/linux/net/xfrm/
H A Dxfrm_policy.c2441 int __xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) in clone_policy()
2449 p = rcu_dereference(osk->sk_policy[i]); in __xfrm_sk_clone_policy()
2447 __xfrm_sk_clone_policy(struct sock * sk,const struct sock * osk) __xfrm_sk_clone_policy() argument