Home
last modified time | relevance | path

Searched refs:tt_req_node (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/net/batman-adv/
Dtranslation-table.c2571 struct batadv_tt_req_node *tt_req_node; in batadv_tt_req_node_release() local
2573 tt_req_node = container_of(ref, struct batadv_tt_req_node, refcount); in batadv_tt_req_node_release()
2575 kmem_cache_free(batadv_tt_req_cache, tt_req_node); in batadv_tt_req_node_release()
2583 static void batadv_tt_req_node_put(struct batadv_tt_req_node *tt_req_node) in batadv_tt_req_node_put() argument
2585 if (!tt_req_node) in batadv_tt_req_node_put()
2588 kref_put(&tt_req_node->refcount, batadv_tt_req_node_release); in batadv_tt_req_node_put()
2655 struct batadv_tt_req_node *tt_req_node_tmp, *tt_req_node = NULL; in batadv_tt_req_node_new() local
2665 tt_req_node = kmem_cache_alloc(batadv_tt_req_cache, GFP_ATOMIC); in batadv_tt_req_node_new()
2666 if (!tt_req_node) in batadv_tt_req_node_new()
2669 kref_init(&tt_req_node->refcount); in batadv_tt_req_node_new()
[all …]