Lines Matching refs:node
549 char *node;
552 if (vif->credit_watch.node)
555 node = kmalloc(maxlen, GFP_KERNEL);
556 if (!node)
558 snprintf(node, maxlen, "%s/rate", dev->nodename);
559 vif->credit_watch.node = node;
564 pr_err("Failed to set watcher %s\n", vif->credit_watch.node);
565 kfree(node);
566 vif->credit_watch.node = NULL;
575 if (vif->credit_watch.node) {
577 kfree(vif->credit_watch.node);
578 vif->credit_watch.node = NULL;
597 char *node;
601 if (vif->mcast_ctrl_watch.node) {
606 node = kmalloc(maxlen, GFP_KERNEL);
607 if (!node) {
611 snprintf(node, maxlen, "%s/request-multicast-control",
613 vif->mcast_ctrl_watch.node = node;
619 vif->mcast_ctrl_watch.node);
620 kfree(node);
621 vif->mcast_ctrl_watch.node = NULL;
630 if (vif->mcast_ctrl_watch.node) {
632 kfree(vif->mcast_ctrl_watch.node);
633 vif->mcast_ctrl_watch.node = NULL;
654 kfree(be->hotplug_status_watch.node);