Lines Matching refs:new_name
742 const char *new_name = NULL; in link_generate_new_name() local
761 … (void) sd_device_get_property_value(device, "ID_NET_NAME_FROM_DATABASE", &new_name); in link_generate_new_name()
764 … (void) sd_device_get_property_value(device, "ID_NET_NAME_ONBOARD", &new_name); in link_generate_new_name()
767 … (void) sd_device_get_property_value(device, "ID_NET_NAME_SLOT", &new_name); in link_generate_new_name()
770 … (void) sd_device_get_property_value(device, "ID_NET_NAME_PATH", &new_name); in link_generate_new_name()
773 … (void) sd_device_get_property_value(device, "ID_NET_NAME_MAC", &new_name); in link_generate_new_name()
778 if (ifname_valid(new_name)) { in link_generate_new_name()
779 … log_link_debug(link, "Policy *%s* yields \"%s\".", name_policy_to_string(*policy), new_name); in link_generate_new_name()
780 link->new_name = new_name; in link_generate_new_name()
787 link->new_name = link->config->name; in link_generate_new_name()
793 link->new_name = link->ifname; in link_generate_new_name()
847 if (link->new_name) in link_apply_alternative_names()
848 strv_remove(altnames, link->new_name); in link_apply_alternative_names()
950 link->new_name = link->ifname; in link_apply_config()