/Linux-v6.1/kernel/bpf/ |
D | reuseport_array.c | 193 const struct sock *osk, in reuseport_array_update_check() argument 197 if (osk && map_flags == BPF_NOEXIST) in reuseport_array_update_check() 200 if (!osk && map_flags == BPF_EXIST) in reuseport_array_update_check() 239 struct sock *free_osk = NULL, *osk, *nsk; in bpf_fd_reuseport_array_update_elem() local 288 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem() 292 err = reuseport_array_update_check(array, nsk, osk, reuse, map_flags); in bpf_fd_reuseport_array_update_elem() 300 free_osk = osk; in bpf_fd_reuseport_array_update_elem()
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-driver-aspeed-uart-routing | 3 Contact: Oskar Senft <osk@google.com> 22 Contact: Oskar Senft <osk@google.com>
|
/Linux-v6.1/net/netrom/ |
D | af_netrom.c | 468 static struct sock *nr_make_new(struct sock *osk) in nr_make_new() argument 473 if (osk->sk_type != SOCK_SEQPACKET) in nr_make_new() 476 sk = sk_alloc(sock_net(osk), PF_NETROM, GFP_ATOMIC, osk->sk_prot, 0); in nr_make_new() 484 sk->sk_type = osk->sk_type; in nr_make_new() 485 sk->sk_priority = osk->sk_priority; in nr_make_new() 486 sk->sk_protocol = osk->sk_protocol; in nr_make_new() 487 sk->sk_rcvbuf = osk->sk_rcvbuf; in nr_make_new() 488 sk->sk_sndbuf = osk->sk_sndbuf; in nr_make_new() 490 sock_copy_flags(sk, osk); in nr_make_new() 498 onr = nr_sk(osk); in nr_make_new()
|
/Linux-v6.1/net/rose/ |
D | af_rose.c | 555 static struct sock *rose_make_new(struct sock *osk) in rose_make_new() argument 560 if (osk->sk_type != SOCK_SEQPACKET) in rose_make_new() 563 sk = sk_alloc(sock_net(osk), PF_ROSE, GFP_ATOMIC, &rose_proto, 0); in rose_make_new() 577 sk->sk_type = osk->sk_type; in rose_make_new() 578 sk->sk_priority = osk->sk_priority; in rose_make_new() 579 sk->sk_protocol = osk->sk_protocol; in rose_make_new() 580 sk->sk_rcvbuf = osk->sk_rcvbuf; in rose_make_new() 581 sk->sk_sndbuf = osk->sk_sndbuf; in rose_make_new() 583 sock_copy_flags(sk, osk); in rose_make_new() 588 orose = rose_sk(osk); in rose_make_new()
|
/Linux-v6.1/net/x25/ |
D | af_x25.c | 581 static struct sock *x25_make_new(struct sock *osk) in x25_make_new() argument 586 if (osk->sk_type != SOCK_SEQPACKET) in x25_make_new() 589 if ((sk = x25_alloc_socket(sock_net(osk), 0)) == NULL) in x25_make_new() 594 sk->sk_type = osk->sk_type; in x25_make_new() 595 sk->sk_priority = osk->sk_priority; in x25_make_new() 596 sk->sk_protocol = osk->sk_protocol; in x25_make_new() 597 sk->sk_rcvbuf = osk->sk_rcvbuf; in x25_make_new() 598 sk->sk_sndbuf = osk->sk_sndbuf; in x25_make_new() 600 sk->sk_backlog_rcv = osk->sk_backlog_rcv; in x25_make_new() 601 sock_copy_flags(sk, osk); in x25_make_new() [all …]
|
/Linux-v6.1/net/ipv4/ |
D | inet_hashtables.c | 634 bool inet_ehash_insert(struct sock *sk, struct sock *osk, bool *found_dup_sk) in inet_ehash_insert() argument 650 if (osk) { in inet_ehash_insert() 651 WARN_ON_ONCE(sk->sk_hash != osk->sk_hash); in inet_ehash_insert() 652 ret = sk_nulls_del_node_init_rcu(osk); in inet_ehash_insert() 667 bool inet_ehash_nolisten(struct sock *sk, struct sock *osk, bool *found_dup_sk) in inet_ehash_nolisten() argument 669 bool ok = inet_ehash_insert(sk, osk, found_dup_sk); in inet_ehash_nolisten() 706 int __inet_hash(struct sock *sk, struct sock *osk) in __inet_hash() argument 714 inet_ehash_nolisten(sk, osk, NULL); in __inet_hash()
|
/Linux-v6.1/include/net/ |
D | inet_hashtables.h | 301 bool inet_ehash_insert(struct sock *sk, struct sock *osk, bool *found_dup_sk); 302 bool inet_ehash_nolisten(struct sock *sk, struct sock *osk, 304 int __inet_hash(struct sock *sk, struct sock *osk);
|
D | xfrm.h | 1202 int __xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk); 1204 static inline int xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) in xfrm_sk_clone_policy() argument 1206 if (!sk_fullsock(osk)) in xfrm_sk_clone_policy() 1210 if (unlikely(osk->sk_policy[0] || osk->sk_policy[1])) in xfrm_sk_clone_policy() 1211 return __xfrm_sk_clone_policy(sk, osk); in xfrm_sk_clone_policy() 1236 static inline int xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) { return 0; } in xfrm_sk_clone_policy() argument
|
D | sock.h | 960 static inline void sock_copy_flags(struct sock *nsk, const struct sock *osk) in sock_copy_flags() argument 962 nsk->sk_flags = osk->sk_flags; in sock_copy_flags()
|
/Linux-v6.1/net/ax25/ |
D | af_ax25.c | 914 struct sock *ax25_make_new(struct sock *osk, struct ax25_dev *ax25_dev) in ax25_make_new() argument 919 sk = sk_alloc(sock_net(osk), PF_AX25, GFP_ATOMIC, osk->sk_prot, 0); in ax25_make_new() 928 switch (osk->sk_type) { in ax25_make_new() 941 sk->sk_type = osk->sk_type; in ax25_make_new() 942 sk->sk_priority = osk->sk_priority; in ax25_make_new() 943 sk->sk_protocol = osk->sk_protocol; in ax25_make_new() 944 sk->sk_rcvbuf = osk->sk_rcvbuf; in ax25_make_new() 945 sk->sk_sndbuf = osk->sk_sndbuf; in ax25_make_new() 947 sock_copy_flags(sk, osk); in ax25_make_new() 949 oax25 = sk_to_ax25(osk); in ax25_make_new()
|
/Linux-v6.1/Documentation/ABI/stable/ |
D | sysfs-driver-aspeed-vuart | 19 Contact: Oskar Senft <osk@google.com>
|
/Linux-v6.1/arch/arm/mach-omap1/ |
D | Makefile | 40 obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | at91-q5xr5.dts | 5 * Copyright (C) 2014 Owen Kirby <osk@exegin.com>
|
/Linux-v6.1/net/core/ |
D | sock_map.c | 472 struct sock *osk; in sock_map_update_common() local 493 osk = stab->sks[idx]; in sock_map_update_common() 494 if (osk && flags == BPF_NOEXIST) { in sock_map_update_common() 497 } else if (!osk && flags == BPF_EXIST) { in sock_map_update_common() 504 if (osk) in sock_map_update_common() 505 sock_map_unref(osk, &stab->sks[idx]); in sock_map_update_common()
|
D | sock.c | 1989 static void sock_copy(struct sock *nsk, const struct sock *osk) in sock_copy() argument 1991 const struct proto *prot = READ_ONCE(osk->sk_prot); in sock_copy() 2005 memcpy(nsk, osk, offsetof(struct sock, sk_dontcopy_begin)); in sock_copy() 2007 memcpy(&nsk->sk_dontcopy_end, &osk->sk_dontcopy_end, in sock_copy() 2012 security_sk_clone(osk, nsk); in sock_copy()
|
/Linux-v6.1/net/smc/ |
D | af_smc.c | 441 static void smc_copy_sock_settings(struct sock *nsk, struct sock *osk, in smc_copy_sock_settings() argument 445 nsk->sk_type = osk->sk_type; in smc_copy_sock_settings() 446 nsk->sk_sndbuf = osk->sk_sndbuf; in smc_copy_sock_settings() 447 nsk->sk_rcvbuf = osk->sk_rcvbuf; in smc_copy_sock_settings() 448 nsk->sk_sndtimeo = osk->sk_sndtimeo; in smc_copy_sock_settings() 449 nsk->sk_rcvtimeo = osk->sk_rcvtimeo; in smc_copy_sock_settings() 450 nsk->sk_mark = osk->sk_mark; in smc_copy_sock_settings() 451 nsk->sk_priority = osk->sk_priority; in smc_copy_sock_settings() 452 nsk->sk_rcvlowat = osk->sk_rcvlowat; in smc_copy_sock_settings() 453 nsk->sk_bound_dev_if = osk->sk_bound_dev_if; in smc_copy_sock_settings() [all …]
|
/Linux-v6.1/net/unix/ |
D | af_unix.c | 216 static inline int unix_our_peer(struct sock *sk, struct sock *osk) in unix_our_peer() argument 218 return unix_peer(osk) == sk; in unix_our_peer() 221 static inline int unix_may_send(struct sock *sk, struct sock *osk) in unix_may_send() argument 223 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
|
/Linux-v6.1/net/xfrm/ |
D | xfrm_policy.c | 2323 int __xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) in __xfrm_sk_clone_policy() argument 2331 p = rcu_dereference(osk->sk_policy[i]); in __xfrm_sk_clone_policy()
|