Lines Matching refs:fstack
30 } *fstack; variable
98 ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); in add_and_get_index()
104 fstack = ptr; in add_and_get_index()
108 memset(&fstack[i], 0, sizeof(fstack[i])); in add_and_get_index()
112 for (i = 0; i < fstack[cpu].size && fstack[cpu].stack[i]; i++) { in add_and_get_index()
113 if (strcmp(parent, fstack[cpu].stack[i]) == 0) { in add_and_get_index()
114 add_child(&fstack[cpu], child, i+1); in add_and_get_index()
120 add_child(&fstack[cpu], parent, 0); in add_and_get_index()
121 add_child(&fstack[cpu], child, 1); in add_and_get_index()
184 for (x = 0; x < fstack[i].size && fstack[i].stack[x]; x++) in PEVENT_PLUGIN_UNLOADER()
185 free(fstack[i].stack[x]); in PEVENT_PLUGIN_UNLOADER()
186 free(fstack[i].stack); in PEVENT_PLUGIN_UNLOADER()
191 free(fstack); in PEVENT_PLUGIN_UNLOADER()
192 fstack = NULL; in PEVENT_PLUGIN_UNLOADER()