Lines Matching defs:orig_node
294 void hna_global_add_orig(struct orig_node *orig_node,
327 hna_global_entry->addr, orig_node->orig);
334 hna_global_entry->orig_node = orig_node;
353 orig_node->hna_buff = NULL;
354 orig_node->hna_buff_len = 0;
357 orig_node->hna_buff = kmalloc(hna_buff_len, GFP_ATOMIC);
358 if (orig_node->hna_buff) {
359 memcpy(orig_node->hna_buff, hna_buff, hna_buff_len);
360 orig_node->hna_buff_len = hna_buff_len;
419 hna_global_entry->orig_node->orig);
435 hna_global_entry->addr, hna_global_entry->orig_node->orig,
442 void hna_global_del_orig(struct orig_node *orig_node, char *message)
449 if (orig_node->hna_buff_len == 0)
454 while ((hna_buff_count + 1) * ETH_ALEN <= orig_node->hna_buff_len) {
455 hna_ptr = orig_node->hna_buff + (hna_buff_count * ETH_ALEN);
460 (hna_global_entry->orig_node == orig_node))
468 orig_node->hna_buff_len = 0;
469 kfree(orig_node->hna_buff);
470 orig_node->hna_buff = NULL;
487 struct orig_node *transtable_search(uint8_t *addr)
500 return hna_global_entry->orig_node;