Lines Matching refs:primary
98 static char *primary; variable
137 module_param(primary, charp, 0);
138 MODULE_PARM_DESC(primary, "Primary network device to use");
1785 if (USES_PRIMARY(bond->params.mode) && bond->params.primary[0]) { in bond_enslave()
1787 if (strcmp(bond->params.primary, new_slave->dev->name) == 0) { in bond_enslave()
4684 if (primary && !USES_PRIMARY(bond_mode)) { in bond_check_params()
4689 primary, bond_mode_name(bond_mode)); in bond_check_params()
4690 primary = NULL; in bond_check_params()
4693 if (primary && primary_reselect) { in bond_check_params()
4732 params->primary[0] = 0; in bond_check_params()
4740 if (primary) { in bond_check_params()
4741 strncpy(params->primary, primary, IFNAMSIZ); in bond_check_params()
4742 params->primary[IFNAMSIZ - 1] = 0; in bond_check_params()