Lines Matching refs:ifname
79 static struct net_device *bond_get_by_name(struct bond_net *bn, const char *ifname) in bond_get_by_name() argument
84 if (strncmp(bond->dev->name, ifname, IFNAMSIZ) == 0) in bond_get_by_name()
102 char *ifname; in bonding_store_bonds() local
106 ifname = command + 1; in bonding_store_bonds()
108 !dev_valid_name(ifname)) in bonding_store_bonds()
112 pr_info("%s is being created...\n", ifname); in bonding_store_bonds()
113 rv = bond_create(bn->net, ifname); in bonding_store_bonds()
116 pr_info("%s already exists\n", ifname); in bonding_store_bonds()
118 pr_info("%s creation failed\n", ifname); in bonding_store_bonds()
125 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds()
127 pr_info("%s is being deleted...\n", ifname); in bonding_store_bonds()
130 pr_err("unable to delete non-existent %s\n", ifname); in bonding_store_bonds()