/net/bridge/netfilter/ |
D | ebt_mark_m.c | 49 struct ebt_mark_m_info *kern = dst; in mark_mt_compat_from_user() local 51 kern->mark = user->mark; in mark_mt_compat_from_user() 52 kern->mask = user->mask; in mark_mt_compat_from_user() 53 kern->invert = user->invert; in mark_mt_compat_from_user() 54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user() 60 const struct ebt_mark_m_info *kern = src; in mark_mt_compat_to_user() local 62 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user() 63 put_user(kern->mask, &user->mask) || in mark_mt_compat_to_user() 64 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user() 65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
|
D | ebt_mark.c | 65 struct ebt_mark_t_info *kern = dst; in mark_tg_compat_from_user() local 67 kern->mark = user->mark; in mark_tg_compat_from_user() 68 kern->target = user->target; in mark_tg_compat_from_user() 74 const struct ebt_mark_t_info *kern = src; in mark_tg_compat_to_user() local 76 if (put_user(kern->mark, &user->mark) || in mark_tg_compat_to_user() 77 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
|
/net/nfc/ |
D | af_nfc.c | 19 int kern) in nfc_sock_create() argument 31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
|
D | llcp_sock.c | 445 int flags, bool kern) in llcp_sock_accept() argument 972 struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp, int kern) in nfc_llcp_sock_alloc() argument 977 sk = sk_alloc(&init_net, PF_NFC, gfp, &llcp_sock_proto, kern); in nfc_llcp_sock_alloc() 1023 const struct nfc_protocol *nfc_proto, int kern) in llcp_sock_create() argument 1042 sk = nfc_llcp_sock_alloc(sock, sock->type, GFP_ATOMIC, kern); in llcp_sock_create()
|
D | rawsock.c | 322 const struct nfc_protocol *nfc_proto, int kern) in rawsock_create() argument 339 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto, kern); in rawsock_create()
|
D | nfc.h | 24 const struct nfc_protocol *nfc_proto, int kern);
|
D | llcp.h | 215 struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp, int kern);
|
/net/atm/ |
D | pvc.c | 134 int kern) in pvc_create() argument 140 return vcc_create(net, sock, protocol, PF_ATMPVC, kern); in pvc_create()
|
D | svc.c | 32 int kern); 323 bool kern) in svc_accept() argument 334 error = svc_create(sock_net(sk), newsock, 0, kern); in svc_accept() 657 int kern) in svc_create() argument 665 error = vcc_create(net, sock, protocol, AF_ATMSVC, kern); in svc_create()
|
D | common.h | 14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
|
/net/bluetooth/bnep/ |
D | sock.c | 198 int kern) in bnep_sock_create() argument 207 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &bnep_proto, kern); in bnep_sock_create()
|
/net/bluetooth/cmtp/ |
D | sock.c | 201 int kern) in cmtp_sock_create() argument 210 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &cmtp_proto, kern); in cmtp_sock_create()
|
/net/bluetooth/rfcomm/ |
D | sock.c | 271 …ruct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in rfcomm_sock_alloc() argument 276 sk = sk_alloc(net, PF_BLUETOOTH, prio, &rfcomm_proto, kern); in rfcomm_sock_alloc() 313 int protocol, int kern) in rfcomm_sock_create() argument 326 sk = rfcomm_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in rfcomm_sock_create() 479 bool kern) in rfcomm_sock_accept() argument
|
/net/bluetooth/hidp/ |
D | sock.c | 249 int kern) in hidp_sock_create() argument 258 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hidp_proto, kern); in hidp_sock_create()
|
/net/bluetooth/ |
D | l2cap_sock.c | 47 int proto, gfp_t prio, int kern); 347 int flags, bool kern) in l2cap_sock_accept() argument 1855 int proto, gfp_t prio, int kern) in l2cap_sock_alloc() argument 1860 sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto, kern); in l2cap_sock_alloc() 1889 int kern) in l2cap_sock_create() argument 1901 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in l2cap_sock_create() 1906 sk = l2cap_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in l2cap_sock_create()
|
D | sco.c | 477 int proto, gfp_t prio, int kern) in sco_sock_alloc() argument 481 sk = sk_alloc(net, PF_BLUETOOTH, prio, &sco_proto, kern); in sco_sock_alloc() 503 int kern) in sco_sock_create() argument 516 sk = sco_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in sco_sock_create() 647 int flags, bool kern) in sco_sock_accept() argument
|
D | af_bluetooth.c | 112 int kern) in bt_sock_create() argument 130 err = bt_proto[proto]->create(net, sock, proto, kern); in bt_sock_create()
|
/net/mctp/ |
D | af_mctp.c | 313 int protocol, int kern) in mctp_pf_create() argument 333 sk = sk_alloc(net, PF_MCTP, GFP_KERNEL, proto, kern); in mctp_pf_create()
|
/net/ipv4/ |
D | af_inet.c | 249 int kern) in inet_create() argument 310 if (sock->type == SOCK_RAW && !kern && in inet_create() 322 sk = sk_alloc(net, PF_INET, GFP_KERNEL, answer_prot, kern); in inet_create() 390 if (!kern) { in inet_create() 746 bool kern) in inet_accept() argument 750 struct sock *sk2 = sk1->sk_prot->accept(sk1, flags, &err, kern); in inet_accept()
|
/net/phonet/ |
D | af_phonet.c | 51 int kern) in pn_socket_create() argument 87 sk = sk_alloc(net, PF_PHONET, GFP_KERNEL, pnp->prot, kern); in pn_socket_create()
|
D | socket.c | 295 int flags, bool kern) in pn_socket_accept() argument 304 newsk = sk->sk_prot->accept(sk, flags, &err, kern); in pn_socket_accept()
|
/net/ipv6/ |
D | af_inet6.c | 119 int kern) in inet6_create() argument 179 if (sock->type == SOCK_RAW && !kern && in inet6_create() 191 sk = sk_alloc(net, PF_INET6, GFP_KERNEL, answer_prot, kern); in inet6_create() 274 if (!kern) { in inet6_create()
|
/net/x25/ |
D | af_x25.c | 508 static struct sock *x25_alloc_socket(struct net *net, int kern) in x25_alloc_socket() argument 511 struct sock *sk = sk_alloc(net, AF_X25, GFP_ATOMIC, &x25_proto, kern); in x25_alloc_socket() 528 int kern) in x25_create() argument 546 if ((sk = x25_alloc_socket(net, kern)) == NULL) in x25_create() 870 bool kern) in x25_accept() argument
|
/net/vmw_vsock/ |
D | af_vsock.c | 722 int kern) in __vsock_create() argument 728 sk = sk_alloc(net, AF_VSOCK, priority, &vsock_proto, kern); in __vsock_create() 1440 bool kern) in vsock_accept() argument 2184 int protocol, int kern) in vsock_create() argument 2212 sk = __vsock_create(net, sock, NULL, GFP_KERNEL, 0, kern); in vsock_create()
|
/net/can/ |
D | af_can.c | 115 int kern) in can_create() argument 158 sk = sk_alloc(net, PF_CAN, GFP_KERNEL, cp->prot, kern); in can_create()
|