Home
last modified time | relevance | path

Searched refs:kern (Results 1 – 25 of 55) sorted by relevance

123

/net/bridge/netfilter/
A Debt_mark_m.c49 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()
A Debt_mark.c65 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/
A Daf_nfc.c19 int kern) in nfc_sock_create() argument
31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
A Drawsock.c324 const struct nfc_protocol *nfc_proto, int kern) in rawsock_create() argument
341 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto, kern); in rawsock_create()
A Dllcp_sock.c974 struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp, int kern) in nfc_llcp_sock_alloc() argument
979 sk = sk_alloc(&init_net, PF_NFC, gfp, &llcp_sock_proto, kern); in nfc_llcp_sock_alloc()
1025 const struct nfc_protocol *nfc_proto, int kern) in llcp_sock_create() argument
1044 sk = nfc_llcp_sock_alloc(sock, sock->type, GFP_ATOMIC, kern); in llcp_sock_create()
A Dnfc.h24 const struct nfc_protocol *nfc_proto, int kern);
A Dllcp.h214 struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp, int kern);
/net/atm/
A Dpvc.c133 int kern) in pvc_create() argument
139 return vcc_create(net, sock, protocol, PF_ATMPVC, kern); in pvc_create()
A Dsvc.c37 int kern);
339 error = svc_create(sock_net(sk), newsock, 0, arg->kern); in svc_accept()
661 int kern) in svc_create() argument
669 error = vcc_create(net, sock, protocol, AF_ATMSVC, kern); in svc_create()
A Dcommon.h14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
/net/bluetooth/
A Daf_bluetooth.c117 int kern) in bt_sock_create() argument
135 err = bt_proto[proto]->create(net, sock, proto, kern); in bt_sock_create()
147 struct proto *prot, int proto, gfp_t prio, int kern) in bt_sock_alloc() argument
151 sk = sk_alloc(net, PF_BLUETOOTH, prio, prot, kern); in bt_sock_alloc()
164 if (!kern) { in bt_sock_alloc()
A Dl2cap_sock.c48 int proto, gfp_t prio, int kern);
1889 int proto, gfp_t prio, int kern) in l2cap_sock_alloc() argument
1894 sk = bt_sock_alloc(net, sock, &l2cap_proto, proto, prio, kern); in l2cap_sock_alloc()
1919 int kern) in l2cap_sock_create() argument
1931 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in l2cap_sock_create()
1936 sk = l2cap_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in l2cap_sock_create()
A Dsco.c558 int proto, gfp_t prio, int kern) in sco_sock_alloc() argument
562 sk = bt_sock_alloc(net, sock, &sco_proto, proto, prio, kern); in sco_sock_alloc()
580 int kern) in sco_sock_create() argument
593 sk = sco_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in sco_sock_create()
/net/bluetooth/bnep/
A Dsock.c199 int kern) in bnep_sock_create() argument
208 sk = bt_sock_alloc(net, sock, &bnep_proto, protocol, GFP_ATOMIC, kern); in bnep_sock_create()
/net/bluetooth/cmtp/
A Dsock.c201 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/hidp/
A Dsock.c250 int kern) in hidp_sock_create() argument
259 sk = bt_sock_alloc(net, sock, &hidp_proto, protocol, GFP_ATOMIC, kern); in hidp_sock_create()
/net/bluetooth/rfcomm/
A Dsock.c272 int proto, gfp_t prio, int kern) in rfcomm_sock_alloc() argument
281 sk = bt_sock_alloc(net, sock, &rfcomm_proto, proto, prio, kern); in rfcomm_sock_alloc()
306 int protocol, int kern) in rfcomm_sock_create() argument
319 sk = rfcomm_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in rfcomm_sock_create()
/net/phonet/
A Daf_phonet.c51 int kern) in pn_socket_create() argument
87 sk = sk_alloc(net, PF_PHONET, GFP_KERNEL, pnp->prot, kern); in pn_socket_create()
/net/ipv6/
A Daf_inet6.c121 int kern) in inet6_create() argument
181 if (sock->type == SOCK_RAW && !kern && in inet6_create()
193 sk = sk_alloc(net, PF_INET6, GFP_KERNEL, answer_prot, kern); in inet6_create()
264 if (!kern) { in inet6_create()
/net/can/
A Daf_can.c115 int kern) in can_create() argument
158 sk = sk_alloc(net, PF_CAN, GFP_KERNEL, cp->prot, kern); in can_create()
/net/x25/
A Daf_x25.c508 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()
/net/ipv4/
A Daf_inet.c253 int kern) in inet_create() argument
314 if (sock->type == SOCK_RAW && !kern && in inet_create()
326 sk = sk_alloc(net, PF_INET, GFP_KERNEL, answer_prot, kern); in inet_create()
389 if (!kern) { in inet_create()
/net/rds/
A Daf_rds.c698 int kern) in rds_create() argument
705 sk = sk_alloc(net, AF_RDS, GFP_KERNEL, &rds_proto, kern); in rds_create()
/net/mctp/
A Daf_mctp.c800 int protocol, int kern) in mctp_pf_create() argument
820 sk = sk_alloc(net, PF_MCTP, GFP_KERNEL, proto, kern); in mctp_pf_create()
/net/llc/
A Dllc_conn.c930 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern) in llc_sk_alloc() argument
932 struct sock *sk = sk_alloc(net, family, priority, prot, kern); in llc_sk_alloc()

Completed in 60 milliseconds

123