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

1234567891011>>

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/stack/
H A Derr.D_STACK_SIZE.d31 * Test stack() with an invalid argument.
39 stack("i'm not an integer constant");
H A Derr.D_STACK_PROTO.bad.d31 * stack() accepts one argument
33 * SECTION: Actions and Subroutines/stack()
40 stack(1, 2);
H A Dtst.default.d31 * Test the stack action with the default stack depth.
39 stack();
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printa/
H A Derr.D_PRINTF_ARG_TYPE.stack.d31 @[stack()] = count();
H A Dtst.stack.d31 @[stack()] = count();
/illumos-gate/usr/src/common/ficl/
H A Dstack.c6 * $Id: stack.c,v 1.11 2010/08/12 13:57:22 asau Exp $
60 * Check the parameter stack for underflow or overflow.
62 * the function checks the stack state for underflow and overflow.
63 * If size > 0, checks to see that the stack has room to push
65 * stack has room to pop that many cells. If any test fails,
69 ficlStackCheck(ficlStack *stack, int popCells, int pushCells) argument
72 int nFree = stack->size - STKDEPTH(stack);
74 if (popCells > STKDEPTH(stack))
75 ficlVmThrowError(stack
96 ficlStack *stack = ficlMalloc(totalSize); local
115 ficlStackDestroy(ficlStack *stack) argument
125 ficlStackDepth(ficlStack *stack) argument
134 ficlStackDrop(ficlStack *stack, int n) argument
144 ficlStackFetch(ficlStack *stack, int n) argument
150 ficlStackStore(ficlStack *stack, int n, ficlCell c) argument
159 ficlStackGetTop(ficlStack *stack) argument
174 ficlStackLink(ficlStack *stack, int size) argument
188 ficlStackUnlink(ficlStack *stack) argument
199 ficlStackPick(ficlStack *stack, int n) argument
208 ficlStackPop(ficlStack *stack) argument
214 ficlStackPopPointer(ficlStack *stack) argument
220 ficlStackPopUnsigned(ficlStack *stack) argument
226 ficlStackPopInteger(ficlStack *stack) argument
232 ficlStackPop2Integer(ficlStack *stack) argument
242 ficlStackPop2Unsigned(ficlStack *stack) argument
253 ficlStackPopFloat(ficlStack *stack) argument
263 ficlStackPush(ficlStack *stack, ficlCell c) argument
269 ficlStackPushPointer(ficlStack *stack, void *ptr) argument
278 ficlStackPushInteger(ficlStack *stack, ficlInteger i) argument
287 ficlStackPushUnsigned(ficlStack *stack, ficlUnsigned u) argument
296 ficlStackPush2Unsigned(ficlStack *stack, ficl2Unsigned du) argument
303 ficlStackPush2Integer(ficlStack *stack, ficl2Integer di) argument
313 ficlStackPushFloat(ficlStack *stack, ficlFloat f) argument
326 ficlStackReset(ficlStack *stack) argument
339 ficlStackRoll(ficlStack *stack, int n) argument
371 ficlStackSetTop(ficlStack *stack, ficlCell c) argument
378 ficlStackWalk(ficlStack *stack, ficlStackWalkFunction callback, void *context, ficlInteger bottomToTop) argument
[all...]
/illumos-gate/usr/src/uts/intel/sys/
H A Dstack.h34 #include <ia32/sys/stack.h> /* XX64 x86/sys/stack.h */
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.emptystack.d30 * ASSERTION: the stack() action should be empty for all pid probes
47 @[stack()] = sum(0);
52 @[stack()] = sum(0);
57 @[stack()] = sum(0);
/illumos-gate/usr/src/cmd/mdb/intel/ia32/kmdb/
H A Dkmdb_makecontext.c37 #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/intel/amd64/kmdb/
H A Dkmdb_makecontext.c37 #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/lib/libc/sparcv9/gen/
H A Dcuexit.s37 #include <sys/stack.h>
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_makecontext.c38 #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/boot/sys/boot/zfs/i386/
H A DMakefile19 CFLAGS += -mpreferred-stack-boundary=2
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.stack.d31 * Call stack() at every fbt probe point.
33 * SECTION: Actions and Subroutines/stack();
45 stack();
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Delf32_freebsd.c48 #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/test/os-tests/tests/secflags/
H A Daddrs.c10 int stack = 0; local
21 printf(" stack: 0x%p\n", &stack);
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_tunables.c34 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/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...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c93 static int zio_read_data(blkptr_t *bp, void *buf, char *stack);
308 zio_read_gang(blkptr_t *bp, dva_t *dva, void *buf, char *stack) argument
315 zio_gb = (zio_gbh_phys_t *)stack;
316 stack += SPA_GANGBLOCKSIZE;
341 if (zio_read_data(&zio_gb->zg_blkptr[i], buf, stack))
357 zio_read_data(blkptr_t *bp, void *buf, char *stack) argument
372 if (zio_read_gang(bp, &bp->blk_dva[i], buf, stack) != 0)
467 zio_read(blkptr_t *bp, void *buf, char *stack) argument
492 if ((char *)buf < stack && ((char *)buf) + lsize > stack) {
529 dmu_read(dnode_phys_t *dn, uint64_t blkid, void *buf, char *stack) argument
721 fzap_lookup(dnode_phys_t *zap_dnode, zap_phys_t *zap, const char *name, uint64_t *value, char *stack) argument
765 zap_lookup(dnode_phys_t *zap_dnode, const char *name, uint64_t *val, char *stack) argument
803 zap_iterate(dnode_phys_t *zap_dnode, zap_cb_t *cb, void *arg, char *stack) argument
858 dnode_get(dnode_phys_t *mdn, uint64_t objnum, uint8_t type, dnode_phys_t *buf, char *stack) argument
924 check_feature(zap_attribute_t *za, void *arg, char *stack) argument
951 dnode_get_path(dnode_phys_t *mdn, char *path, dnode_phys_t *dn, char *stack) argument
1012 get_default_bootfsobj(dnode_phys_t *mosmdn, uint64_t *obj, char *stack) argument
1069 check_mos_features(dnode_phys_t *mosmdn, char *stack) argument
1112 get_objset_mdn(dnode_phys_t *mosmdn, char *fsname, uint64_t *obj, dnode_phys_t *mdn, char *stack) argument
1528 check_pool_label(uint64_t sector, char *stack, char *outdevid, char *outpath, uint64_t *outguid, uint64_t *outashift, uint64_t *outversion) argument
1624 char *stack, *ub_array; local
1723 char *stack; local
1824 char *stack; local
[all...]
/illumos-gate/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
/illumos-gate/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
/illumos-gate/usr/src/cmd/dtrace/demo/fbt/
H A Ddelay.d37 @snoozers[stack()] = quantize(timestamp - self->in);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/grammar/
H A Dtst.stmts.d48 stack();
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_generic.c73 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...]

Completed in 119 milliseconds

1234567891011>>