/linux-4.4.14/arch/arm/mach-omap1/ |
H A D | Makefile | 37 obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
|
H A D | board-osk.c | 2 * linux/arch/arm/mach-omap1/board-osk.c
|
/linux-4.4.14/net/ipv4/ |
H A D | inet_hashtables.c | 410 bool inet_ehash_insert(struct sock *sk, struct sock *osk) inet_ehash_insert() argument 426 if (osk) { inet_ehash_insert() 427 WARN_ON_ONCE(sk->sk_hash != osk->sk_hash); inet_ehash_insert() 428 ret = sk_nulls_del_node_init_rcu(osk); inet_ehash_insert() 436 bool inet_ehash_nolisten(struct sock *sk, struct sock *osk) inet_ehash_nolisten() argument 438 bool ok = inet_ehash_insert(sk, osk); inet_ehash_nolisten() 452 void __inet_hash(struct sock *sk, struct sock *osk) __inet_hash() argument 458 inet_ehash_nolisten(sk, osk); __inet_hash()
|
/linux-4.4.14/drivers/video/fbdev/omap/ |
H A D | lcd_osk.c | 78 .name = "osk",
|
/linux-4.4.14/net/netrom/ |
H A D | af_netrom.c | 471 static struct sock *nr_make_new(struct sock *osk) nr_make_new() argument 476 if (osk->sk_type != SOCK_SEQPACKET) nr_make_new() 479 sk = sk_alloc(sock_net(osk), PF_NETROM, GFP_ATOMIC, osk->sk_prot, 0); nr_make_new() 487 sk->sk_type = osk->sk_type; nr_make_new() 488 sk->sk_priority = osk->sk_priority; nr_make_new() 489 sk->sk_protocol = osk->sk_protocol; nr_make_new() 490 sk->sk_rcvbuf = osk->sk_rcvbuf; nr_make_new() 491 sk->sk_sndbuf = osk->sk_sndbuf; nr_make_new() 493 sock_copy_flags(sk, osk); nr_make_new() 501 onr = nr_sk(osk); nr_make_new()
|
/linux-4.4.14/net/rose/ |
H A D | af_rose.c | 555 static struct sock *rose_make_new(struct sock *osk) rose_make_new() argument 560 if (osk->sk_type != SOCK_SEQPACKET) rose_make_new() 563 sk = sk_alloc(sock_net(osk), PF_ROSE, GFP_ATOMIC, &rose_proto, 0); rose_make_new() 577 sk->sk_type = osk->sk_type; rose_make_new() 578 sk->sk_priority = osk->sk_priority; rose_make_new() 579 sk->sk_protocol = osk->sk_protocol; rose_make_new() 580 sk->sk_rcvbuf = osk->sk_rcvbuf; rose_make_new() 581 sk->sk_sndbuf = osk->sk_sndbuf; rose_make_new() 583 sock_copy_flags(sk, osk); rose_make_new() 588 orose = rose_sk(osk); rose_make_new()
|
/linux-4.4.14/net/ax25/ |
H A D | af_ax25.c | 881 struct sock *ax25_make_new(struct sock *osk, struct ax25_dev *ax25_dev) ax25_make_new() argument 886 sk = sk_alloc(sock_net(osk), PF_AX25, GFP_ATOMIC, osk->sk_prot, 0); ax25_make_new() 895 switch (osk->sk_type) { ax25_make_new() 908 sk->sk_type = osk->sk_type; ax25_make_new() 909 sk->sk_priority = osk->sk_priority; ax25_make_new() 910 sk->sk_protocol = osk->sk_protocol; ax25_make_new() 911 sk->sk_rcvbuf = osk->sk_rcvbuf; ax25_make_new() 912 sk->sk_sndbuf = osk->sk_sndbuf; ax25_make_new() 914 sock_copy_flags(sk, osk); ax25_make_new() 916 oax25 = sk_to_ax25(osk); ax25_make_new()
|
/linux-4.4.14/net/x25/ |
H A D | af_x25.c | 597 static struct sock *x25_make_new(struct sock *osk) x25_make_new() argument 602 if (osk->sk_type != SOCK_SEQPACKET) x25_make_new() 605 if ((sk = x25_alloc_socket(sock_net(osk), 0)) == NULL) x25_make_new() 610 sk->sk_type = osk->sk_type; x25_make_new() 611 sk->sk_priority = osk->sk_priority; x25_make_new() 612 sk->sk_protocol = osk->sk_protocol; x25_make_new() 613 sk->sk_rcvbuf = osk->sk_rcvbuf; x25_make_new() 614 sk->sk_sndbuf = osk->sk_sndbuf; x25_make_new() 616 sk->sk_backlog_rcv = osk->sk_backlog_rcv; x25_make_new() 617 sock_copy_flags(sk, osk); x25_make_new() 619 ox25 = x25_sk(osk); x25_make_new()
|
/linux-4.4.14/include/net/ |
H A D | inet_hashtables.h | 208 bool inet_ehash_insert(struct sock *sk, struct sock *osk); 209 bool inet_ehash_nolisten(struct sock *sk, struct sock *osk); 210 void __inet_hash(struct sock *sk, struct sock *osk);
|
H A D | xfrm.h | 1145 int __xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk); 1147 static inline int xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) xfrm_sk_clone_policy() argument 1151 if (unlikely(osk->sk_policy[0] || osk->sk_policy[1])) xfrm_sk_clone_policy() 1152 return __xfrm_sk_clone_policy(sk, osk); xfrm_sk_clone_policy() 1179 static inline int xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) { return 0; } xfrm6_route_forward() argument
|
H A D | sock.h | 746 static inline void sock_copy_flags(struct sock *nsk, struct sock *osk) sock_copy_flags() argument 748 nsk->sk_flags = osk->sk_flags; sock_copy_flags()
|
/linux-4.4.14/net/core/ |
H A D | sock.c | 1298 * Copy all fields from osk to nsk but nsk->sk_refcnt must not change yet, 1302 static void sock_copy(struct sock *nsk, const struct sock *osk) sock_copy() argument 1307 memcpy(nsk, osk, offsetof(struct sock, sk_dontcopy_begin)); sock_copy() 1309 memcpy(&nsk->sk_dontcopy_end, &osk->sk_dontcopy_end, sock_copy() 1310 osk->sk_prot->obj_size - offsetof(struct sock, sk_dontcopy_end)); sock_copy() 1314 security_sk_clone(osk, nsk); sock_copy()
|
/linux-4.4.14/net/unix/ |
H A D | af_unix.c | 184 static inline int unix_our_peer(struct sock *sk, struct sock *osk) unix_our_peer() argument 186 return unix_peer(osk) == sk; unix_our_peer() 189 static inline int unix_may_send(struct sock *sk, struct sock *osk) unix_may_send() argument 191 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); unix_may_send()
|
/linux-4.4.14/net/xfrm/ |
H A D | xfrm_policy.c | 1375 int __xfrm_sk_clone_policy(struct sock *sk, const struct sock *osk) __xfrm_sk_clone_policy() argument 1383 p = rcu_dereference(osk->sk_policy[i]); __xfrm_sk_clone_policy()
|