Lines Matching refs:tt_req_node
927 struct tt_req_node *node, *safe; in tt_req_list_free()
961 struct tt_req_node *node, *safe; in tt_req_purge()
975 static struct tt_req_node *new_tt_req_node(struct bat_priv *bat_priv, in new_tt_req_node()
978 struct tt_req_node *tt_req_node_tmp, *tt_req_node = NULL; in new_tt_req_node() local
988 tt_req_node = kmalloc(sizeof(*tt_req_node), GFP_ATOMIC); in new_tt_req_node()
989 if (!tt_req_node) in new_tt_req_node()
992 memcpy(tt_req_node->addr, orig_node->orig, ETH_ALEN); in new_tt_req_node()
993 tt_req_node->issued_at = jiffies; in new_tt_req_node()
995 list_add(&tt_req_node->list, &bat_priv->tt_req_list); in new_tt_req_node()
998 return tt_req_node; in new_tt_req_node()
1099 struct tt_req_node *tt_req_node = NULL; in send_tt_request() local
1108 tt_req_node = new_tt_req_node(bat_priv, dst_orig_node); in send_tt_request()
1109 if (!tt_req_node) in send_tt_request()
1152 if (ret && tt_req_node) { in send_tt_request()
1154 list_del(&tt_req_node->list); in send_tt_request()
1156 kfree(tt_req_node); in send_tt_request()
1503 struct tt_req_node *node, *safe; in handle_tt_response()