Lines Matching refs:ifname
78 static struct net_device *bond_get_by_name(struct bond_net *bn, const char *ifname) in bond_get_by_name() argument
83 if (strncmp(bond->dev->name, ifname, IFNAMSIZ) == 0) in bond_get_by_name()
101 char *ifname; in bonding_store_bonds() local
105 ifname = command + 1; in bonding_store_bonds()
107 !dev_valid_name(ifname)) in bonding_store_bonds()
111 pr_info("%s is being created...\n", ifname); in bonding_store_bonds()
112 rv = bond_create(bn->net, ifname); in bonding_store_bonds()
115 pr_info("%s already exists\n", ifname); in bonding_store_bonds()
117 pr_info("%s creation failed\n", ifname); in bonding_store_bonds()
124 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds()
126 pr_info("%s is being deleted...\n", ifname); in bonding_store_bonds()
129 pr_err("unable to delete non-existent %s\n", ifname); in bonding_store_bonds()