HomeSort by: relevance | last modified time | path
    Searched defs:sp (Results 1 - 25 of 387) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libc/arch/aarch64/gen/
_lwp.c 53 uintptr_t sp = (uintptr_t)stack_base + stack_size; local in function:_lwp_makecontext
60 u->uc_mcontext.__gregs[_REG_SP] = ((__greg_t)sp) & -16;
makecontext.c 48 __uint64_t *sp; local in function:makecontext
51 sp = (uint64_t *)
55 sp -= argc - 8;
56 gr[_REG_SP] = (__greg_t)(uintptr_t)sp;
73 *sp++ = va_arg(ap, uint64_t);
  /src/lib/libc/arch/arm/gen/
_lwp.c 53 uintptr_t sp; local in function:_lwp_makecontext
61 sp = (uintptr_t)stack_base + stack_size;
67 u->uc_mcontext.__gregs[_REG_SP] = ((__greg_t)sp) & ~7;
makecontext.c 49 unsigned int *sp; local in function:makecontext
53 sp = (unsigned int *)
57 sp -= argc - 4;
58 gr[_REG_SP] = (__greg_t)(uintptr_t)sp;
71 *sp++ = va_arg(ap, int);
  /src/lib/libc/arch/powerpc64/gen/
_lwp.c 54 void **sp; local in function:_lwp_makecontext
62 sp = (void *)(stack_base + stack_size);
65 u->uc_mcontext.__gregs[1] = ((__greg_t) sp) - 112; /* stack */
  /src/lib/libc/arch/sh3/gen/
_lwp.c 53 uintptr_t sp; local in function:_lwp_makecontext
61 sp = (uintptr_t)stack_base + stack_size;
64 u->uc_mcontext.__gregs[_REG_SP] = ((__greg_t) sp) & ~3;
  /src/lib/libcurses/
initscr.c 54 const char *sp; local in function:initscr
62 if (My_term || (sp = getenv("TERM")) == NULL)
63 sp = Def_term;
65 /* LINTED const castaway; newterm does not modify sp! */
66 if ((_cursesi_screen = newterm((char *) sp, stdout, stdin)) == NULL) {
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_update_shadow_word_inl.h 19 u64 *sp = &shadow_mem[idx]; variable in typeref:typename:u64 *
20 old = LoadShadow(sp);
24 StoreIfNotYetStored(sp, &store_word);
36 StoreIfNotYetStored(sp, &store_word);
42 StoreIfNotYetStored(sp, &store_word);
  /src/lib/libc/arch/i386/gen/
_lwp.c 48 void **sp; local in function:_lwp_makecontext
61 sp = (void **) (((uintptr_t)(stack_base + stack_size - 4) & ~0xf) + 4);
63 *--sp = arg;
64 *--sp = (void *) _lwp_exit;
67 u->uc_mcontext.__gregs[_REG_UESP] = (uintptr_t) sp;
makecontext.c 61 unsigned int *sp; local in function:makecontext
68 sp = (unsigned int *)((uintptr_t)ucp->uc_stack.ss_sp +
72 sp = (unsigned int *)((uintptr_t)sp & ~0x3);
73 sp -= argc + 1; /* Make room for ret and args. */
75 gr[_REG_UESP] = (__greg_t)sp;
80 *sp++ = (uintptr_t)_resumecontext;
90 *sp++ = va_arg(ap, uintptr_t);
  /src/lib/libc/arch/m68k/gen/
_lwp.c 50 void **sp; local in function:_lwp_makecontext
60 sp = (void **)(void *)(stack_base + stack_size);
62 *--sp = arg;
63 *--sp = (void *) _lwp_exit;
65 u->uc_mcontext.__gregs[_REG_A7] = (int) sp;
makecontext.c 48 int *sp; local in function:makecontext
53 sp = (int *)((uintptr_t)ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size);
54 sp = (int *)((uintptr_t)sp & ~0x3); /* Align on word boundary. */
55 sp -= (argc + 1); /* Make room for retaddr and args. */
56 mcp->__gregs[_REG_A7] = (__greg_t)sp;
59 *sp++ = (int)_resumecontext;
63 *sp++ = va_arg(ap, int);
  /src/lib/libc/arch/or1k/gen/
_lwp.c 56 uintptr_t sp; local in function:_lwp_makecontext
64 sp = (uintptr_t)stack_base + stack_size;
65 sp -= STACK_ALIGNBYTES + 1;
66 sp &= ~STACK_ALIGNBYTES;
69 u->uc_mcontext.__gregs[_REG_SP] = (uintptr_t)sp; /* stack */
  /src/lib/libc/arch/powerpc/gen/
_lwp.c 56 uintptr_t sp; local in function:_lwp_makecontext
64 sp = (uintptr_t)stack_base + stack_size;
65 sp -= STACK_ALIGNBYTES + 1;
66 sp &= ~STACK_ALIGNBYTES;
69 u->uc_mcontext.__gregs[1] = sp; /* stack */
  /src/lib/libc/arch/riscv/gen/
_lwp.c 56 uintptr_t sp; local in function:_lwp_makecontext
64 sp = (uintptr_t)stack_base + stack_size;
65 sp -= STACK_ALIGNBYTES + 1;
66 sp &= ~STACK_ALIGNBYTES;
69 u->uc_mcontext.__gregs[_REG_SP] = (uintptr_t)sp; /* stack */
  /src/games/hangman/
setup.c 52 const char *const *sp; local in function:setup
65 for (sp = Noose_pict; *sp != NULL; sp++) {
66 move(sp - Noose_pict, 0);
67 addstr(*sp);
  /src/games/sail/
pl_2.c 101 struct ship *sp; local in function:play
168 foreachship(sp)
169 if (sp != ms)
170 eyeball(sp);
173 if ((sp = closestenemy(ms, 0, 1)) == 0)
176 eyeball(sp);
  /src/lib/libc/arch/sparc64/gen/
_lwp.c 46 unsigned long *sp; local in function:_lwp_makecontext
57 sp = (ulong *)(stack_base + stack_size);
58 sp = (ulong *)((ulong)sp & ~0x0f);
60 sp -= 8 + 8 + 6;
62 sp[8] = (ulong)arg;
63 sp[14] = (ulong)sp - 2047;
64 sp[15] = (ulong)_lwp_exit - 8;
67 sp = (ulong *)((caddr_t)sp - 2047)
    [all...]
  /src/sys/arch/alpha/alpha/
debug.s 72 lda t0, FRAME_SIZE*8(a4) /* what would sp have been? */
73 stq t0, FRAME_SP*8(a4) /* belatedly save sp for ddb view */
74 lda sp, -64(sp) /* set up stack frame */
75 stq s0, (0*8)(sp) /* save s0 ... */
76 stq s1, (1*8)(sp)
77 stq s2, (2*8)(sp)
78 stq s3, (3*8)(sp)
79 stq s4, (4*8)(sp)
80 stq s5, (5*8)(sp) /* ... through s5 *
    [all...]
  /src/usr.bin/rsh/
getport.c 49 struct servent *sp = getservbyname(service, protocol); local in function:getport
50 if (sp != NULL)
51 return sp;
53 if ((sp = calloc(1, sizeof(*sp))) == NULL)
55 sp->s_name = __UNCONST(service);
56 sp->s_proto = __UNCONST(protocol);
64 sp->s_port = htons((uint16_t)port);
65 return sp;
  /src/usr.bin/talk/
get_addrs.c 52 struct servent *sp; local in function:get_addrs
76 sp = getservbyname("ntalk", "udp");
77 if (sp == 0)
80 daemon_port = sp->s_port;
  /src/lib/libc/arch/vax/gen/
_lwp.c 49 int *sp; local in function:_lwp_makecontext
59 sp = (int *)((uintptr_t)(stack_base + stack_size) & ~0x3);
65 sp -= 1 + 1 + 5;
67 sp[0] = 0; /* condition handler is null */
68 sp[1] = 0x20000000; /* make this a CALLS frame */
69 sp[2] = 0; /* saved argument pointer */
70 sp[3] = 0; /* saved frame pointer */
71 sp[4] = (int)(uintptr_t)_lwp_exit + 2;/* return via _lwp_exit */
72 sp[5] = 1; /* argc */
73 sp[6] = (int)(uintptr_t)arg; /* argv *
    [all...]
  /src/lib/libc/arch/x86_64/gen/
_lwp.c 49 void **sp; local in function:_lwp_makecontext
60 sp = (void **) (((uintptr_t)(stack_base + stack_size) & ~15));
64 *--sp = (void *) _lwp_exit;
67 gr[_REG_URSP] = (uintptr_t) sp;
  /src/lib/libc/arch/sparc/gen/
_lwp.c 48 unsigned long *sp; local in function:_lwp_makecontext
59 sp = (void *)(stack_base + stack_size);
60 sp = (ulong *)((ulong)sp & ~STACK_ALIGNBYTES);
63 sp -= 8 + 8 + 1 + 6 + 1;
69 gr[_REG_O6] = (ulong)sp;
75 sp[8+6] = (ulong)sp; /* %i6 */
76 sp[8+7] = (ulong)_lwp_exit - 8; /* %i7 */
  /src/lib/libc/arch/mips/gen/
_lwp.c 58 caddr_t sp; local in function:_lwp_makecontext
67 sp = stack_base + stack_size - CALLFRAME_SIZ;
73 gr[_REG_SP] = (uintptr_t) sp & ~STACK_ALIGNBYTES;

Completed in 29 milliseconds

1 2 3 4 5 6 7 8 91011>>