Lines Matching defs:nm
564 struct fcoe_netdev_mapping *nm = NULL, *tmp;
576 list_for_each_entry_safe(nm, tmp, &fcoe_netdevs, list) {
577 if (nm->ft == ft) {
580 ft->name, nm->netdev->name);
581 list_del(&nm->list);
582 kfree(nm);
639 struct fcoe_netdev_mapping *nm;
641 nm = kmalloc(sizeof(*nm), GFP_KERNEL);
642 if (!nm) {
647 nm->netdev = netdev;
648 nm->ft = ft;
651 list_add(&nm->list, &fcoe_netdevs);
659 struct fcoe_netdev_mapping *nm = NULL, *tmp;
662 list_for_each_entry_safe(nm, tmp, &fcoe_netdevs, list) {
663 if (nm->netdev == netdev) {
664 list_del(&nm->list);
665 kfree(nm);
687 struct fcoe_netdev_mapping *nm;
690 list_for_each_entry(nm, &fcoe_netdevs, list) {
691 if (netdev == nm->netdev) {
692 ft = nm->ft;