Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/onnv-gate/usr/src/lib/libast/common/misc/
H A Dstack.c39 register STACK stack; in stackalloc() local
43 if (!(stack = newof(0, struct stacktable, 1, 0))) return(0); in stackalloc()
46 free(stack); in stackalloc()
49 if (!(b->stack = newof(0, void*, size, 0))) in stackalloc()
52 free(stack); in stackalloc()
55 stack->blocks = b; in stackalloc()
56 stack->size = size; in stackalloc()
57 stack->error = error; in stackalloc()
58 stack->position.block = b; in stackalloc()
59 stack->position.index = -1; in stackalloc()
[all …]
/onnv-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c75 static int zio_read_data(blkptr_t *bp, void *buf, char *stack);
288 zio_read_gang(blkptr_t *bp, dva_t *dva, void *buf, char *stack) in zio_read_gang() argument
295 zio_gb = (zio_gbh_phys_t *)stack; in zio_read_gang()
296 stack += SPA_GANGBLOCKSIZE; in zio_read_gang()
321 if (zio_read_data(&zio_gb->zg_blkptr[i], buf, stack)) in zio_read_gang()
337 zio_read_data(blkptr_t *bp, void *buf, char *stack) in zio_read_data() argument
352 if (zio_read_gang(bp, &bp->blk_dva[i], buf, stack) == 0) in zio_read_data()
375 zio_read(blkptr_t *bp, void *buf, char *stack) in zio_read() argument
391 if ((char *)buf < stack && ((char *)buf) + lsize > stack) { in zio_read()
398 buf = stack; in zio_read()
[all …]
H A Dtparm.c139 static stack_frame stack[STACKSIZE]; variable
194 stack[stack_ptr].num_type = TRUE; in npush()
195 stack[stack_ptr].data.num = x; in npush()
206 if (stack[stack_ptr].num_type) in npop()
207 result = stack[stack_ptr].data.num; in npop()
216 stack[stack_ptr].num_type = FALSE; in spush()
217 stack[stack_ptr].data.str = x; in spush()
229 if (!stack[stack_ptr].num_type && stack[stack_ptr].data.str != 0) in spop()
230 result = stack[stack_ptr].data.str; in spop()
/onnv-gate/usr/src/cmd/fs.d/autofs/
H A Dns_files.c61 init_files(char **stack, char ***stkptr) in init_files() argument
68 if (stack == NULL && stkptr == NULL) in init_files()
70 (void) stack_op(INIT, NULL, stack, stkptr); in init_files()
74 getmapent_files(key, mapname, ml, stack, stkptr, iswildcard, isrestricted) in getmapent_files() argument
78 char **stack, ***stkptr;
93 if ((fp = file_open(mapname, fname, stack, stkptr)) == NULL) {
166 nserr = getmapent(key, word+1, ml, stack, stkptr,
201 (void) stack_op(POP, (char *)NULL, stack, stkptr);
210 getmapkeys_files(mapname, list, error, cache_time, stack, stkptr) in getmapkeys_files() argument
215 char **stack, ***stkptr;
[all …]
H A Dns_generic.c73 ns_setup(char **stack, char ***stkptr) in ns_setup() argument
78 nsp->ns_init(stack, stkptr); in ns_setup()
128 getmapent(key, mapname, ml, stack, stkptr, iswildcard, isrestricted) in getmapent() argument
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) in loadmaster_map() argument
161 char **stack, ***stkptr;
168 return (loadmaster_files(mapname, defopts, stack, stkptr));
171 ns_err = nsp->ns_loadmaster(mapname, defopts, stack, stkptr);
[all …]
H A Dns_nis.c63 init_nis(char **stack, char ***stkptr) in init_nis() argument
66 stack = stack; in init_nis()
75 getmapent_nis(key, map, ml, stack, stkptr, iswildcard, isrestricted) in getmapent_nis() argument
78 char **stack;
167 loadmaster_nis(mapname, defopts, stack, stkptr) in loadmaster_nis() argument
169 char **stack;
280 dirinit(dir, pmap, opts, 0, stack, stkptr);
309 loaddirect_nis(nismap, localmap, opts, stack, stkptr) in loaddirect_nis() argument
311 char **stack;
377 dirinit(dir, localmap, opts, 1, stack, stkptr);
[all …]
/onnv-gate/usr/src/lib/libast/common/string/
H A Dfmtre.c52 Stack_t stack[32]; in fmtre() local
57 p = stack; in fmtre()
113 if (p >= &stack[elementsof(stack)]) in fmtre()
140 if (p >= &stack[elementsof(stack)]) in fmtre()
183 if (p >= &stack[elementsof(stack)]) in fmtre()
192 if (p == stack) in fmtre()
220 if (p != stack) in fmtre()
H A Dfmtmatch.c48 char* stack[32]; in fmtmatch() local
53 p = stack; in fmtmatch()
136 if (p >= &stack[elementsof(stack)]) in fmtmatch()
157 if (p == stack) in fmtmatch()
259 if (p == stack && b == buf + 3) in fmtmatch()
276 if (p != stack) in fmtmatch()
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DCC.pm40 my @stack; # shadows perl's stack when contents are known.
191 sub top_int { @stack ? $stack[-1]->as_int : "TOPi" }
192 sub top_double { @stack ? $stack[-1]->as_double : "TOPn" }
193 sub top_numeric { @stack ? $stack[-1]->as_numeric : "TOPn" }
194 sub top_sv { @stack ? $stack[-1]->as_sv : "TOPs" }
195 sub top_bool { @stack ? $stack[-1]->as_bool : "SvTRUE(TOPs)" }
197 sub pop_int { @stack ? (pop @stack)->as_int : "POPi" }
198 sub pop_double { @stack ? (pop @stack)->as_double : "POPn" }
199 sub pop_numeric { @stack ? (pop @stack)->as_numeric : "POPn" }
200 sub pop_sv { @stack ? (pop @stack)->as_sv : "POPs" }
[all …]
/onnv-gate/usr/src/cmd/smbsrv/dtrace/
H A Dsmbnode.d48 stack();
58 stack();
69 stack();
78 stack();
87 stack();
96 stack();
106 stack();
115 stack();
124 stack();
/onnv-gate/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c39 uint64_t *stack; in setup_top_frame() local
50 stack = (uint64_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1)); in setup_top_frame()
58 stack -= 3; in setup_top_frame()
62 if (uucopy(&frame, stack, sizeof (frame)) == 0) in setup_top_frame()
63 return (stack); in setup_top_frame()
71 uint64_t *stack; in setup_context() local
87 if ((stack = setup_top_frame(stk, stksize, ulwp)) == NULL) in setup_context()
94 ucp->uc_mcontext.gregs[REG_RSP] = (greg_t)stack; in setup_context()
95 ucp->uc_mcontext.gregs[REG_RBP] = (greg_t)(stack + 1); in setup_context()
/onnv-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c80 pnode_t stack[OBP_STACKDEPTH]; in prom_walk_devs() local
87 stack[0] = node; in prom_walk_devs()
90 pnode_t curnode = stack[stackidx]; in prom_walk_devs()
104 stack[stackidx] = prom_nextnode(stack[stackidx]); in prom_walk_devs()
121 stack[stackidx] = child; in prom_walk_devs()
123 stack[stackidx] = in prom_walk_devs()
124 prom_nextnode(stack[stackidx]); in prom_walk_devs()
/onnv-gate/usr/src/cmd/mdb/intel/ia32/kmdb/
H A Dkmdb_makecontext.c46 uintptr_t *stack = (uintptr_t *)((((uintptr_t)stk + stksize - 1) & in kmdb_makecontext() local
49 *stack-- = 0; in kmdb_makecontext()
50 *stack = (uintptr_t)arg; in kmdb_makecontext()
53 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)stack; in kmdb_makecontext()
/onnv-gate/usr/src/common/openssl/doc/crypto/
H A DERR_set_mark.pod20 ERR_pop_to_mark() will pop the top of the error stack until a mark is found.
21 The mark is then removed. If there is no mark, the whole stack is removed.
25 ERR_set_mark() returns 0 if the error stack is empty, otherwise 1.
27 ERR_pop_to_mark() returns 0 if there was no mark in the error stack, which
28 implies that the stack became empty, otherwise 1.
/onnv-gate/usr/src/common/openssl/crypto/bn/
H A Dbn_ctx.c144 BN_STACK stack; member
160 BN_STACK *stack = &ctx->stack; in ctxdbg() local
171 while(fpidx < stack->depth) in ctxdbg()
173 while(bnidx++ < stack->indexes[fpidx]) in ctxdbg()
207 BN_STACK_reset(&ctx->stack); in BN_CTX_init()
224 BN_STACK_init(&ret->stack); in BN_CTX_new()
239 ctx->stack.size, ctx->pool.size); in BN_CTX_free()
250 BN_STACK_finish(&ctx->stack); in BN_CTX_free()
262 else if(!BN_STACK_push(&ctx->stack, ctx->used)) in BN_CTX_start()
277 unsigned int fp = BN_STACK_pop(&ctx->stack); in BN_CTX_end()
/onnv-gate/usr/src/cmd/tnf/prex/
H A Dsource.c73 static queue_node_t stack; variable
91 queue_init(&stack); in source_init()
101 (void) queue_prepend(&stack, &new_p->qn); in source_init()
149 (void) queue_prepend(&stack, &new_p->qn); in source_file()
192 top = (source_t *) queue_next(&stack, &stack); in source_input()
/onnv-gate/usr/src/lib/libc/i386/gen/
H A D_stack_grow.s64 / If the stack size is 0, stack checking is disabled.
71 / Move the stack pointer outside the stack bounds if it isn't already.
/onnv-gate/usr/src/lib/libc/amd64/gen/
H A D_stack_grow.s64 / If the stack size is 0, stack checking is disabled.
71 / Move the stack pointer outside the stack bounds if it isn't already.
/onnv-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_search.c87 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) {
232 stack = 1;
237 __bam_lget(dbc, 1, pg, stack && LF_ISSET(S_WRITE) ?
362 if (cp->sp != cp->stack)
/onnv-gate/usr/src/uts/sun4v/ml/
H A Dwbuf.s56 ! misaligned stack. We handle an unmapped stack by simulating
57 ! a pagefault at the trap pc and a misaligned stack by generating
128 ! user's stack has been unmapped.
155 ! user's stack has been unmapped.
192 ! misaligned stack. We handle an unmapped stack by simulating
193 ! a pagefault at the trap pc and a misaligned stack by generating
321 ! user's stack has been unmapped.
348 ! user's stack has been unmapped.
393 ! misaligned stack. We handle an unmapped stack by simulating
394 ! a pagefault at the trap pc and a misaligned stack by generating
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DDB.pm10 @stack, @saved, @skippkg, @clients);
49 @stack = (0);
63 push(@stack, $DB::single);
65 $DB::single |= 4 if $#stack == $deep;
69 $DB::single |= pop(@stack);
74 $DB::single |= pop(@stack);
79 $DB::single |= pop(@stack);
123 _outputall($#stack . " levels deep in subroutine calls.\n") if $DB::single & 4;
221 for ($i = 0; $i <= $#stack;) {
222 $stack[$i++] &= ~1;
[all …]
/onnv-gate/usr/src/uts/intel/dtrace/
H A Dsdt.c54 sdt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t eax) in sdt_invop() argument
78 stack0 = stack[i++]; in sdt_invop()
79 stack1 = stack[i++]; in sdt_invop()
80 stack2 = stack[i++]; in sdt_invop()
81 stack3 = stack[i++]; in sdt_invop()
82 stack4 = stack[i++]; in sdt_invop()
302 uintptr_t *stack; in sdt_getarg() local
323 stack = ((uintptr_t **)&fp[1])[1]; in sdt_getarg()
341 stack = (uintptr_t *)&rp->r_rdi; in sdt_getarg()
343 stack = (uintptr_t *)(rp->r_rsp); in sdt_getarg()
[all …]
/onnv-gate/usr/src/uts/common/sys/
H A Dflock_impl.h216 #define STACK_INIT(stack) ((stack) = NULL) argument
217 #define STACK_PUSH(stack, ptr, stack_link) (ptr)->stack_link = (stack),\ argument
218 (stack) = (ptr)
219 #define STACK_POP(stack, stack_link) (stack) = (stack)->stack_link argument
220 #define STACK_TOP(stack) (stack) argument
221 #define STACK_EMPTY(stack) ((stack) == NULL) argument
/onnv-gate/usr/src/lib/libc/sparc/threads/
H A Dmachdep.c40 uintptr_t stack; in setup_top_frame() local
47 stack = (((uintptr_t)stk + stksize) & ~(STACK_ALIGN - 1)) - in setup_top_frame()
57 if (uucopy(frame, (void *)stack, sizeof (frame)) == 0) in setup_top_frame()
58 return ((void *)stack); in setup_top_frame()
66 uintptr_t stack; in setup_context() local
75 if ((stack = (uintptr_t)setup_top_frame(stk, stksize, ulwp)) == NULL) in setup_context()
83 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)(stack - STACK_BIAS); in setup_context()
/onnv-gate/usr/src/lib/libc/i386/threads/
H A Dmachdep.c50 uint32_t *stack; in setup_top_frame() local
67 stack = (uint32_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1)); in setup_top_frame()
75 stack -= 5; /* make the address of frame.arg be 16-byte aligned */ in setup_top_frame()
81 if (uucopy(&frame, (void *)stack, sizeof (frame)) == 0) in setup_top_frame()
82 return (stack); in setup_top_frame()
93 uint32_t *stack; in setup_context() local
132 if ((stack = setup_top_frame(stk, stksize, ulwp)) == NULL) in setup_context()
138 ucp->uc_mcontext.gregs[UESP] = (greg_t)stack; in setup_context()
139 ucp->uc_mcontext.gregs[EBP] = (greg_t)(stack + 3); in setup_context()

12345678910>>...14