Lines Matching refs:fcn_p
54 static void fcn_destroy(fcn_t * fcn_p);
55 static void fcn_print(FILE * stream, fcn_t * fcn_p);
120 fcn_destroy(fcn_t * fcn_p) in fcn_destroy() argument
122 if (!fcn_p) in fcn_destroy()
126 if (!queue_isempty(&fcn_p->qn)) in fcn_destroy()
127 (void) queue_remove(&fcn_p->qn); in fcn_destroy()
129 if (fcn_p->name_p) in fcn_destroy()
130 free(fcn_p->name_p); in fcn_destroy()
131 if (fcn_p->entry_name_p) in fcn_destroy()
132 free(fcn_p->entry_name_p); in fcn_destroy()
134 free(fcn_p); in fcn_destroy()
146 fcn_t *fcn_p; in fcn_list() local
148 fcn_p = (fcn_t *) & g_fcnlist; in fcn_list()
149 while ((fcn_p = (fcn_t *) queue_next(&g_fcnlist, &fcn_p->qn))) { in fcn_list()
150 fcn_print(stdout, fcn_p); in fcn_list()
161 fcn_print(FILE * stream, fcn_t * fcn_p) in fcn_print() argument
163 if (!fcn_p) in fcn_print()
167 fcn_p->name_p, fcn_p->entry_name_p); in fcn_print()
179 fcn_t *fcn_p; in fcn_findname() local
184 fcn_p = (fcn_t *) & g_fcnlist; in fcn_findname()
185 while ((fcn_p = (fcn_t *) queue_next(&g_fcnlist, &fcn_p->qn))) in fcn_findname()
186 if (strcmp(entry_p, fcn_p->entry_name_p) == 0) in fcn_findname()
187 return (fcn_p->name_p); in fcn_findname()
201 fcn_t *fcn_p; in fcn_find() local
206 fcn_p = (fcn_t *) & g_fcnlist; in fcn_find()
207 while ((fcn_p = (fcn_t *) queue_next(&g_fcnlist, &fcn_p->qn))) in fcn_find()
208 if (strcmp(fcnname_p, fcn_p->name_p) == 0) in fcn_find()
209 return (fcn_p); in fcn_find()