Searched refs:stack (Results 1 - 25 of 146) sorted by relevance

123456

/osnet-11/usr/src/lib/libast/common/misc/
H A Dstack.c24 * 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...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dputnexts.d6 * queue and the calling stack, by frequency count. This is especially useful
8 * TCP/IP stack.
37 @[stringof(args[0]->q_qinfo->qi_minfo->mi_idname), stack(5)] = count();
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Kernel/
H A Dputnexts.d6 * queue and the calling stack, by frequency count. This is especially useful
8 * TCP/IP stack.
37 @[stringof(args[0]->q_qinfo->qi_minfo->mi_idname), stack(5)] = count();
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dcuexit.s37 #include <sys/stack.h>
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c74 static int zio_read_data(blkptr_t *bp, void *buf, char *stack);
75 static int zio_read_common(blkptr_t *bp, dva_t *dva, void *buf, char *stack);
288 zio_read_gang_data(blkptr_t *bp, void *buf, char *stack) argument
294 if (zio_read_common(bp, &bp->blk_dva[i], buf, stack) == 0)
310 zio_read_gang(uint64_t bp_blk_birth, dva_t *dva, void *buf, char *stack) argument
317 zio_gb = (zio_gbh_phys_t *)stack;
318 stack += SPA_GANGBLOCKSIZE;
343 if (zio_read_gang_data(&zio_gb->zg_blkptr[i], buf, stack))
359 zio_read_common(blkptr_t *bp, dva_t *dva, void *buf, char *stack) argument
366 if (zio_read_gang(bp->blk_birth, dva, buf, stack)
390 zio_read_data(blkptr_t *bp, void *buf, char *stack) argument
419 zio_read(blkptr_t *bp, void *buf, char *stack) argument
466 dmu_read(dnode_phys_t *dn, uint64_t blkid, void *buf, char *stack) argument
658 fzap_lookup(dnode_phys_t *zap_dnode, zap_phys_t *zap, char *name, uint64_t *value, char *stack) argument
702 zap_lookup(dnode_phys_t *zap_dnode, char *name, uint64_t *val, char *stack) argument
743 dnode_get(dnode_phys_t *mdn, uint64_t objnum, uint8_t type, dnode_phys_t *buf, char *stack) argument
818 dnode_get_path(dnode_phys_t *mdn, char *path, dnode_phys_t *dn, char *stack) argument
879 get_default_bootfsobj(dnode_phys_t *mosmdn, uint64_t *obj, char *stack) argument
923 get_objset_mdn(dnode_phys_t *mosmdn, char *fsname, uint64_t *obj, dnode_phys_t *mdn, char *stack) argument
1252 check_pool_label(uint64_t sector, char *stack, char *outdevid, char *outpath, uint64_t *outguid) argument
1322 char *stack; local
1422 char *stack; local
1523 char *stack; local
[all...]
H A Dtparm.c86 * The parameter mechanism uses a stack and special %
88 * of the parameters onto the stack and then print it in some
124 * the stack works in the usual way, with
139 static stack_frame stack[STACKSIZE]; variable
194 stack[stack_ptr].num_type = TRUE;
195 stack[stack_ptr].data.num = x;
206 if (stack[stack_ptr].num_type)
207 result = stack[stack_ptr].data.num;
216 stack[stack_ptr].num_type = FALSE;
217 stack[stack_pt
[all...]
/osnet-11/usr/src/lib/libast/common/string/
H A Dfmtre.c52 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...]
H A Dfmtmatch.c48 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)
/osnet-11/usr/src/lib/brand/shared/brand/amd64/
H A Dcrt.s45 * routine, but we do know how our initial stack has been setup by
46 * the kernel. The stack format is documented in:
49 * So this routine will troll through the stack to setup the argument
56 /* Make stack traces look pretty, build a fake stack frame. */
57 pushq $0 / Build a stack frame. retpc = NULL
59 movq %rsp, %rbp / first stack frame
H A Drunexe.s43 * we need to reset our current state stack and register state to
49 * Of course this is the same stack format as when this executable
50 * was first started, so here we'll just roll back the stack and
58 subq $8, %rax / Top of stack - must point at argc
/osnet-11/usr/src/grub/grub-0.97/docs/
H A Dboot.S53 /* Initialize the stack pointer. */
54 movl $(stack + STACK_SIZE), %esp
78 /* Our stack area. */
79 .comm stack, STACK_SIZE
H A Dboot.S.texi53 /* @r{Initialize the stack pointer.} */
54 movl $(stack + STACK_SIZE), %esp
78 /* @r{Our stack area.} */
79 .comm stack, STACK_SIZE
/osnet-11/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.
/osnet-11/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.
H A Dalloca.s35 subl %eax,%esp / leave requested space on stack
/osnet-11/usr/src/lib/libc/amd64/
H A Dgenassym.c31 #include <sys/stack.h>
/osnet-11/usr/src/lib/libc/i386/
H A Dgenassym.c31 #include <sys/stack.h>
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Ddebug.c90 /* Print backtrace stack */
91 void *stack[20]; local
93 int size = backtrace(stack, 20);
94 strings = backtrace_symbols(stack, size);
97 printf(_("Backtrace has %d calls on stack:\n"), size);
/osnet-11/usr/src/grub/grub2/grub-core/term/
H A Dtparm.c88 * The parameter mechanism uses a stack and special %
90 * of the parameters onto the stack and then print it in some
126 * the stack works in the usual way, with
139 static stack_frame stack[STACKSIZE]; variable
199 stack[stack_ptr].num_type = TRUE;
200 stack[stack_ptr].data.num = x;
211 if (stack[stack_ptr].num_type)
212 result = stack[stack_ptr].data.num;
221 stack[stack_ptr].num_type = FALSE;
222 stack[stack_pt
[all...]
/osnet-11/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[
[all...]
/osnet-11/usr/src/lib/brand/shared/brand/i386/
H A Drunexe.s43 * we need to reset our current state stack and register state to
49 * Of course this is the same stack format as when this executable
50 * was first started, so here we'll just roll back the stack and
58 subl $4, %eax / Top of stack - must point at argc
/osnet-11/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) {
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...]
/osnet-11/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c39 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...]
/osnet-11/usr/src/lib/libc/i386/threads/
H A Dmachdep.c32 * The i386 ABI says that the stack pointer need be only 4-byte aligned
33 * before a function call (STACK_ALIGN == 4). We use a 16-byte stack
37 * for calls made from that function. If the stack is initially
50 uint32_t *stack; local
60 * Top-of-stack must be rounded down to STACK_ALIGN and
62 * stack frame (see <sys/frame.h>) but a construction made here to
64 * with a 16-byte aligned stack pointer (the address of frame.arg
67 stack = (uint32_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1));
71 * a page for the top page of the stack. This will cause
75 stack
93 uint32_t *stack; local
[all...]
/osnet-11/usr/src/lib/libc/inc/
H A Dsigjmp_struct.h34 #include <sys/stack.h>

Completed in 97 milliseconds

123456