Lines Matching refs:value

527 		if (opt->values[i].value == val)  in bond_opt_get_val()
555 if (!maxval || (minval && val < minval->value) || val > maxval->value) in bond_opt_check_range()
589 checkval = val->value != ULLONG_MAX; in bond_opt_parse()
605 rv = sscanf(val->string, "%llu", &val->value); in bond_opt_parse()
615 if (val->value == tbl[i].value) in bond_opt_parse()
630 if (checkval && bond_opt_check_range(opt, val->value)) in bond_opt_parse()
664 opt->name, modeval->string, modeval->value); in bond_opt_dep_print()
692 opt->name, val->value); in bond_opt_error_interpret()
700 opt->name, minval ? minval->value : 0, maxval->value); in bond_opt_error_interpret()
854 if (!bond_mode_uses_arp(newval->value)) { in bond_option_mode_set()
870 if (newval->value == BOND_MODE_ALB) in bond_option_mode_set()
875 bond->params.mode = newval->value; in bond_option_mode_set()
959 newval->value); in bond_option_miimon_set()
960 bond->params.miimon = newval->value; in bond_option_miimon_set()
970 if (newval->value && bond->params.arp_interval) { in bond_option_miimon_set()
982 if (!newval->value) { in bond_option_miimon_set()
1002 int value = newval->value; in _bond_option_delay_set() local
1009 if ((value % bond->params.miimon) != 0) { in _bond_option_delay_set()
1013 value, bond->params.miimon, in _bond_option_delay_set()
1014 (value / bond->params.miimon) * in _bond_option_delay_set()
1017 *target = value / bond->params.miimon; in _bond_option_delay_set()
1052 newval->value); in bond_option_use_carrier_set()
1053 bond->params.use_carrier = newval->value; in bond_option_use_carrier_set()
1066 newval->value); in bond_option_arp_interval_set()
1067 bond->params.arp_interval = newval->value; in bond_option_arp_interval_set()
1068 if (newval->value) { in bond_option_arp_interval_set()
1082 if (!newval->value) { in bond_option_arp_interval_set()
1213 target = newval->value; in bond_option_arp_ip_targets_set()
1289 newval->string, newval->value); in bond_option_arp_validate_set()
1290 bond->params.arp_validate = newval->value; in bond_option_arp_validate_set()
1299 newval->string, newval->value); in bond_option_arp_all_targets_set()
1300 bond->params.arp_all_targets = newval->value; in bond_option_arp_all_targets_set()
1309 newval->string, newval->value); in bond_option_missed_max_set()
1310 bond->params.missed_max = newval->value; in bond_option_missed_max_set()
1325 slave->prio = newval->value; in bond_option_prio_set()
1388 newval->string, newval->value); in bond_option_primary_reselect_set()
1389 bond->params.primary_reselect = newval->value; in bond_option_primary_reselect_set()
1402 newval->string, newval->value); in bond_option_fail_over_mac_set()
1403 bond->params.fail_over_mac = newval->value; in bond_option_fail_over_mac_set()
1412 newval->string, newval->value); in bond_option_xmit_hash_policy_set()
1413 bond->params.xmit_policy = newval->value; in bond_option_xmit_hash_policy_set()
1422 newval->value); in bond_option_resend_igmp_set()
1423 bond->params.resend_igmp = newval->value; in bond_option_resend_igmp_set()
1431 bond->params.num_peer_notif = newval->value; in bond_option_num_peer_notif_set()
1442 if (newval->value == bond->params.all_slaves_active) in bond_option_all_slaves_active_set()
1444 bond->params.all_slaves_active = newval->value; in bond_option_all_slaves_active_set()
1447 if (newval->value) in bond_option_all_slaves_active_set()
1461 newval->value); in bond_option_min_links_set()
1462 bond->params.min_links = newval->value; in bond_option_min_links_set()
1471 bond->params.lp_interval = newval->value; in bond_option_lp_interval_set()
1480 newval->value); in bond_option_pps_set()
1481 bond->params.packets_per_slave = newval->value; in bond_option_pps_set()
1482 if (newval->value > 0) { in bond_option_pps_set()
1484 reciprocal_value(newval->value); in bond_option_pps_set()
1500 newval->string, newval->value); in bond_option_lacp_active_set()
1501 bond->params.lacp_active = newval->value; in bond_option_lacp_active_set()
1510 newval->string, newval->value); in bond_option_lacp_rate_set()
1511 bond->params.lacp_fast = newval->value; in bond_option_lacp_rate_set()
1521 newval->string, newval->value); in bond_option_ad_select_set()
1522 bond->params.ad_select = newval->value; in bond_option_ad_select_set()
1640 newval->string, newval->value); in bond_option_tlb_dynamic_lb_set()
1641 bond->params.tlb_dynamic_lb = newval->value; in bond_option_tlb_dynamic_lb_set()
1650 newval->value); in bond_option_ad_actor_sys_prio_set()
1652 bond->params.ad_actor_sys_prio = newval->value; in bond_option_ad_actor_sys_prio_set()
1669 mac = (u8 *)&newval->value; in bond_option_ad_actor_system_set()
1690 newval->value); in bond_option_ad_user_port_key_set()
1692 bond->params.ad_user_port_key = newval->value; in bond_option_ad_user_port_key_set()