Home
last modified time | relevance | path

Searched refs:arcp (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Darcs.c42 arctype *arcp; in addarc() local
50 arcp = arclookup(parentp, childp); in addarc()
51 if (arcp != 0) { in addarc()
59 arcp->arc_count, count); in addarc()
64 arcp->arc_count, count); in addarc()
70 arcp->arc_count += count; in addarc()
72 arcp->arc_count -= count; in addarc()
73 if (arcp->arc_count < 0) in addarc()
74 arcp->arc_count = 0; in addarc()
78 arcp = (arctype *)calloc(1, sizeof (*arcp)); in addarc()
[all …]
H A Dprintgprof.c396 arctype *arcp; in printparents() local
412 for (arcp = childp->parents; arcp; arcp = arcp->arc_parentlist) { in printparents()
413 parentp = arcp -> arc_parentp; in printparents()
421 "", "", "", "", arcp->arc_count, ""); in printparents()
434 "", arcp->arc_time / hz, arcp->arc_childtime / hz, in printparents()
435 arcp->arc_count, cycleheadp->ncall); in printparents()
450 arctype *arcp; in printchildren() local
454 for (arcp = parentp->children; arcp; arcp = arcp->arc_childlist) { in printchildren()
455 childp = arcp->arc_childp; in printchildren()
463 "", "", "", "", arcp->arc_count, ""); in printchildren()
[all …]
H A Dlookup.c97 arctype *arcp; in arclookup() local
111 for (arcp = parentp->children; arcp; arcp = arcp->arc_childlist) { in arclookup()
116 arcp->arc_parentp->name, in arclookup()
117 arcp->arc_childp->name); in arclookup()
120 if (arcp->arc_childp == childp) { in arclookup()
121 return (arcp); in arclookup()
H A Ddfn.c52 arctype *arcp; in dfn() local
94 for (arcp = parentp->children; arcp; arcp = arcp->arc_childlist) in dfn()
95 dfn(arcp->arc_childp); in dfn()
H A Dgprof.c269 arctype *arcp; in dump_callgraph() local
312 for (arcp = nlp->parents; arcp; in dump_callgraph()
313 arcp = arcp->arc_parentlist) { in dump_callgraph()
326 arcp->arc_parentp->module->load_base + in dump_callgraph()
327 (arcp->arc_parentp->value - in dump_callgraph()
328 arcp->arc_parentp->module->txt_origin); in dump_callgraph()
331 prof_func.count = arcp->arc_count; in dump_callgraph()
402 arctype *arcp; in dump_pcsamples() local
427 for (arcp = nlp->parents; arcp; in dump_pcsamples()
428 arcp = arcp->arc_parentlist) { in dump_pcsamples()
[all …]
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getproparcs.c53 md_get_prop_arcs(md_t *ptr, mde_cookie_t node, char *namep, mde_cookie_t *arcp, in md_get_prop_arcs() argument
71 result = md_find_node_arcs(mdp, node, prop_name, MDET_PROP_ARC, arcp, in md_get_prop_arcs()
84 mde_str_cookie_t prop_name, int tag_type, mde_cookie_t *arcp, in md_find_node_arcs() argument
108 if (arcp != NULL && result < arcsize) { in md_find_node_arcs()
109 arcp[result] = in md_find_node_arcs()