/titanic_50/usr/src/lib/libast/common/misc/ |
H A D | stack.c | 39 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 …]
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 93 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) in zio_read_gang() argument 315 zio_gb = (zio_gbh_phys_t *)stack; in zio_read_gang() 316 stack += SPA_GANGBLOCKSIZE; in zio_read_gang() 341 if (zio_read_data(&zio_gb->zg_blkptr[i], buf, stack)) in zio_read_gang() 357 zio_read_data(blkptr_t *bp, void *buf, char *stack) in zio_read_data() argument 372 if (zio_read_gang(bp, &bp->blk_dva[i], buf, stack) != 0) in zio_read_data() 467 zio_read(blkptr_t *bp, void *buf, char *stack) in zio_read() argument 492 if ((char *)buf < stack && ((char *)buf) + lsize > stack) { in zio_read() 500 buf = stack; in zio_read() [all …]
|
H A D | tparm.c | 139 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()
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | ns_files.c | 61 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 D | ns_generic.c | 73 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 D | ns_nis.c | 63 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 …]
|
/titanic_50/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, in udp_set_buf_prop() argument 37 return (mod_set_buf_prop(stack->netstack_udp->us_propinfo_tbl, stack, in udp_set_buf_prop() 42 udp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, in udp_get_buf_prop() argument 45 return (mod_get_buf_prop(stack->netstack_udp->us_propinfo_tbl, stack, in udp_get_buf_prop() 55 udp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in udp_smallest_anon_set() argument 59 udp_stack_t *us = stack->netstack_udp; in udp_smallest_anon_set() 73 udp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in udp_largest_anon_set() argument 77 udp_stack_t *us = stack->netstack_udp; in udp_largest_anon_set()
|
/titanic_50/usr/src/lib/libast/common/string/ |
H A D | fmtre.c | 52 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 D | fmtmatch.c | 48 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()
|
/titanic_50/usr/src/uts/common/inet/ |
H A D | tunables.c | 76 mod_set_boolean(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in mod_set_boolean() argument 101 mod_get_boolean(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, in mod_get_boolean() argument 150 mod_set_uint32(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in mod_set_uint32() argument 167 mod_set_aligned(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in mod_set_aligned() argument 172 if ((err = mod_set_uint32(stack, cr, pinfo, ifname, pval, flags)) != 0) in mod_set_aligned() 190 mod_get_uint32(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, in mod_get_uint32() argument 238 mod_set_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack, cred_t *cr, in mod_set_buf_prop() argument 268 mod_get_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack, in mod_get_buf_prop() argument 280 return (mod_get_uint32(stack, pinfo, ifname, pval, psize, flags)); in mod_get_buf_prop() 289 mod_get_allprop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, in mod_get_allprop() argument [all …]
|
/titanic_50/usr/src/cmd/smbsrv/dtrace/ |
H A D | smbnode.d | 48 stack(); 58 stack(); 69 stack(); 78 stack(); 87 stack(); 96 stack(); 106 stack(); 115 stack(); 124 stack();
|
/titanic_50/usr/src/uts/common/inet/tcp/ |
H A D | tcp_tunables.c | 46 tcp_set_1948phrase(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in tcp_set_1948phrase() argument 56 stack->netstack_tcp); in tcp_set_1948phrase() 65 tcp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo, in tcp_listener_conf_get() argument 68 tcp_stack_t *tcps = stack->netstack_tcp; in tcp_listener_conf_get() 109 tcp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in tcp_listener_conf_add() argument 117 tcp_stack_t *tcps = stack->netstack_tcp; in tcp_listener_conf_add() 158 tcp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in tcp_listener_conf_del() argument 163 tcp_stack_t *tcps = stack->netstack_tcp; in tcp_listener_conf_del() 187 tcp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in tcp_set_buf_prop() argument 190 return (mod_set_buf_prop(stack->netstack_tcp->tcps_propinfo_tbl, stack, in tcp_set_buf_prop() [all …]
|
/titanic_50/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, in sctp_listener_conf_get() argument 49 sctp_stack_t *sctps = stack->netstack_sctp; in sctp_listener_conf_get() 90 sctp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in sctp_listener_conf_add() argument 98 sctp_stack_t *sctps = stack->netstack_sctp; in sctp_listener_conf_add() 139 sctp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in sctp_listener_conf_del() argument 144 sctp_stack_t *sctps = stack->netstack_sctp; in sctp_listener_conf_del() 168 sctp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, in sctp_set_buf_prop() argument 171 return (mod_set_buf_prop(stack->netstack_sctp->sctps_propinfo_tbl, in sctp_set_buf_prop() 172 stack, cr, pinfo, ifname, pval, flags)); in sctp_set_buf_prop() 176 sctp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, in sctp_get_buf_prop() argument [all …]
|
/titanic_50/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 39 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()
|
/titanic_50/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_node.c | 80 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()
|
/titanic_50/usr/src/cmd/tnf/prex/ |
H A D | source.c | 73 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()
|
/titanic_50/usr/src/uts/sun4v/ml/ |
H A D | wbuf.s | 56 ! 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
|
/titanic_50/usr/src/cmd/sendmail/db/btree/ |
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) { 232 stack = 1; 237 __bam_lget(dbc, 1, pg, stack && LF_ISSET(S_WRITE) ? 362 if (cp->sp != cp->stack)
|
/titanic_50/usr/src/uts/intel/dtrace/ |
H A D | sdt.c | 58 sdt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t eax) in sdt_invop() argument 82 stack0 = stack[i++]; in sdt_invop() 83 stack1 = stack[i++]; in sdt_invop() 84 stack2 = stack[i++]; in sdt_invop() 85 stack3 = stack[i++]; in sdt_invop() 86 stack4 = stack[i++]; in sdt_invop() 306 uintptr_t *stack; in sdt_getarg() local 327 stack = ((uintptr_t **)&fp[1])[1]; in sdt_getarg() 346 stack = (uintptr_t *)&rp->r_rdi; in sdt_getarg() 348 stack = (uintptr_t *)(rp->r_rsp); in sdt_getarg() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | flock_impl.h | 217 #define STACK_INIT(stack) ((stack) = NULL) argument 218 #define STACK_PUSH(stack, ptr, stack_link) (ptr)->stack_link = (stack),\ argument 219 (stack) = (ptr) 220 #define STACK_POP(stack, stack_link) (stack) = (stack)->stack_link argument 221 #define STACK_TOP(stack) (stack) argument 222 #define STACK_EMPTY(stack) ((stack) == NULL) argument
|
/titanic_50/usr/src/lib/libc/amd64/gen/ |
H A D | _stack_grow.s | 64 / If the stack size is 0, stack checking is disabled. 71 / Move the stack pointer outside the stack bounds if it isn't already.
|
/titanic_50/usr/src/lib/libc/i386/gen/ |
H A D | _stack_grow.s | 64 / If the stack size is 0, stack checking is disabled. 71 / Move the stack pointer outside the stack bounds if it isn't already.
|
/titanic_50/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 40 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()
|
/titanic_50/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 51 uint32_t *stack; in setup_top_frame() local 68 stack = (uint32_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1)); in setup_top_frame() 76 stack -= 5; /* make the address of frame.arg be 16-byte aligned */ in setup_top_frame() 82 if (uucopy(&frame, (void *)stack, sizeof (frame)) == 0) in setup_top_frame() 83 return (stack); in setup_top_frame() 94 uint32_t *stack; in setup_context() local 133 if ((stack = setup_top_frame(stk, stksize, ulwp)) == NULL) in setup_context() 139 ucp->uc_mcontext.gregs[UESP] = (greg_t)stack; in setup_context() 140 ucp->uc_mcontext.gregs[EBP] = (greg_t)(stack + 3); in setup_context()
|
/titanic_50/usr/src/uts/sun4u/ml/ |
H A D | wbuf.s | 55 ! misaligned stack. We handle an unmapped stack by simulating 56 ! a pagefault at the trap pc and a misaligned stack by generating 126 ! user's stack has been unmapped. 153 ! user's stack has been unmapped. 189 ! misaligned stack. We handle an unmapped stack by simulating 190 ! a pagefault at the trap pc and a misaligned stack by generating 260 ! user's stack has been unmapped. 287 ! user's stack has been unmapped. 331 ! misaligned stack. We handle an unmapped stack by simulating 332 ! a pagefault at the trap pc and a misaligned stack by generating
|