Searched refs:batch_page (Results 1 – 1 of 1) sorted by relevance
86 struct batch_page { struct112 struct batch_page *batch_page; in mnl_nftnl_batch_page_add() local114 batch_page = malloc(sizeof(struct batch_page)); in mnl_nftnl_batch_page_add()115 if (batch_page == NULL) in mnl_nftnl_batch_page_add()118 batch_page->batch = batch; in mnl_nftnl_batch_page_add()119 list_add_tail(&batch_page->head, &batch_page_list); in mnl_nftnl_batch_page_add()146 struct batch_page *batch_page, *next; in mnl_nftnl_batch_reset() local148 list_for_each_entry_safe(batch_page, next, &batch_page_list, head) { in mnl_nftnl_batch_reset()149 list_del(&batch_page->head); in mnl_nftnl_batch_reset()150 free(batch_page->batch); in mnl_nftnl_batch_reset()[all …]