• Home
  • Raw
  • Download

Lines Matching refs:refcount

65 		if (!atomic_inc_not_zero(&tmp->refcount))  in batadv_orig_node_vlan_get()
106 atomic_set(&vlan->refcount, 2); in batadv_orig_node_vlan_new()
124 if (atomic_dec_and_test(&orig_vlan->refcount)) in batadv_orig_node_vlan_free_ref()
176 if (atomic_dec_and_test(&neigh_ifinfo->refcount)) in batadv_neigh_ifinfo_free_ref_now()
187 if (atomic_dec_and_test(&neigh_ifinfo->refcount)) in batadv_neigh_ifinfo_free_ref()
220 if (atomic_dec_and_test(&neigh_node->refcount)) in batadv_neigh_node_free_ref_now()
231 if (atomic_dec_and_test(&neigh_node->refcount)) in batadv_neigh_node_free_ref()
261 if (router && !atomic_inc_not_zero(&router->refcount)) in batadv_orig_router_get()
289 if (!atomic_inc_not_zero(&tmp->refcount)) in batadv_orig_ifinfo_get()
329 !atomic_inc_not_zero(&if_outgoing->refcount)) { in batadv_orig_ifinfo_new()
340 atomic_set(&orig_ifinfo->refcount, 2); in batadv_orig_ifinfo_new()
370 if (!atomic_inc_not_zero(&tmp_neigh_ifinfo->refcount)) in batadv_neigh_ifinfo_get()
408 if (if_outgoing && !atomic_inc_not_zero(&if_outgoing->refcount)) { in batadv_neigh_ifinfo_new()
415 atomic_set(&neigh_ifinfo->refcount, 2); in batadv_neigh_ifinfo_new()
455 atomic_set(&neigh_node->refcount, 2); in batadv_neigh_node_new()
486 if (!atomic_inc_not_zero(&tmp_neigh_node->refcount)) in batadv_neigh_node_get()
526 if (atomic_dec_and_test(&orig_ifinfo->refcount)) in batadv_orig_ifinfo_free_ref_now()
537 if (atomic_dec_and_test(&orig_ifinfo->refcount)) in batadv_orig_ifinfo_free_ref()
590 if (atomic_dec_and_test(&orig_node->refcount)) in batadv_orig_node_free_ref()
601 if (atomic_dec_and_test(&orig_node->refcount)) in batadv_orig_node_free_ref_now()
673 atomic_set(&orig_node->refcount, 2); in batadv_orig_node_new()
883 if (!atomic_inc_not_zero(&neigh->refcount)) in batadv_find_best_neighbor()