Home
last modified time | relevance | path

Searched refs:kern (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/sdk_linux/net/bluetooth/
H A Dsco.c492 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 Dl2cap_sock.c44 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