Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/stack.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
void stack_copy(const struct stack *, struct stack *); | void stack_copy(const struct stack *, struct stack *); | ||||
void stack_zero(struct stack *); | void stack_zero(struct stack *); | ||||
void stack_print(const struct stack *); | void stack_print(const struct stack *); | ||||
void stack_print_ddb(const struct stack *); | void stack_print_ddb(const struct stack *); | ||||
void stack_print_short(const struct stack *); | void stack_print_short(const struct stack *); | ||||
void stack_print_short_ddb(const struct stack *); | void stack_print_short_ddb(const struct stack *); | ||||
void stack_sbuf_print(struct sbuf *, const struct stack *); | void stack_sbuf_print(struct sbuf *, const struct stack *); | ||||
void stack_sbuf_print_ddb(struct sbuf *, const struct stack *); | void stack_sbuf_print_ddb(struct sbuf *, const struct stack *); | ||||
int stack_sbuf_print_flags(struct sbuf *, const struct stack *, | |||||
int); | |||||
#ifdef KTR | #ifdef KTR | ||||
void stack_ktr(u_int, const char *, int, const struct stack *, | void stack_ktr(u_int, const char *, int, const struct stack *, | ||||
u_int, int); | u_int, int); | ||||
#define CTRSTACK(m, st, depth, cheap) do { \ | #define CTRSTACK(m, st, depth, cheap) do { \ | ||||
if (KTR_COMPILE & (m)) \ | if (KTR_COMPILE & (m)) \ | ||||
stack_ktr((m), __FILE__, __LINE__, st, depth, cheap); \ | stack_ktr((m), __FILE__, __LINE__, st, depth, cheap); \ | ||||
} while(0) | } while(0) | ||||
#else | #else | ||||
Show All 10 Lines |