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

Function stack_create

freebsd/kern/subr_stack.c:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52static int stack_symbol_ddb(vm_offset_t pc, const char **name, long *offset);
53
54struct stack *
55stack_create(int flags)
56{
57 struct stack *st;
58
59 st = malloc(sizeof(*st), M_STACK, flags | M_ZERO);
60 return (st);
61}
62
63void
64stack_destroy(struct stack *st)

Callers 2

sysctl_kern_proc_kstackFunction · 0.85
sleepq_sbuf_print_stacksFunction · 0.85

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected