Lines Matching refs:last_bonding_candidate
485 * batadv_last_bonding_get() - Get last_bonding_candidate of orig_node
495 struct batadv_orig_ifinfo *last_bonding_candidate;
498 last_bonding_candidate = orig_node->last_bonding_candidate;
500 if (last_bonding_candidate)
501 kref_get(&last_bonding_candidate->refcount);
504 return last_bonding_candidate;
508 * batadv_last_bonding_replace() - Replace last_bonding_candidate of orig_node
519 old_candidate = orig_node->last_bonding_candidate;
523 orig_node->last_bonding_candidate = new_candidate;