Lines Matching refs:fstack
16 } *fstack; variable
92 ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); in add_and_get_index()
98 fstack = ptr; in add_and_get_index()
102 memset(&fstack[i], 0, sizeof(fstack[i])); in add_and_get_index()
106 for (i = 0; i < fstack[cpu].size && fstack[cpu].stack[i]; i++) { in add_and_get_index()
107 if (strcmp(parent, fstack[cpu].stack[i]) == 0) { in add_and_get_index()
108 add_child(&fstack[cpu], child, i+1); in add_and_get_index()
114 add_child(&fstack[cpu], parent, 0); in add_and_get_index()
115 add_child(&fstack[cpu], child, 1); in add_and_get_index()
272 for (x = 0; x < fstack[i].size && fstack[i].stack[x]; x++) in TEP_PLUGIN_UNLOADER()
273 free(fstack[i].stack[x]); in TEP_PLUGIN_UNLOADER()
274 free(fstack[i].stack); in TEP_PLUGIN_UNLOADER()
279 free(fstack); in TEP_PLUGIN_UNLOADER()
280 fstack = NULL; in TEP_PLUGIN_UNLOADER()