Lines Matching full:adding
1271 bool adding = !(flags & OFDPA_OP_FLAG_REMOVE); in ofdpa_port_ipv4_neigh() local
1284 updating = found && adding; in ofdpa_port_ipv4_neigh()
1285 removing = found && !adding; in ofdpa_port_ipv4_neigh()
1286 adding = !found && adding; in ofdpa_port_ipv4_neigh()
1288 if (adding) { in ofdpa_port_ipv4_neigh()
1328 if (adding || removing) { in ofdpa_port_ipv4_neigh()
1342 if (!adding) in ofdpa_port_ipv4_neigh()
1383 bool adding = !(flags & OFDPA_OP_FLAG_REMOVE); in ofdpa_port_ipv4_nh() local
1397 updating = found && adding; in ofdpa_port_ipv4_nh()
1398 removing = found && !adding; in ofdpa_port_ipv4_nh()
1399 adding = !found && adding; in ofdpa_port_ipv4_nh()
1401 if (adding) { in ofdpa_port_ipv4_nh()
1420 if (!adding) in ofdpa_port_ipv4_nh()
1496 bool adding = !(flags & OFDPA_OP_FLAG_REMOVE); in ofdpa_port_vlan_l2_groups() local
1529 if ((!adding || ref != 1) && (adding || ref != 0)) in ofdpa_port_vlan_l2_groups()
1735 bool adding = !(flags & OFDPA_OP_FLAG_REMOVE); in ofdpa_port_vlan() local
1740 if (adding && in ofdpa_port_vlan()
1743 else if (!adding && in ofdpa_port_vlan()
1749 if (adding) { in ofdpa_port_vlan()
1934 /* Check if adding and already exists, or removing and can't find */ in ofdpa_port_fdb()