Home
last modified time | relevance | path

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

/freebsd/usr.bin/gprof/
H A Darcs.c49 addarc(nltype *parentp, nltype *childp, long count) in addarc() argument
56 count , parentp -> name , childp -> name ); in addarc()
59 arcp = arclookup( parentp , childp ); in addarc()
77 arcp -> arc_childp = childp; in addarc()
87 arcp -> arc_parentlist = childp -> parents; in addarc()
88 childp -> parents = arcp; in addarc()
263 nltype *childp; in timepropagate() local
274 childp = arcp -> arc_childp; in timepropagate()
281 if ( childp == parentp ) { in timepropagate()
284 if ( childp -> propfraction == 0.0 ) { in timepropagate()
[all …]
H A Ddfn.c128 dfn_numbered(nltype *childp) in dfn_numbered() argument
131 return ( childp -> toporder != DFN_NAN && childp -> toporder != DFN_BUSY ); in dfn_numbered()
138 dfn_busy(nltype *childp) in dfn_busy() argument
141 if ( childp -> toporder == DFN_NAN ) { in dfn_busy()
151 dfn_findcycle(nltype *childp) in dfn_findcycle() argument
160 if ( childp == cycleheadp ) { in dfn_findcycle()
163 if ( childp -> cyclehead != childp && in dfn_findcycle()
164 childp -> cyclehead == cycleheadp ) { in dfn_findcycle()
183 dfn_self_cycle( childp ); in dfn_findcycle()
217 childp = dfn_stack[ index ].nlentryp; in dfn_findcycle()
[all …]
H A Dprintgprof.c297 printparents(nltype *childp) in printparents() argument
303 if ( childp -> cyclehead != 0 ) { in printparents()
304 cycleheadp = childp -> cyclehead; in printparents()
306 cycleheadp = childp; in printparents()
308 if ( childp -> parents == 0 ) { in printparents()
313 sortparents( childp ); in printparents()
314 for ( arcp = childp -> parents ; arcp ; arcp = arcp -> arc_parentlist ) { in printparents()
316 if ( childp == parentp || ( arcp -> arc_flags & DEADARC ) || in printparents()
317 ( childp->cycleno != 0 && parentp->cycleno == childp->cycleno ) ) { in printparents()
343 nltype *childp; in printchildren() local
[all …]
H A Dlookup.c86 arclookup(nltype *parentp, nltype *childp) in arclookup() argument
90 if ( parentp == 0 || childp == 0 ) { in arclookup()
97 parentp -> name , childp -> name ); in arclookup()
108 if ( arcp -> arc_childp == childp ) { in arclookup()
H A Dgprof.c309 nltype *childp; in tally() local
312 childp = nllookup( rawp -> raw_selfpc ); in tally()
313 if ( parentp == 0 || childp == 0 ) in tally()
317 && onlist( ktolist , childp -> name ) ) { in tally()
320 childp -> ncall += rawp -> raw_count; in tally()
324 parentp -> name , childp -> name , rawp -> raw_count ); in tally()
327 addarc( parentp , childp , rawp -> raw_count ); in tally()
/freebsd/sys/dev/sis/
H A Dif_sis.c354 device_t *busp, *childp; in sis_find_bridge() local
366 for (j = 0, childp = pci_children; in sis_find_bridge()
367 j < pci_childcount; j++, childp++) { in sis_find_bridge()
368 if (pci_get_vendor(*childp) == SIS_VENDORID && in sis_find_bridge()
369 pci_get_device(*childp) == 0x0008) { in sis_find_bridge()
370 child = *childp; in sis_find_bridge()