MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nexus_print_child

Function nexus_print_child

freebsd/mips/mips/nexus.c:220–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220static int
221nexus_print_child(device_t bus, device_t child)
222{
223 int retval = 0;
224
225 retval += bus_print_child_header(bus, child);
226 retval += nexus_print_all_resources(child);
227 if (device_get_flags(child))
228 retval += printf(" flags %#x", device_get_flags(child));
229 retval += printf(" on %s\n", device_get_nameunit(bus));
230
231 return (retval);
232}
233
234static int
235nexus_print_all_resources(device_t dev)

Callers

nothing calls this directly

Calls 5

bus_print_child_headerFunction · 0.85
device_get_flagsFunction · 0.85
device_get_nameunitFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected