/net/bridge/netfilter/ |
D | ebt_mark_m.c | 48 struct ebt_mark_m_info *kern = dst; in mark_mt_compat_from_user() local 50 kern->mark = user->mark; in mark_mt_compat_from_user() 51 kern->mask = user->mask; in mark_mt_compat_from_user() 52 kern->invert = user->invert; in mark_mt_compat_from_user() 53 kern->bitmask = user->bitmask; in mark_mt_compat_from_user() 59 const struct ebt_mark_m_info *kern = src; in mark_mt_compat_to_user() local 61 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user() 62 put_user(kern->mask, &user->mask) || in mark_mt_compat_to_user() 63 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user() 64 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
|
D | ebt_mark.c | 64 struct ebt_mark_t_info *kern = dst; in mark_tg_compat_from_user() local 66 kern->mark = user->mark; in mark_tg_compat_from_user() 67 kern->target = user->target; in mark_tg_compat_from_user() 73 const struct ebt_mark_t_info *kern = src; in mark_tg_compat_to_user() local 75 if (put_user(kern->mark, &user->mark) || in mark_tg_compat_to_user() 76 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
|
/net/nfc/ |
D | af_nfc.c | 31 int kern) in nfc_sock_create() argument 43 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
|
D | rawsock.c | 338 const struct nfc_protocol *nfc_proto, int kern) in rawsock_create() argument 355 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto, kern); in rawsock_create()
|
D | llcp_sock.c | 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 | nfc.h | 36 const struct nfc_protocol *nfc_proto, int kern);
|
D | llcp.h | 228 struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp, int kern);
|
/net/atm/ |
D | pvc.c | 133 int kern) in pvc_create() argument 139 return vcc_create(net, sock, protocol, PF_ATMPVC, kern); in pvc_create()
|
D | common.h | 13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
|
D | svc.c | 31 int kern); 655 int kern) in svc_create() argument 663 error = vcc_create(net, sock, protocol, AF_ATMSVC, kern); in svc_create()
|
/net/bluetooth/cmtp/ |
D | sock.c | 199 int kern) in cmtp_sock_create() argument 208 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &cmtp_proto, kern); in cmtp_sock_create()
|
/net/bluetooth/bnep/ |
D | sock.c | 196 int kern) in bnep_sock_create() argument 205 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &bnep_proto, kern); in bnep_sock_create()
|
/net/bluetooth/hidp/ |
D | sock.c | 230 int kern) in hidp_sock_create() argument 239 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hidp_proto, kern); in hidp_sock_create()
|
/net/bluetooth/ |
D | l2cap_sock.c | 46 int proto, gfp_t prio, int kern); 1595 int proto, gfp_t prio, int kern) in l2cap_sock_alloc() argument 1600 sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto, kern); in l2cap_sock_alloc() 1629 int kern) in l2cap_sock_create() argument 1641 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in l2cap_sock_create() 1646 sk = l2cap_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in l2cap_sock_create()
|
D | sco.c | 462 int proto, gfp_t prio, int kern) in sco_sock_alloc() argument 466 sk = sk_alloc(net, PF_BLUETOOTH, prio, &sco_proto, kern); in sco_sock_alloc() 490 int kern) in sco_sock_create() argument 503 sk = sco_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in sco_sock_create()
|
D | af_bluetooth.c | 132 int kern) in bt_sock_create() argument 157 err = bt_proto[proto]->create(net, sock, proto, kern); in bt_sock_create()
|
/net/bluetooth/rfcomm/ |
D | sock.c | 272 …ruct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in rfcomm_sock_alloc() argument 277 sk = sk_alloc(net, PF_BLUETOOTH, prio, &rfcomm_proto, kern); in rfcomm_sock_alloc() 314 int protocol, int kern) in rfcomm_sock_create() argument 327 sk = rfcomm_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in rfcomm_sock_create()
|
/net/phonet/ |
D | af_phonet.c | 64 int kern) in pn_socket_create() argument 100 sk = sk_alloc(net, PF_PHONET, GFP_KERNEL, pnp->prot, kern); in pn_socket_create()
|
/net/rds/ |
D | af_rds.c | 471 int kern) in rds_create() argument 478 sk = sk_alloc(net, AF_RDS, GFP_ATOMIC, &rds_proto, kern); in rds_create()
|
/net/ipv6/ |
D | af_inet6.c | 115 int kern) in inet6_create() argument 178 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in inet6_create() 189 sk = sk_alloc(net, PF_INET6, GFP_KERNEL, answer_prot, kern); in inet6_create()
|
/net/can/ |
D | af_can.c | 138 int kern) in can_create() argument 185 sk = sk_alloc(net, PF_CAN, GFP_KERNEL, cp->prot, kern); in can_create()
|
/net/vmw_vsock/ |
D | af_vsock.c | 608 int kern) in __vsock_create() argument 614 sk = sk_alloc(net, AF_VSOCK, priority, &vsock_proto, kern); in __vsock_create() 1873 int protocol, int kern) in vsock_create() argument 1894 return __vsock_create(net, sock, NULL, GFP_KERNEL, 0, kern) ? 0 : -ENOMEM; in vsock_create()
|
/net/x25/ |
D | af_x25.c | 516 static struct sock *x25_alloc_socket(struct net *net, int kern) in x25_alloc_socket() argument 519 struct sock *sk = sk_alloc(net, AF_X25, GFP_ATOMIC, &x25_proto, kern); in x25_alloc_socket() 536 int kern) in x25_create() argument 554 if ((sk = x25_alloc_socket(net, kern)) == NULL) in x25_create()
|
/net/rxrpc/ |
D | af_rxrpc.c | 615 int kern) in rxrpc_create() argument 635 sk = sk_alloc(net, PF_RXRPC, GFP_KERNEL, &rxrpc_proto, kern); in rxrpc_create()
|
/net/llc/ |
D | llc_conn.c | 918 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern) in llc_sk_alloc() argument 920 struct sock *sk = sk_alloc(net, family, priority, prot, kern); in llc_sk_alloc()
|