Lines Matching refs:newval

20 					const struct bond_opt_value *newval);
22 const struct bond_opt_value *newval);
24 const struct bond_opt_value *newval);
26 const struct bond_opt_value *newval);
28 const struct bond_opt_value *newval);
30 const struct bond_opt_value *newval);
32 const struct bond_opt_value *newval);
36 const struct bond_opt_value *newval);
38 const struct bond_opt_value *newval);
40 const struct bond_opt_value *newval);
42 const struct bond_opt_value *newval);
44 const struct bond_opt_value *newval);
46 const struct bond_opt_value *newval);
48 const struct bond_opt_value *newval);
50 const struct bond_opt_value *newval);
52 const struct bond_opt_value *newval);
54 const struct bond_opt_value *newval);
56 const struct bond_opt_value *newval);
58 const struct bond_opt_value *newval);
60 const struct bond_opt_value *newval);
62 const struct bond_opt_value *newval);
64 const struct bond_opt_value *newval);
66 const struct bond_opt_value *newval);
68 const struct bond_opt_value *newval);
70 const struct bond_opt_value *newval);
72 const struct bond_opt_value *newval);
74 const struct bond_opt_value *newval);
76 const struct bond_opt_value *newval);
78 const struct bond_opt_value *newval);
762 const struct bond_opt_value *newval)
764 if (!bond_mode_uses_arp(newval->value)) {
767 newval->string);
780 if (newval->value == BOND_MODE_ALB)
784 bond_set_xfrm_features(bond->dev, newval->value);
788 bond->params.mode = newval->value;
794 const struct bond_opt_value *newval)
800 sscanf(newval->string, "%15s", ifname); /* IFNAMSIZ */
801 if (!strlen(ifname) || newval->string[0] == '\n') {
858 const struct bond_opt_value *newval)
861 newval->value);
862 bond->params.miimon = newval->value;
872 if (newval->value && bond->params.arp_interval) {
884 if (!newval->value) {
900 const struct bond_opt_value *newval,
904 int value = newval->value;
928 const struct bond_opt_value *newval)
930 return _bond_option_delay_set(bond, newval, "up delay",
935 const struct bond_opt_value *newval)
937 return _bond_option_delay_set(bond, newval, "down delay",
942 const struct bond_opt_value *newval)
944 int ret = _bond_option_delay_set(bond, newval,
951 const struct bond_opt_value *newval)
954 newval->value);
955 bond->params.use_carrier = newval->value;
965 const struct bond_opt_value *newval)
968 newval->value);
969 bond->params.arp_interval = newval->value;
970 if (newval->value) {
984 if (!newval->value) {
1097 const struct bond_opt_value *newval)
1102 if (newval->string) {
1103 if (!in4_pton(newval->string+1, -1, (u8 *)&target, -1, NULL)) {
1108 if (newval->string[0] == '+')
1110 else if (newval->string[0] == '-')
1115 target = newval->value;
1123 const struct bond_opt_value *newval)
1126 newval->string, newval->value);
1127 bond->params.arp_validate = newval->value;
1133 const struct bond_opt_value *newval)
1136 newval->string, newval->value);
1137 bond->params.arp_all_targets = newval->value;
1143 const struct bond_opt_value *newval)
1145 char *p, *primary = newval->string;
1192 const struct bond_opt_value *newval)
1195 newval->string, newval->value);
1196 bond->params.primary_reselect = newval->value;
1206 const struct bond_opt_value *newval)
1209 newval->string, newval->value);
1210 bond->params.fail_over_mac = newval->value;
1216 const struct bond_opt_value *newval)
1219 newval->string, newval->value);
1220 bond->params.xmit_policy = newval->value;
1226 const struct bond_opt_value *newval)
1229 newval->value);
1230 bond->params.resend_igmp = newval->value;
1236 const struct bond_opt_value *newval)
1238 bond->params.num_peer_notif = newval->value;
1244 const struct bond_opt_value *newval)
1249 if (newval->value == bond->params.all_slaves_active)
1251 bond->params.all_slaves_active = newval->value;
1254 if (newval->value)
1265 const struct bond_opt_value *newval)
1268 newval->value);
1269 bond->params.min_links = newval->value;
1276 const struct bond_opt_value *newval)
1278 bond->params.lp_interval = newval->value;
1284 const struct bond_opt_value *newval)
1287 newval->value);
1288 bond->params.packets_per_slave = newval->value;
1289 if (newval->value > 0) {
1291 reciprocal_value(newval->value);
1304 const struct bond_opt_value *newval)
1307 newval->string, newval->value);
1308 bond->params.lacp_fast = newval->value;
1315 const struct bond_opt_value *newval)
1318 newval->string, newval->value);
1319 bond->params.ad_select = newval->value;
1325 const struct bond_opt_value *newval)
1335 delim = strchr(newval->string, ':');
1347 if (!dev_valid_name(newval->string) ||
1352 sdev = __dev_get_by_name(dev_net(bond->dev), newval->string);
1386 const struct bond_opt_value *newval)
1393 sscanf(newval->string, "%16s", command); /* IFNAMSIZ*/
1434 const struct bond_opt_value *newval)
1437 newval->string, newval->value);
1438 bond->params.tlb_dynamic_lb = newval->value;
1444 const struct bond_opt_value *newval)
1447 newval->value);
1449 bond->params.ad_actor_sys_prio = newval->value;
1456 const struct bond_opt_value *newval)
1461 if (newval->string) {
1462 if (!mac_pton(newval->string, macaddr))
1466 mac = (u8 *)&newval->value;
1484 const struct bond_opt_value *newval)
1487 newval->value);
1489 bond->params.ad_user_port_key = newval->value;