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

Function shared_page_fill

freebsd/kern/kern_sharedpage.c:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103int
104shared_page_fill(int size, int align, const void *data)
105{
106 int res;
107
108 sx_xlock(&shared_page_alloc_sx);
109 res = shared_page_alloc_locked(size, align);
110 if (res != -1)
111 shared_page_write(res, size, data);
112 sx_xunlock(&shared_page_alloc_sx);
113 return (res);
114}
115
116static void
117shared_page_init(void *dummy __unused)

Callers 1

exec_sysvec_initFunction · 0.85

Calls 2

shared_page_alloc_lockedFunction · 0.85
shared_page_writeFunction · 0.85

Tested by

no test coverage detected