/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/ |
H A D | kmdb_makecontext.c | 37 #include <sys/stack.h> 46 uintptr_t *stack = (uintptr_t *)(((uintptr_t)stk + stksize - 1) & local 49 *stack-- = 0; 52 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)stack;
|
/illumos-gate/usr/src/cmd/mdb/intel/ia32/kmdb/ |
H A D | kmdb_makecontext.c | 37 #include <sys/stack.h> 46 uintptr_t *stack = (uintptr_t *)((((uintptr_t)stk + stksize - 1) & local 49 *stack-- = 0; 50 *stack = (uintptr_t)arg; 53 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)stack;
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_makecontext.c | 38 #include <sys/stack.h> 48 * Top-of-stack must be rounded down to STACK_ALIGN and 51 uintptr_t stack = (((uintptr_t)stk + stksize - 1) & local 54 /* clear the top stack frame */ 55 bzero((void *)stack, SA(MINFRAME)); 61 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)(stack - STACK_BIAS);
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | addrs.c | 10 int stack = 0; local 21 printf(" stack: 0x%p\n", &stack);
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | stack.c | 24 * pointer stack routines 27 static const char id_stack[] = "\n@(#)$Id: stack (AT&T Bell Laboratories) 1984-05-01 $\0\n"; 30 #include <stack.h> 33 * create a new stack 39 register STACK stack; local 43 if (!(stack = newof(0, struct stacktable, 1, 0))) return(0); 46 free(stack); 49 if (!(b->stack = newof(0, void*, size, 0))) 52 free(stack); 55 stack 70 stackfree(register STACK stack) argument 90 stackclear(register STACK stack) argument 101 stackget(register STACK stack) argument 112 stackpush(register STACK stack, void* value) argument 142 stackpop(register STACK stack) argument 168 stacktell(register STACK stack, int set, STACKPOS* position) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtmatch.c | 48 char* stack[32]; local 53 p = stack; 136 if (p >= &stack[elementsof(stack)]) 157 if (p == stack) 259 if (p == stack && b == buf + 3) 276 if (p != stack)
|
H A D | fmtre.c | 52 Stack_t stack[32]; local 57 p = stack; 113 if (p >= &stack[elementsof(stack)]) 140 if (p >= &stack[elementsof(stack)]) 183 if (p >= &stack[elementsof(stack)]) 192 if (p == stack) 220 if (p != stack) [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/ |
H A D | start.S | 144 /* Save the boot params to the stack */ 186 stack: label
|
/illumos-gate/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 40 uintptr_t stack; local 44 * Top-of-stack must be rounded down to STACK_ALIGN and 47 stack = (((uintptr_t)stk + stksize) & ~(STACK_ALIGN - 1)) - 52 * a page for the top page of the stack. This will cause 57 if (uucopy(frame, (void *)stack, sizeof (frame)) == 0) 58 return ((void *)stack); 66 uintptr_t stack; local 72 * Clear the top stack frame. 75 if ((stack = (uintptr_t)setup_top_frame(stk, stksize, ulwp)) == NULL) 83 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)(stack [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_lookup.c | 60 char *stack[STACKSIZ]; local 61 char **stkptr = stack; 107 /* initialize the stack of open files for this thread */ 108 stack_op(INIT, NULL, stack, &stkptr); 110 err = getmapent(key, mapname, &ml, stack, &stkptr, &iswildcard,
|
H A D | ns_generic.c | 73 ns_setup(char **stack, char ***stkptr) argument 78 nsp->ns_init(stack, stkptr); 128 getmapent(key, mapname, ml, stack, stkptr, iswildcard, isrestricted) 131 char **stack, ***stkptr; 145 return (getmapent_files(key, mapname, ml, stack, stkptr, 149 ns_err = nsp->ns_getmapent(key, mapname, ml, stack, stkptr, 159 loadmaster_map(mapname, defopts, stack, stkptr) 161 char **stack, ***stkptr; 168 return (loadmaster_files(mapname, defopts, stack, stkptr)); 171 ns_err = nsp->ns_loadmaster(mapname, defopts, stack, stkpt [all...] |
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp_tunables.c | 34 udp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, argument 37 return (mod_set_buf_prop(stack->netstack_udp->us_propinfo_tbl, stack, 42 udp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, argument 45 return (mod_get_buf_prop(stack->netstack_udp->us_propinfo_tbl, stack, 55 udp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, argument 59 udp_stack_t *us = stack->netstack_udp; 73 udp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, argument 77 udp_stack_t *us = stack [all...] |
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | elf32_freebsd.c | 48 #define GUEST_STACK 0x1000 /* Initial stack base */ 63 uint32_t stack[1024], *sp; local 82 * Build a scratch stack at physical 0x1000 84 memset(stack, 0, sizeof(stack)); 85 sp = (uint32_t *)((char *)stack + sizeof(stack)); 100 CALLBACK(copyin, stack, GUEST_STACK, sizeof(stack)); 101 CALLBACK(setreg, 4, (char *)sp - (char *)stack [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | tparm.c | 58 * The parameter mechanism uses a stack and special % 60 * of the parameters onto the stack and then print it in some 93 * the stack works in the usual way, with 106 stack[stack_ptr].num = x; stack_ptr++; } 107 #define npop() (stack_ptr > 0 ? stack[--stack_ptr].num : 0) 108 #define spop() (stack_ptr > 0 ? stack[--stack_ptr].str : (char *) 0) 135 stack_frame stack[STACKSIZE]; local
|
/illumos-gate/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 39 uint64_t *stack; local 47 * Top-of-stack must be rounded down to STACK_ALIGN and 50 stack = (uint64_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1)); 54 * a page for the top page of the stack. This will cause 58 stack -= 3; 62 if (uucopy(&frame, stack, sizeof (frame)) == 0) 63 return (stack); 71 uint64_t *stack; local 84 * Setup the top stack frame. 87 if ((stack [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rsearch.c | 80 int ret, stack; local 103 stack = LF_ISSET(S_STACK); 105 0, pg, stack ? DB_LOCK_WRITE : DB_LOCK_READ, &lock)) != 0) 120 if (!stack && 131 stack = 1; 233 if (stack) { 249 * page in the stack. If we do, write lock it and 255 stack = 1; 260 __bam_lget(dbc, 1, pg, stack && LF_ISSET(S_WRITE) ?
|
H A D | bt_search.c | 87 int cmp, jump, ret, stack; local 113 stack = F_ISSET(dbp, DB_BT_RECNUM) && LF_ISSET(S_STACK); 115 0, pg, stack ? DB_LOCK_WRITE : DB_LOCK_READ, &lock)) != 0) 130 if (!stack && 141 stack = 1; 210 if (stack) { 226 * page in the return stack. If so, lock it and never 232 stack = 1; 237 __bam_lget(dbc, 1, pg, stack && LF_ISSET(S_WRITE) ? 310 * Release all pages currently held in the stack [all...] |
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | klog.c | 177 * Write a kernel stack and its statistics to log file. Only "total" will 182 lt_klog_log(int level, pid_t pid, char *stack, argument 213 str_len = strlen(stack) + 20; 215 (void) snprintf(str, str_len, "%ld, \"%s\"", pid, stack);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_tunables.c | 46 sctp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo, argument 49 sctp_stack_t *sctps = stack->netstack_sctp; 90 sctp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, argument 98 sctp_stack_t *sctps = stack->netstack_sctp; 139 sctp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, argument 144 sctp_stack_t *sctps = stack->netstack_sctp; 168 sctp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, argument 171 return (mod_set_buf_prop(stack->netstack_sctp->sctps_propinfo_tbl, 172 stack, cr, pinfo, ifname, pval, flags)); 176 sctp_get_buf_prop(netstack_t *stack, mod_prop_info_ argument [all...] |
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | stack.h | 27 * homogenous stack routine definitions 33 typedef struct stacktable* STACK; /* stack pointer */ 34 typedef struct stackposition STACKPOS; /* stack position */ 36 struct stackblock /* stack block cell */ 38 void** stack; /* actual stack */ member in struct:stackblock 43 struct stackposition /* stack position */ 49 struct stacktable /* stack information */ 51 struct stackblock* blocks; /* stack table blocks */ 54 STACKPOS position; /* current stack positio [all...] |
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ |
H A D | Makefile | 53 fasttrap/tst.stack.exe := LDLIBS += -ldtrace
|