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

Function stack_put

freebsd/kern/subr_stack.c:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70int
71stack_put(struct stack *st, vm_offset_t pc)
72{
73
74 if (st->depth < STACK_MAX) {
75 st->pcs[st->depth++] = pc;
76 return (0);
77 } else
78 return (-1);
79}
80
81void
82stack_copy(const struct stack *src, struct stack *dst)

Callers 4

stack_captureFunction · 0.85
stack_captureFunction · 0.85
stack_captureFunction · 0.85
stack_captureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected