Searched refs:kern (Results 1 - 2 of 2) sorted by relevance
/device/soc/rockchip/common/sdk_linux/net/bluetooth/ |
H A D | sco.c | 492 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in sco_sock_alloc() argument 496 sk = sk_alloc(net, PF_BLUETOOTH, prio, &sco_proto, kern); in sco_sock_alloc() 518 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in sco_sock_create() argument 532 sk = sco_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in sco_sock_create() 661 static int sco_sock_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) in sco_sock_accept() argument
|
H A D | l2cap_sock.c | 44 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern); 345 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) in l2cap_sock_accept() argument 1859 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in l2cap_sock_alloc() argument 1864 sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto, kern); in l2cap_sock_alloc() 1893 static int l2cap_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in l2cap_sock_create() argument 1906 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) { in l2cap_sock_create() 1912 sk = l2cap_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in l2cap_sock_create()
|
Completed in 4 milliseconds