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

Function mac_labelzone_init

freebsd/security/mac/mac_label.c:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58static void mac_labelzone_dtor(void *mem, int size, void *arg);
59
60void
61mac_labelzone_init(void)
62{
63
64 zone_label = uma_zcreate("MAC labels", sizeof(struct label),
65 mac_labelzone_ctor, mac_labelzone_dtor, NULL, NULL,
66 UMA_ALIGN_PTR, 0);
67}
68
69/*
70 * mac_init_label() and mac_destroy_label() are exported so that they can be

Callers 1

mac_initFunction · 0.85

Calls 1

uma_zcreateFunction · 0.85

Tested by

no test coverage detected