Lines Matching refs:avail_comp
633 struct counter_action_avail_unit *avail_comp; in counter_synapses_register() local
670 avail_comp = kmalloc(sizeof(*avail_comp), GFP_KERNEL); in counter_synapses_register()
671 if (!avail_comp) { in counter_synapses_register()
675 avail_comp->actions_list = synapse->actions_list; in counter_synapses_register()
676 avail_comp->num_actions = synapse->num_actions; in counter_synapses_register()
684 parm.component = avail_comp; in counter_synapses_register()
687 kfree(avail_comp); in counter_synapses_register()
916 struct counter_func_avail_unit *avail_comp; in counter_count_attributes_create() local
959 avail_comp = kmalloc(sizeof(*avail_comp), GFP_KERNEL); in counter_count_attributes_create()
960 if (!avail_comp) { in counter_count_attributes_create()
964 avail_comp->functions_list = count->functions_list; in counter_count_attributes_create()
965 avail_comp->num_functions = count->num_functions; in counter_count_attributes_create()
973 parm.component = avail_comp; in counter_count_attributes_create()
976 kfree(avail_comp); in counter_count_attributes_create()