linux-lts-quantal-3.5.0/kernel/replay.c
// Free all allocated data values at once
Free all allocated data values at once
Free all allocated data values at once
static void argsfreeall (struct record_thread* prect)
{
	struct argsalloc_node* node;
	struct argsalloc_node* next_node;
	list_for_each_entry_safe (node, next_node, &prect->rp_argsalloc_list, list) {
		VFREE(node->head);
		list_del(&node->list);
		KFREE(node);	
	}
}
static void argsfreeall ( struct record_thread * prect ) { struct argsalloc_node * node ; struct argsalloc_node * next_node ; list_for_each_entry_safe ( node , next_node , & prect -> rp_argsalloc_list , list ) { VFREE ( node -> head ) ; list_del ( & node -> list ) ; KFREE ( node ) ; } }
Free all allocated data values at once
Free all allocated data values at once