Searched refs:sp (Results 1 - 25 of 1240) sorted by relevance

1234567891011>>

/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstack.c53 stk_t *sp; local
55 sp = xmalloc(sizeof (stk_t));
56 sp->st_nument = STACK_SEEDSIZE;
57 sp->st_top = -1;
58 sp->st_data = xmalloc(sizeof (void *) * sp->st_nument);
59 sp->st_free = freep;
61 return (sp);
65 stack_free(stk_t *sp) argument
69 if (sp
78 stack_pop(stk_t *sp) argument
86 stack_peek(stk_t *sp) argument
95 stack_push(stk_t *sp, void *data) argument
109 stack_level(stk_t *sp) argument
[all...]
/freebsd-current/sys/libkern/arm/
H A Dldivmod.S45 sub sp, sp, #8 /* Space for the remainder */
46 stmfd sp!, {sp, lr} /* Save a pointer to the above space and lr */
48 ldr lr, [sp, #4] /* Restore lr */
49 add sp, sp, #8 /* Move sp to the remainder value */
50 ldmfd sp!, {r2, r3} /* Load the remainder */
55 sub sp, s
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_tag_mismatch_riscv64.S80 addi fp, sp, 256
87 sd x31, 248(sp)
88 sd x30, 240(sp)
89 sd x29, 232(sp)
90 sd x28, 224(sp)
91 sd x27, 216(sp)
92 sd x26, 208(sp)
93 sd x25, 200(sp)
94 sd x24, 192(sp)
95 sd x23, 184(sp)
[all...]
/freebsd-current/usr.bin/mail/
H A Dstrings.c58 struct strings *sp; local
64 for (sp = &stringdope[0]; sp < &stringdope[NSPACE]; sp++) {
65 if (sp->s_topFree == NULL && (STRINGSIZE << index) >= s)
67 if (sp->s_nleft >= s)
71 if (sp >= &stringdope[NSPACE])
73 if (sp->s_topFree == NULL) {
74 index = sp - &stringdope[0];
75 if ((sp
94 struct strings *sp; local
116 struct strings *sp; local
[all...]
/freebsd-current/sbin/ipf/libipf/
H A Dprintstate.c13 printstate(ipstate_t *sp, int opts, u_long now) argument
19 pr = getprotobynumber(sp->is_p);
23 PRINTF("%d:", sp->is_v);
27 PRINTF("%d", sp->is_p);
29 PRINTF(" src:%s", hostname(sp->is_family, &sp->is_src.in4));
30 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) {
31 if (sp->is_flags & IS_WSPORT)
34 PRINTF(",%d", ntohs(sp
[all...]
H A Dprintstatefields.c73 printstatefield(ipstate_t *sp, int fieldnum) argument
82 printstatefield(sp, i);
90 PRINTF("%#lx", (u_long)sp->is_ifp[0]);
94 PRINTF("%#lx", (u_long)sp->is_ifp[1]);
98 PRINTF("%#lx", (u_long)sp->is_ifp[2]);
102 PRINTF("%#lx", (u_long)sp->is_ifp[3]);
106 PRINTF("%s", sp->is_ifname[0]);
110 PRINTF("%s", sp->is_ifname[1]);
114 PRINTF("%s", sp->is_ifname[2]);
118 PRINTF("%s", sp
[all...]
/freebsd-current/lib/csu/riscv/
H A Dcrtn.S37 ld ra, 0(sp)
38 addi sp, sp, 16
42 ld ra, 0(sp)
43 addi sp, sp, 16
/freebsd-current/contrib/llvm-project/compiler-rt/lib/orc/
H A Dmacho_tlv.arm64.S23 sub sp, sp, #REGISTER_SAVE_SPACE_SIZE
24 stp x29, x30, [sp, #16 * 1]
25 stp x27, x28, [sp, #16 * 2]
26 stp x25, x26, [sp, #16 * 3]
27 stp x23, x24, [sp, #16 * 4]
28 stp x21, x22, [sp, #16 * 5]
29 stp x19, x20, [sp, #16 * 6]
30 stp x17, x18, [sp, #16 * 7]
31 stp x15, x16, [sp, #1
[all...]
H A Delfnix_tls.aarch64.S24 sub sp, sp, #REGISTER_SAVE_SPACE_SIZE
25 stp x29, x30, [sp, #16 * 1]
26 stp x27, x28, [sp, #16 * 2]
27 stp x25, x26, [sp, #16 * 3]
28 stp x23, x24, [sp, #16 * 4]
29 stp x21, x22, [sp, #16 * 5]
30 stp x19, x20, [sp, #16 * 6]
31 stp x17, x18, [sp, #16 * 7]
32 stp x15, x16, [sp, #1
[all...]
/freebsd-current/contrib/nvi/common/
H A Dscreen.c36 SCR *sp; local
40 CALLOC_RET(orig, sp, 1, sizeof(SCR));
41 *spp = sp;
44 sp->id = ++gp->id;
45 sp->refcnt = 1;
47 sp->gp = gp; /* All ref the GS structure. */
49 sp->ccnt = 2; /* Anything > 1 */
53 * sp->defscroll is initialized by the opts_init() code because
57 TAILQ_INIT(sp->tiq);
61 sp
128 screen_end(SCR *sp) argument
199 screen_next(SCR *sp) argument
[all...]
/freebsd-current/usr.bin/fortune/tools/
H A Ddo_sort5 sp="/usr/bin/sort -dfu -T /var/tmp"
9 $sp | tr '\3' '\12'
/freebsd-current/lib/libsys/riscv/
H A Dcerror.S37 addi sp, sp, -16
38 sd a0, 0(sp)
39 sd ra, 8(sp)
41 ld a1, 0(sp)
42 ld ra, 8(sp)
46 addi sp, sp, 16
/freebsd-current/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_mips64.S24 daddiu $sp, $sp, -144
25 sd $ra, 136($sp)
27 sd $gp, 128($sp)
28 sd $a7, 120($sp)
29 sd $a6, 112($sp)
30 sd $a5, 104($sp)
31 sd $a4, 96($sp)
32 sd $a3, 88($sp)
33 sd $a2, 80($sp)
[all...]
H A Dxray_trampoline_mips.S27 addiu $sp, $sp, -36
28 sw $ra, 32($sp)
30 sw $a3, 28($sp)
31 sw $a2, 24($sp)
32 sw $a1, 20($sp)
33 sw $a0, 16($sp)
34 sdc1 $f14, 8($sp)
35 sdc1 $f12, 0($sp)
50 ldc1 $f12, 0($sp)
[all...]
/freebsd-current/crypto/heimdal/appl/login/
H A Dshadow.c64 check_shadow(const struct passwd *pw, const struct spwd *sp) argument
70 if (sp == NULL)
73 if (sp->sp_expire > 0) {
74 if (today >= sp->sp_expire) {
78 } else if (sp->sp_expire - today < 14) {
80 (int)(sp->sp_expire - today));
84 if (sp->sp_max > 0) {
85 if (today >= (sp->sp_lstchg + sp->sp_max)) {
88 } else if (sp
[all...]
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dstack.h35 stack_getbounds(stack_t *sp) argument
44 rc = pthread_attr_getstack(&attr, &sp->ss_sp, &sp->ss_size);
46 sp->ss_flags = 0;
54 thr_stksegment(stack_t *sp) argument
58 rc = stack_getbounds(sp);
63 * thr_stksegment() is expected to set sp.ss_sp to the high stack
65 * set sp.ss_sp to the low address. Adjust accordingly.
67 sp->ss_sp = (void *)(((uintptr_t)sp
[all...]
/freebsd-current/libexec/rtld-elf/riscv/
H A Drtld_start.S38 * _rtld(Elf_Addr *sp, func_ptr_type *exit_proc, Obj_Entry **objp)
43 mv s1, sp /* And the stack pointer */
45 addi sp, sp, -16 /* Make room for obj_main & exit proc */
47 mv a1, sp /* exit_proc */
52 ld a2, 0(sp) /* Load cleanup */
53 ld a1, 8(sp) /* Load obj_main */
55 mv sp, s1 /* Restore the stack pointer */
66 addi sp, sp,
[all...]
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.c43 dt_strtab_grow(dt_strtab_t *sp) argument
47 if ((ptr = malloc(sp->str_bufsz)) == NULL)
50 bufs = realloc(sp->str_bufs, (sp->str_nbufs + 1) * sizeof (char *));
57 sp->str_nbufs++;
58 sp->str_bufs = bufs;
59 sp->str_ptr = ptr;
60 sp->str_bufs[sp->str_nbufs - 1] = sp
68 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); local
102 dt_strtab_destroy(dt_strtab_t *sp) argument
148 dt_strtab_compare(dt_strtab_t *sp, dt_strhash_t *hp, const char *str, size_t len) argument
175 dt_strtab_copyin(dt_strtab_t *sp, const char *str, size_t len) argument
210 dt_strtab_empty(dt_strtab_t *sp) argument
217 dt_strtab_index(dt_strtab_t *sp, const char *str) argument
237 dt_strtab_insert(dt_strtab_t *sp, const char *str) argument
279 dt_strtab_size(const dt_strtab_t *sp) argument
285 dt_strtab_write(const dt_strtab_t *sp, dt_strtab_write_f *func, void *private) argument
[all...]
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_entry_sparse.c41 struct ae_sparse *sp; local
44 sp = entry->sparse_head->next;
46 entry->sparse_head = sp;
55 struct ae_sparse *sp; local
64 if ((sp = entry->sparse_tail) != NULL) {
65 if (sp->offset + sp->length > offset)
68 if (sp->offset + sp->length == offset) {
69 if (sp
104 struct ae_sparse *sp; local
[all...]
/freebsd-current/contrib/nvi/ex/
H A Dex_args.c41 ex_next(SCR *sp, EXCMD *cmdp) argument
53 if (cmdp->argc == 0 && (sp->cargv == NULL || sp->cargv[1] == NULL)) {
54 msgq(sp, M_ERR, "111|No more files to edit");
61 CHAR2INT(sp, sp->cargv[1], strlen(sp->cargv[1]) + 1,
63 if (argv_exp0(sp, cmdp, wp, wlen - 1))
65 return (ex_edit(sp, cmdp));
67 return (ex_N_next(sp, cmd
127 ex_N_next(SCR *sp, EXCMD *cmdp) argument
172 ex_prev(SCR *sp, EXCMD *cmdp) argument
221 ex_rew(SCR *sp, EXCMD *cmdp) argument
259 ex_args(SCR *sp, EXCMD *cmdp) argument
300 ex_buildargv(SCR *sp, EXCMD *cmdp, char *name) argument
[all...]
H A Dex_visual.c33 ex_visual(SCR *sp, EXCMD *cmdp) argument
43 if (!O_ISSET(sp, O_OPEN)) {
44 msgq(sp, M_ERR,
50 sp->lno = cmdp->addr1.lno == 0 ? 1 : cmdp->addr1.lno;
71 sp->frp->lno = sp->lno;
72 sp->frp->cno = 0;
73 (void)nonblank(sp, sp->lno, &sp
[all...]
H A Dex_bang.c46 ex_bang(SCR *sp, EXCMD *cmdp) argument
60 ex_emsg(sp, cmdp->cmd->usage, EXM_USAGE);
65 exp = EXP(sp);
67 if ((exp->lastbcomm = v_wstrdup(sp, ap->bp, ap->len)) == NULL) {
68 msgq(sp, M_SYSERR, NULL);
76 if (F_ISSET(cmdp, E_MODIFY) && !F_ISSET(sp, SC_EX_SILENT)) {
83 if (F_ISSET(sp, SC_VI))
84 vs_update(sp, "!", ap->bp);
86 (void)ex_printf(sp, "!"WS"\n", ap->bp);
87 (void)ex_fflush(sp);
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dv_screen.c30 v_screen(SCR *sp, VICMD *vp) argument
38 if (F_ISSET(sp, SC_COMEDIT)) {
39 msgq(sp, M_ERR,
48 if (TAILQ_NEXT(sp, q) != NULL)
49 sp->nextdisp = TAILQ_NEXT(sp, q);
50 else if (TAILQ_FIRST(sp->gp->dq) == sp) {
51 msgq(sp, M_ERR, "187|No other screen to switch to");
54 sp
[all...]
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dstore_fd.c44 fd_fetch(krb5_storage * sp, void *data, size_t size) argument
46 return net_read(FD(sp), data, size);
50 fd_store(krb5_storage * sp, const void *data, size_t size) argument
52 return net_write(FD(sp), data, size);
56 fd_seek(krb5_storage * sp, off_t offset, int whence) argument
58 return lseek(FD(sp), offset, whence);
62 fd_trunc(krb5_storage * sp, off_t offset) argument
64 if (ftruncate(FD(sp), offset) == -1)
70 fd_free(krb5_storage * sp) argument
72 close(FD(sp));
91 krb5_storage *sp; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_vfork_riscv64.inc.S13 addi sp, sp, -16
15 sd ra, 8(sp)
18 ld ra, 8(sp)
20 addi sp, sp, 16
31 addi sp, sp, -16
33 sd x10, 8(sp)
38 // put old sp t
[all...]

Completed in 432 milliseconds

1234567891011>>