Lines Matching refs:master
650 Link *master; in link_request_to_set_bond() local
655 if (link_get_master(link, &master) < 0) in link_request_to_set_bond()
658 if (!streq_ptr(master->kind, "bond")) in link_request_to_set_bond()
671 Link *master; in link_request_to_set_bridge() local
676 if (link_get_master(link, &master) < 0) in link_request_to_set_bridge()
679 if (!streq_ptr(master->kind, "bridge")) in link_request_to_set_bridge()
696 Link *master; in link_request_to_set_bridge_vlan() local
701 if (link_get_master(link, &master) < 0) in link_request_to_set_bridge_vlan()
704 if (!streq_ptr(master->kind, "bridge")) in link_request_to_set_bridge_vlan()
906 Link *master; in link_up_dsa_slave() local
922 if (link_get_by_index(link->manager, link->dsa_master_ifindex, &master) < 0) in link_up_dsa_slave()
925 if (master->state == LINK_STATE_UNMANAGED) { in link_up_dsa_slave()
928 r = link_request_to_bring_up_or_down(master, /* up = */ true); in link_up_dsa_slave()
1084 Link *master; in link_is_ready_to_bring_up_or_down() local
1088 if (link_get_by_index(link->manager, link->dsa_master_ifindex, &master) < 0) in link_is_ready_to_bring_up_or_down()
1091 if (!FLAGS_SET(master->flags, IFF_UP)) in link_is_ready_to_bring_up_or_down()