Home
last modified time | relevance | path

Searched refs:nls (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/core/
Dnetlink.c49 static struct sock *nls; variable
54 if (netlink_has_listeners(nls, group) == 0) in ibnl_chk_listeners()
184 return netlink_dump_start(nls, skb, nlh, &c); in ibnl_rcv_msg()
233 return nlmsg_unicast(nls, skb, pid); in ibnl_unicast()
240 return nlmsg_multicast(nls, skb, 0, group, flags); in ibnl_multicast()
250 nls = netlink_kernel_create(&init_net, NETLINK_RDMA, &cfg); in ibnl_init()
251 if (!nls) { in ibnl_init()
270 netlink_kernel_release(nls); in ibnl_cleanup()
/drivers/connector/
Dconnector.c103 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult()
125 return netlink_broadcast(dev->nls, skb, portid, group, in cn_netlink_send_mult()
127 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult()
288 dev->nls = netlink_kernel_create(&init_net, NETLINK_CONNECTOR, &cfg); in cn_init()
289 if (!dev->nls) in cn_init()
292 dev->cbdev = cn_queue_alloc_dev("cqueue", dev->nls); in cn_init()
294 netlink_kernel_release(dev->nls); in cn_init()
314 netlink_kernel_release(dev->nls); in cn_fini()
Dcn_queue.c126 struct cn_queue_dev *cn_queue_alloc_dev(const char *name, struct sock *nls) in cn_queue_alloc_dev() argument
139 dev->nls = nls; in cn_queue_alloc_dev()
/drivers/scsi/
Dscsi_transport_iscsi.c1595 static struct sock *nls; variable
2344 return nlmsg_multicast(nls, skb, 0, group, gfp); in iscsi_multicast_skb()
4596 nls = netlink_kernel_create(&init_net, NETLINK_ISCSI, &cfg); in iscsi_transport_init()
4597 if (!nls) { in iscsi_transport_init()
4611 netlink_kernel_release(nls); in iscsi_transport_init()
4632 netlink_kernel_release(nls); in iscsi_transport_exit()