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

Function devctl_alloc_dei_sb

freebsd/kern/subr_bus.c:641–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641static struct dev_event_info *
642devctl_alloc_dei_sb(struct sbuf *sb)
643{
644 struct dev_event_info *dei;
645
646 dei = devctl_alloc_dei();
647 if (dei != NULL)
648 sbuf_new(sb, dei->dei_data, sizeof(dei->dei_data), SBUF_FIXEDLEN);
649 return (dei);
650}
651
652static void
653devctl_free_dei(struct dev_event_info *dei)

Callers 2

devctl_notifyFunction · 0.85
devaddqFunction · 0.85

Calls 2

devctl_alloc_deiFunction · 0.85
sbuf_newFunction · 0.85

Tested by

no test coverage detected