Searched refs:ctx_stack (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 77 c->ctx_stack = mmap(NULL, c->ctx_stacksize, prot, in mdb_context_create() 85 if (c->ctx_stack == MAP_FAILED && errno == EBADF) { in mdb_context_create() 90 c->ctx_stack = mmap(NULL, c->ctx_stacksize, prot, in mdb_context_create() 96 if (c->ctx_stack == MAP_FAILED || getcontext(&c->ctx_uc) != 0) { in mdb_context_create() 101 c->ctx_uc.uc_stack.ss_sp = c->ctx_stack; in mdb_context_create() 113 if (munmap(c->ctx_stack, c->ctx_stacksize) == -1) in mdb_context_destroy() 114 fail("failed to unmap stack %p", c->ctx_stack); in mdb_context_destroy()
|
H A D | mdb_context_impl.h | 48 void *ctx_stack; /* stack base address */ member
|
/titanic_41/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_context.c | 66 c->ctx_stack = mdb_alloc_align(c->ctx_stacksize, pagesize, UM_NOSLEEP); in mdb_context_create() 68 if (c->ctx_stack == NULL) { in mdb_context_create() 74 c->ctx_stack, c->ctx_stacksize); in mdb_context_create() 82 mdb_free_align(c->ctx_stack, c->ctx_stacksize); in mdb_context_destroy()
|