Lines Matching refs:ifname
62 static struct net_device *bond_get_by_name(struct bond_net *bn, const char *ifname) in bond_get_by_name() argument
67 if (strncmp(bond->dev->name, ifname, IFNAMSIZ) == 0) in bond_get_by_name()
85 char *ifname; in bonding_store_bonds() local
89 ifname = command + 1; in bonding_store_bonds()
91 !dev_valid_name(ifname)) in bonding_store_bonds()
95 pr_info("%s is being created...\n", ifname); in bonding_store_bonds()
96 rv = bond_create(bn->net, ifname); in bonding_store_bonds()
99 pr_info("%s already exists\n", ifname); in bonding_store_bonds()
101 pr_info("%s creation failed\n", ifname); in bonding_store_bonds()
108 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds()
110 pr_info("%s is being deleted...\n", ifname); in bonding_store_bonds()
113 pr_err("unable to delete non-existent %s\n", ifname); in bonding_store_bonds()