Home
last modified time | relevance | path

Searched refs:sp (Results 201 – 225 of 1206) sorted by relevance

12345678910>>...49

/illumos-gate/usr/src/cmd/audio/utilities/
H A Dg723.c493 return (sp); in _tandem_adjust_alaw()
499 if (sp & 0x80) in _tandem_adjust_alaw()
500 sd = (sp == 0xD5)? 0x55 : in _tandem_adjust_alaw()
506 if (sp & 0x80) in _tandem_adjust_alaw()
536 return (sp); in _tandem_adjust_ulaw()
544 if (sp & 0x80) in _tandem_adjust_ulaw()
545 sd = (sp == 0xFF)? 0x7E : sp + 1; in _tandem_adjust_ulaw()
547 sd = (sp == 0)? 0 : sp - 1; in _tandem_adjust_ulaw()
550 if (sp & 0x80) in _tandem_adjust_ulaw()
551 sd = (sp == 0x80)? 0x80 : sp - 1; in _tandem_adjust_ulaw()
[all …]
/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c286 if (sp->sa_handler == SIG_DFL) in look()
288 else if (sp->sa_handler == SIG_IGN) in look()
299 haddr = (uintptr_t)sp->sa_handler; in look()
326 s = sigflags(sig, sp->sa_flags); in look()
410 if (sp->sa_handler == SIG_DFL || sp->sa_handler == SIG_IGN) in deinterpose()
418 sp->sa_flags = sa32->sa_flags; in deinterpose()
421 sizeof (sp->sa_mask)); in deinterpose()
429 sp->sa_flags = sa->sa_flags; in deinterpose()
430 sp->sa_handler = sa->sa_handler; in deinterpose()
431 sp->sa_mask = sa->sa_mask; in deinterpose()
[all …]
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c269 gq.gq_addr = sp; in read_gwin()
348 uintptr_t sp; in Pstack_iter() local
369 if ((sp = gregs[R_FP]) == 0) in Pstack_iter()
376 if (find_uclink(&ucl, sp + in Pstack_iter()
381 sp = gregs[R_SP]; in Pstack_iter()
393 sp += STACK_BIAS; in Pstack_iter()
399 sp = gregs[R_SP] + STACK_BIAS; in Pstack_iter()
435 sp -= (nargs > 6)? in Psyscall_setup()
438 sp = PSTACK_ALIGN64(sp); in Psyscall_setup()
441 sp -= (nargs > 6)? in Psyscall_setup()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A Dfpsetrnd.S37 add %sp, -SA(MINFRAME), %sp ! get an additional word of storage
40 st %fsr, [%sp+ARGPUSH] ! get fsr value
41 ld [%sp+ARGPUSH], %o0 ! load into register
45 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+ARGPUSH], %fsr ! load fsr with new value
49 add %sp, SA(MINFRAME), %sp ! reclaim stack space
H A Dfpsetsticky.S37 add %sp, -SA(MINFRAME), %sp ! get an additional word of storage
40 st %fsr, [%sp+ARGPUSH] ! get fsr value
41 ld [%sp+ARGPUSH], %o0 ! load into register
45 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+ARGPUSH], %fsr ! load fsr with new value
50 add %sp, SA(MINFRAME), %sp ! reclaim stack space
H A Dfpsetmask.S46 add %sp, -SA(MINFRAME), %sp ! get an additional word of storage
49 st %fsr, [%sp+ARGPUSH] ! get fsr value
50 ld [%sp+ARGPUSH], %o0 ! load into register
54 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
55 ld [%sp+ARGPUSH], %fsr ! load fsr with new value
59 add %sp, SA(MINFRAME), %sp ! reclaim stack space
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A Dfpsetrnd.S37 add %sp, -SA(MINFRAME), %sp ! get an additional word of storage
40 st %fsr, [%sp+STACK_BIAS+ARGPUSH] ! get fsr value
41 ld [%sp+STACK_BIAS+ARGPUSH], %o0 ! load into register
45 st %o1, [%sp+STACK_BIAS+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+STACK_BIAS+ARGPUSH], %fsr ! load fsr with new value
49 add %sp, SA(MINFRAME), %sp ! reclaim stack space
H A Dfpsetmask.S46 add %sp, -SA(MINFRAME), %sp ! get an additional word of storage
49 st %fsr, [%sp+STACK_BIAS+ARGPUSH] ! get fsr value
50 ld [%sp+STACK_BIAS+ARGPUSH], %o0 ! load into register
54 st %o1, [%sp+STACK_BIAS+ARGPUSH] ! move new fsr value to memory
55 ld [%sp+STACK_BIAS+ARGPUSH], %fsr ! load fsr with new value
59 add %sp, SA(MINFRAME), %sp ! reclaim stack space
H A Dfpsetsticky.S37 add %sp, -SA(MINFRAME), %sp ! get an additional word of storage
40 st %fsr, [%sp+STACK_BIAS+ARGPUSH] ! get fsr value
41 ld [%sp+STACK_BIAS+ARGPUSH], %o0 ! load into register
45 st %o1, [%sp+STACK_BIAS+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+STACK_BIAS+ARGPUSH], %fsr ! load fsr with new value
50 add %sp, SA(MINFRAME), %sp ! reclaim stack space
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_atomic.c94 bge_atomic_next(uint64_t *sp, uint64_t limit) in bge_atomic_next() argument
101 oldval = *sp; in bge_atomic_next()
103 } while (atomic_cas_64(sp, oldval, newval) != oldval); in bge_atomic_next()
129 bge_atomic_clr64(uint64_t *sp, uint64_t bits) in bge_atomic_clr64() argument
136 oldval = *sp; in bge_atomic_clr64()
138 } while (atomic_cas_64(sp, oldval, newval) != oldval); in bge_atomic_clr64()
148 bge_atomic_shl32(uint32_t *sp, uint_t count) in bge_atomic_shl32() argument
155 oldval = *sp; in bge_atomic_shl32()
157 } while (atomic_cas_32(sp, oldval, newval) != oldval); in bge_atomic_shl32()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtail.c137 Sfio_t* sp; member
276 if (tp->sp) in init()
280 tp->sp = 0; in init()
287 tp->sp = sfstdin; in init()
289 else if (!(tp->sp = sfopen(tp->sp, tp->name, "r"))) in init()
330 pipetail(tp->sp ? tp->sp : sfstdin, op, number, delim); in init()
353 sfclose(tp->sp); in init()
354 tp->sp = 0; in init()
633 fp->sp = 0; in b_tail()
721 if (fp->sp && fp->sp != sfstdin) in b_tail()
[all …]
/illumos-gate/usr/src/uts/sparc/v9/ml/
H A Dsparcv9_subr.S241 save %sp, -SA(WINDOWSIZE), %sp ! goto next window so that we can rtn
1077 stx %g1, [%sp + STACK_BIAS + SA(MINFRAME) + G1_OFF]
1078 stx %g2, [%sp + STACK_BIAS + SA(MINFRAME) + G2_OFF]
1079 stx %g3, [%sp + STACK_BIAS + SA(MINFRAME) + G3_OFF]
1080 stx %g4, [%sp + STACK_BIAS + SA(MINFRAME) + G4_OFF]
1081 stx %g5, [%sp + STACK_BIAS + SA(MINFRAME) + G5_OFF]
1082 stx %g6, [%sp + STACK_BIAS + SA(MINFRAME) + G6_OFF]
1083 stx %g7, [%sp + STACK_BIAS + SA(MINFRAME) + G7_OFF]
1084 stx %i0, [%sp + STACK_BIAS + SA(MINFRAME) + O0_OFF]
1094 st %l3, [%sp + STACK_BIAS + SA(MINFRAME) + Y_OFF]
[all …]
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Ddoor.S90 ld [%sp + DOOR_SERVERS], %g1 /* (delay) load nservers */
102 ldn [%sp + DOOR_COOKIE], %o0 /* (delay) load cookie */
106 save %sp, -SA(MINFRAME), %sp
112 ldn [%sp + DOOR_DATA_PTR], %o1
113 ldn [%sp + DOOR_DATA_SIZE], %o2
114 ldn [%sp + DOOR_DESC_PTR], %o3
115 ldn [%sp + DOOR_PC], %g1
117 ldn [%sp + DOOR_DESC_SIZE], %o4
137 save %sp, -SA(MINFRAME), %sp
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c708 sp = s1 = cbuf; in lstrtod()
710 *sp++ = c; in lstrtod()
714 s2 = sp; in lstrtod()
718 *sp++ = c; in lstrtod()
723 s3 = sp; in lstrtod()
732 *sp++ = c; in lstrtod()
736 *sp = '\0'; in lstrtod()
751 for (sp=s2-1; sp >= s1; sp--) { in lstrtod()
757 for (sp=s2; sp < s3; sp++) { in lstrtod()
767 for ( ; sp >= s3; sp--) { in lstrtod()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/stackalign/
H A Dstack_sparc.S36 save %sp, -SA(MINFRAME), %sp
44 add %sp, STACK_BIAS, %o0
58 save %sp, -SA(MINFRAME), %sp
60 add %sp, STACK_BIAS, %o0
71 add %sp, STACK_BIAS, %o0
H A Dstack_sparcv9.S37 save %sp, -SA(MINFRAME), %sp
45 add %sp, STACK_BIAS, %o0
59 save %sp, -SA(MINFRAME), %sp
61 add %sp, STACK_BIAS, %o0
72 add %sp, STACK_BIAS, %o0
/illumos-gate/usr/src/lib/libc/port/gen/
H A Decvt.c100 const struct s *sp = s; in cvt() local
105 for (; value >= sp->p10; *decpt += sp->n) in cvt()
106 value /= sp->p10; in cvt()
107 } while (sp++->n > 1); in cvt()
123 for (; value * sp->p10 < 10.0; *decpt -= sp->n) in cvt()
124 value *= sp->p10; in cvt()
125 } while (sp++->n > 1); in cvt()
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx_util.c78 str_pair_fini(sp); in name_clear()
79 (void) str_pair_init(sp, ops); in name_clear()
129 str_pair_t sp; in name_add_str() local
137 sp.strp_l = *l; in name_add_str()
142 sp.strp_r = *r; in name_add_str()
146 n->nm_items[n->nm_len++] = sp; in name_add_str()
173 if (sp != NULL) { in name_pop()
174 *sp = *top; in name_pop()
186 str_pair_t *sp = NULL; in name_join() local
210 sp = name_at(n, amt - 1); in name_join()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios_test_slot.c207 smbios_struct_t sp; in smbios_test_slot_verify() local
213 if (smbios_lookup_type(hdl, SMB_TYPE_SLOT, &sp) == -1) { in smbios_test_slot_verify()
219 if (smbios_info_slot(hdl, sp.smbstr_id, &slot) != 0) { in smbios_test_slot_verify()
373 smbios_struct_t sp; in smbios_test_slot_verify_34_nopeers() local
383 if (smbios_info_slot(hdl, sp.smbstr_id, &slot) != 0) { in smbios_test_slot_verify_34_nopeers()
412 smbios_struct_t sp; in smbios_test_slot_verify_34_overrun() local
428 if (smbios_info_slot(hdl, sp.smbstr_id, &slot) != 0) { in smbios_test_slot_verify_34_overrun()
458 smbios_struct_t sp; in smbios_test_slot_verify_35() local
468 if (smbios_info_slot(hdl, sp.smbstr_id, &slot) != 0) { in smbios_test_slot_verify_35()
498 smbios_struct_t sp; in smbios_test_slot_verify_34_peers() local
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_state.c3000 list_remove(&sp->rs_owner->ro_statelist, sp); in rfs4_state_destroy()
3220 rfs4_state_t *sp; in rfs4_free_opens() local
3224 for (sp = list_head(&oo->ro_statelist); sp != NULL; in rfs4_free_opens()
3225 sp = list_next(&oo->ro_statelist, sp)) { in rfs4_free_opens()
3240 return (ADDRHASH(sp->rs_owner) ^ ADDRHASH(sp->rs_finfo)); in state_owner_file_hash()
3301 return (sp); in rfs4_findstate_by_owner_file()
3341 sp->rs_stateid = get_stateid(rfs4_dbe_getid(sp->rs_dbe)); in rfs4_state_create()
3369 return (sp); in rfs4_findstate()
3535 *spp = sp; in rfs4_get_state_lockit()
3701 *spp = sp; in rfs4_get_all_state()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c241 u_char *sp, *ep, *p; local
255 sp = (u_char *)t->bt_cmap;
258 if (sp >= ep) {
264 sp < ep && len > 0; *p++ = *sp++, --len);
270 t->bt_cmap = (caddr_t)sp;
290 u_char *sp, *ep; local
294 sp = (u_char *)t->bt_cmap;
299 if (sp >= ep) {
303 for (data.data = sp; sp < ep && *sp != bval; ++sp);
307 ++sp;
[all …]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwschr.c43 wcschr(const wchar_t *sp, wchar_t c) in wcschr() argument
46 if (*sp == c) in wcschr()
47 return ((wchar_t *)sp); /* found c in sp */ in wcschr()
48 } while (*sp++); in wcschr()
53 wschr(const wchar_t *sp, wchar_t c) in wschr() argument
55 return (wcschr(sp, c)); in wschr()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dexpand.c45 const char *sp; in quote_for_shell() local
52 for (sp = str; *sp != '\0'; ++sp) { in quote_for_shell()
59 if (sp - str == dst_len) in quote_for_shell()
66 for (dp = dst, sp = str; *sp != '\0'; ++dp, ++sp) { in quote_for_shell()
70 *dp = *sp; in quote_for_shell()
559 const char *sp; in expand_method_tokens() local
578 sp = str; in expand_method_tokens()
593 len = esc - sp; in expand_method_tokens()
597 sp += len; in expand_method_tokens()
609 sp += 2; in expand_method_tokens()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_smbios.c87 sp->smbstr_id = hdr->smbh_hdl; in smb_export()
88 sp->smbstr_type = hdr->smbh_type; in smb_export()
89 sp->smbstr_data = hdr; in smb_export()
92 return (sp); in smb_export()
259 switch (sp->smbstr_type) { in chip_get_smbstruct()
297 sp->smbstr_id, &md) != 0) in chip_get_smbstruct()
310 sp->smbstr_id, &extmd) != 0) { in chip_get_smbstruct()
334 sp->smbstr_id, &p) != 0) { in chip_get_smbstruct()
350 sp->smbstr_id, &extp) != 0) { in chip_get_smbstruct()
377 const smb_struct_t *sp; in chip_smbios_iterate() local
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_scsa.h43 #define CMD2PKT(sp) (sp->cmd_pkt) argument
65 #define SCSA_CDBLEN(sp) sp->cmd_pkt->pkt_cdblen argument
66 #define SCSA_STSLEN(sp) sp->cmd_pkt->pkt_scblen argument
67 #define SCSA_TGTLEN(sp) sp->cmd_pkt->pkt_tgtlen argument

12345678910>>...49