Home
last modified time | relevance | path

Searched refs:scsi_nl_sock (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dscsi_netlink.c32 struct sock *scsi_nl_sock = NULL; variable
33 EXPORT_SYMBOL_GPL(scsi_nl_sock);
498 scsi_nl_sock = netlink_kernel_create(&init_net, NETLINK_SCSITRANSPORT, in scsi_netlink_init()
501 if (!scsi_nl_sock) { in scsi_netlink_init()
527 if (scsi_nl_sock) { in scsi_netlink_exit()
528 netlink_kernel_release(scsi_nl_sock); in scsi_netlink_exit()
559 if (!scsi_nl_sock) { in scsi_nl_send_transport_msg()
584 err = nlmsg_unicast(scsi_nl_sock, skb, pid); in scsi_nl_send_transport_msg()
633 if (!scsi_nl_sock) { in scsi_nl_send_vendor_msg()
662 err = nlmsg_unicast(scsi_nl_sock, skb, pid); in scsi_nl_send_vendor_msg()
Dscsi_priv.h144 extern struct sock *scsi_nl_sock;
Dscsi_transport_fc.c527 if (!scsi_nl_sock) { in fc_host_post_event()
559 nlmsg_multicast(scsi_nl_sock, skb, 0, SCSI_NL_GRP_FC_EVENTS, in fc_host_post_event()
597 if (!scsi_nl_sock) { in fc_host_post_vendor_event()
629 nlmsg_multicast(scsi_nl_sock, skb, 0, SCSI_NL_GRP_FC_EVENTS, in fc_host_post_vendor_event()