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);
80 const struct bond_opt_value *newval);
82 const struct bond_opt_value *newval);
84 const struct bond_opt_value *newval);
86 const struct bond_opt_value *newval);
852 const struct bond_opt_value *newval)
854 if (!bond_mode_uses_arp(newval->value)) {
857 newval->string);
870 if (newval->value == BOND_MODE_ALB)
875 bond->params.mode = newval->value;
892 const struct bond_opt_value *newval)
898 sscanf(newval->string, "%15s", ifname); /* IFNAMSIZ */
899 if (!strlen(ifname) || newval->string[0] == '\n') {
956 const struct bond_opt_value *newval)
959 newval->value);
960 bond->params.miimon = newval->value;
970 if (newval->value && bond->params.arp_interval) {
982 if (!newval->value) {
998 const struct bond_opt_value *newval,
1002 int value = newval->value;
1026 const struct bond_opt_value *newval)
1028 return _bond_option_delay_set(bond, newval, "up delay",
1033 const struct bond_opt_value *newval)
1035 return _bond_option_delay_set(bond, newval, "down delay",
1040 const struct bond_opt_value *newval)
1042 int ret = _bond_option_delay_set(bond, newval,
1049 const struct bond_opt_value *newval)
1052 newval->value);
1053 bond->params.use_carrier = newval->value;
1063 const struct bond_opt_value *newval)
1066 newval->value);
1067 bond->params.arp_interval = newval->value;
1068 if (newval->value) {
1082 if (!newval->value) {
1195 const struct bond_opt_value *newval)
1200 if (newval->string) {
1201 if (!in4_pton(newval->string+1, -1, (u8 *)&target, -1, NULL)) {
1206 if (newval->string[0] == '+')
1208 else if (newval->string[0] == '-')
1213 target = newval->value;
1246 const struct bond_opt_value *newval)
1248 struct in6_addr *target = (struct in6_addr *)newval->extra;
1279 const struct bond_opt_value *newval)
1286 const struct bond_opt_value *newval)
1289 newval->string, newval->value);
1290 bond->params.arp_validate = newval->value;
1296 const struct bond_opt_value *newval)
1299 newval->string, newval->value);
1300 bond->params.arp_all_targets = newval->value;
1306 const struct bond_opt_value *newval)
1309 newval->string, newval->value);
1310 bond->params.missed_max = newval->value;
1316 const struct bond_opt_value *newval)
1320 slave = bond_slave_get_rtnl(newval->slave_dev);
1322 netdev_dbg(newval->slave_dev, "%s called on NULL slave\n", __func__);
1325 slave->prio = newval->value;
1337 const struct bond_opt_value *newval)
1339 char *p, *primary = newval->string;
1385 const struct bond_opt_value *newval)
1388 newval->string, newval->value);
1389 bond->params.primary_reselect = newval->value;
1399 const struct bond_opt_value *newval)
1402 newval->string, newval->value);
1403 bond->params.fail_over_mac = newval->value;
1409 const struct bond_opt_value *newval)
1412 newval->string, newval->value);
1413 bond->params.xmit_policy = newval->value;
1419 const struct bond_opt_value *newval)
1422 newval->value);
1423 bond->params.resend_igmp = newval->value;
1429 const struct bond_opt_value *newval)
1431 bond->params.num_peer_notif = newval->value;
1437 const struct bond_opt_value *newval)
1442 if (newval->value == bond->params.all_slaves_active)
1444 bond->params.all_slaves_active = newval->value;
1447 if (newval->value)
1458 const struct bond_opt_value *newval)
1461 newval->value);
1462 bond->params.min_links = newval->value;
1469 const struct bond_opt_value *newval)
1471 bond->params.lp_interval = newval->value;
1477 const struct bond_opt_value *newval)
1480 newval->value);
1481 bond->params.packets_per_slave = newval->value;
1482 if (newval->value > 0) {
1484 reciprocal_value(newval->value);
1497 const struct bond_opt_value *newval)
1500 newval->string, newval->value);
1501 bond->params.lacp_active = newval->value;
1507 const struct bond_opt_value *newval)
1510 newval->string, newval->value);
1511 bond->params.lacp_fast = newval->value;
1518 const struct bond_opt_value *newval)
1521 newval->string, newval->value);
1522 bond->params.ad_select = newval->value;
1528 const struct bond_opt_value *newval)
1538 delim = strchr(newval->string, ':');
1550 if (!dev_valid_name(newval->string) ||
1555 sdev = __dev_get_by_name(dev_net(bond->dev), newval->string);
1589 const struct bond_opt_value *newval)
1596 sscanf(newval->string, "%16s", command); /* IFNAMSIZ*/
1637 const struct bond_opt_value *newval)
1640 newval->string, newval->value);
1641 bond->params.tlb_dynamic_lb = newval->value;
1647 const struct bond_opt_value *newval)
1650 newval->value);
1652 bond->params.ad_actor_sys_prio = newval->value;
1659 const struct bond_opt_value *newval)
1664 if (newval->string) {
1665 if (!mac_pton(newval->string, macaddr))
1669 mac = (u8 *)&newval->value;
1687 const struct bond_opt_value *newval)
1690 newval->value);
1692 bond->params.ad_user_port_key = newval->value;