Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/common/crypto/arcfour/sun4v/
H A Darcfour_crypt.c67 unsigned int tmp0, tmp1, i_accum, shift = 0, i1; in arcfour_crypt() local
115 tmp1 = base[j]; in arcfour_crypt()
116 base[i] = (uchar_t)tmp1; in arcfour_crypt()
118 tmp0 += tmp1; in arcfour_crypt()
139 tmp1 = base[j]; in arcfour_crypt()
141 base[i] = (uchar_t)tmp1; in arcfour_crypt()
144 tmp0 += tmp1; in arcfour_crypt()
184 tmp1 = base[j]; in arcfour_crypt()
188 i_accum = tmp1; in arcfour_crypt()
191 tmp0 += tmp1; in arcfour_crypt()
[all …]
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu.h87 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument
91 mov MMU_SCONTEXT, tmp1 ;\
92 stxa cnum, [tmp1]ASI_MMU_CTX ;\
94 sethi %hi(shctx_on), tmp1 ;\
95 ld [tmp1 + %lo(shctx_on)], tmp1 ;\
96 brz,pt tmp1, label##3 ;\
100 set SHCTXREG_VALID_BIT, tmp1 ;\
103 or cnum, tmp1, cnum ;\
104 mov cnum, tmp1 ;\
106 or cnum, tmp1, cnum ;\
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dfpras_impl.h138 #define FPRAS_INTERVAL(operation, blk, doex, tmp1, tmp2, tmp3, tmp4, label) \ argument
139 sethi %hi(fpras_interval), tmp1 ;\
140 ldx [tmp1 + %lo(fpras_interval)], tmp1 ;\
141 brlz,pn tmp1, label##f /* not initialized? */ ;\
163 cmp tmp4, tmp1 /* compare delta to interval */ ;\
167 ldn [THREAD_REG + T_CPU], tmp1 ;\
168 ld [tmp1 + CPU_ID], tmp1 ;\
171 sll tmp1, FPRAS_CHKFNGRP_SIZE_SHIFT, tmp1 ;\
172 add doex, tmp1, doex ;\
173 mov operation, tmp1 ;\
[all …]
H A Dcheetahasm.h802 #define PCACHE_FLUSHALL(tmp1, tmp2, tmp3) \ argument
803 sethi %hi(FLUSH_ADDR), tmp1 ;\
807 flush tmp1 /* See Cheetah PRM 8.10.2 */
815 #define CH_DCACHE_FLUSHALL(arg1, arg2, tmp1) \ argument
816 sub arg1, arg2, tmp1; \
818 stxa %g0, [tmp1]ASI_DC_TAG; \
820 cmp %g0, tmp1; \
822 sub tmp1, arg2, tmp1;
836 #define CH_ICACHE_FLUSHALL(arg1, arg2, tmp1, tmp2) \ argument
838 andn tmp2, DCU_IC, tmp1; \
[all …]
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.h75 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument
76 mov MMU_SCONTEXT, tmp1; \
77 movrnz is_shctx, MMU_SCONTEXT1, tmp1; \
78 stxa cnum, [tmp1]ASI_MMU_CTX; /* set 2nd ctx reg. */ \
106 #define SETUP_UTSB_ATOMIC_ASI(tmp1, tmp2) argument
326 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \ argument
334 or tte, TTE_REF_INT, tmp1; \
335 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref bit */ \
336 cmp tte, tmp1; \
358 #define TTE_SET_REFMOD_ML(tte, ttepa, tsbarea, tmp1, tmp2, label, \ argument
[all …]
/illumos-gate/usr/src/uts/sfmmu/ml/
H A Dsfmmu_asm.S161 #define TSB_LOCK_ENTRY(tsbep, tmp1, tmp2, label) \ argument
162 lda [tsbep]ASI_MEM, tmp1 ;\
164 cmp tmp1, tmp2 ;\
167 casa [tsbep]ASI_MEM, tmp1, tmp2 ;\
168 cmp tmp1, tmp2 ;\
176 #define TSB_LOCK_ENTRY(tsbep, tmp1, tmp2, label) \ argument
177 lda [tsbep]%asi, tmp1 ;\
179 cmp tmp1, tmp2 ;\
182 casa [tsbep]%asi, tmp1, tmp2 ;\
183 cmp tmp1, tmp2 ;\
[all …]
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.S59 #define ECACHE_FLUSHALL(arg1, arg2, arg3, tmp1) \ argument
529 #define FLUSH_ALL_TLB(tmp1) \ argument
530 set DEMAP_ALL_TYPE, tmp1 ;\
531 stxa %g0, [tmp1]ASI_ITLB_DEMAP ;\
532 stxa %g0, [tmp1]ASI_DTLB_DEMAP ;\
533 sethi %hi(FLUSH_ADDR), tmp1 ;\
534 flush tmp1
634 #define UPDATE_STICK_COMPARE(tmp1, tmp2) \ argument
635 CPU_ADDR(tmp1, tmp2) ;\
636 lduh [tmp1 + CPU_FLAGS], tmp2 ;\
[all …]
H A Dspitfire_asm.S48 #define DCACHE_FLUSHPAGE(arg1, arg2, tmp1, tmp2, tmp3) \ argument
49 ldxa [%g0]ASI_LSU, tmp1 ;\
50 btst LSU_DC, tmp1 /* is dcache enabled? */ ;\
52 sethi %hi(dcache_linesize), tmp1 ;\
53 ld [tmp1 + %lo(dcache_linesize)], tmp1 ;\
69 sub tmp3, tmp1, tmp2 ;\
75 sub tmp2, tmp1, tmp2 ;\
89 sub tmp3, tmp1, tmp3 ;\
103 sub tmp3, tmp1, tmp3 ;\
115 sub tmp3, tmp1, arg2 ;\
[all …]
/illumos-gate/usr/src/common/crypto/dsa/
H A Ddsa_impl.c259 BIGNUM msg, tmp, tmp1; in dsa_sign() local
328 if ((brv = big_init(&tmp1, 2 * BIG_CHUNKS_FOR_160BITS + 1)) != BIG_OK) { in dsa_sign()
377 if ((brv = big_mul(&tmp1, &(dsakey.x), &(dsakey.r))) != BIG_OK) { in dsa_sign()
382 if ((brv = big_add(&tmp1, &tmp1, &msg)) != BIG_OK) { in dsa_sign()
387 if ((brv = big_mul(&tmp, &tmp1, &tmp)) != BIG_OK) { in dsa_sign()
406 big_finish(&tmp1); in dsa_sign()
426 BIGNUM msg, tmp1, tmp2, tmp3; in dsa_verify() local
508 if (big_init(&tmp1, 2 * CHARLEN2BIGNUMLEN(prime_bytes)) != BIG_OK) { in dsa_verify()
536 if (big_mul(&tmp1, &msg, &tmp2) != BIG_OK) { in dsa_verify()
541 if (big_div_pos(NULL, &tmp1, &tmp1, &(dsakey.q)) != BIG_OK) { in dsa_verify()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dreadcsv.sh34 tmp1=$tmp/tmp1.csv
36 cat > $tmp1 <<- \EOF
65 done < $tmp1 > $tmp2
67 diff "$tmp1" "$tmp2" >/dev/null 2>&1 || err_exit "files $tmp1 and $tmp2 differ"
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_net_secure.c68 struct seclist *tmp1, *tmp2; in get_secure_nets() local
71 tmp1 = (struct seclist *) malloc(sizeof (struct seclist)); in get_secure_nets()
72 slist = tmp2 = tmp1; in get_secure_nets()
114 tmp1->af = netaf; in get_secure_nets()
115 tmp1->mask = maskin; in get_secure_nets()
116 tmp1->net = netin; in get_secure_nets()
117 tmp1->next = (struct seclist *) in get_secure_nets()
119 tmp2 = tmp1; in get_secure_nets()
120 tmp1 = tmp1->next; in get_secure_nets()
/illumos-gate/usr/src/lib/libm/sparc/src/
H A Dlibm_inlines.h177 uint32_t tmp1, tmp2; in __swapEX() local
192 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) in __swapEX()
215 uint32_t tmp1, tmp2, tmp3; in __swapRD() local
231 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) in __swapRD()
242 uint32_t fsr, tmp1, tmp2; in __swapTE() local
259 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) in __swapTE()
/illumos-gate/usr/src/lib/libm/sparcv9/src/
H A Dlibm_inlines.h168 uint64_t tmp1, tmp2; in __swapEX() local
183 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) in __swapEX()
206 uint64_t tmp1, tmp2, tmp3; in __swapRD() local
223 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) in __swapRD()
235 uint64_t tmp1, tmp2, tmp3; in __swapTE() local
252 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) in __swapTE()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h897 #define GET_4MBASE_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ argument
900 mov TSB_ENTRIES(0), tmp1; /* nentries in TSB size 0 */ \
901 sllx tmp1, tmp2, tmp1; /* tmp1 = nentries in TSB */ \
902 sub tmp1, 1, tmp1; /* mask = nentries - 1 */ \
904 and tmp2, tmp1, tmp1; /* tsbent = virtpage & mask */ \
905 sllx tmp1, TSB_ENTRY_SHIFT, tmp1; /* entry num --> ptr */ \
906 add tsbe, tmp1, tsbe /* add entry offset to TSB base */
908 #define GET_2ND_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ argument
909 GET_4MBASE_TSBE_PTR(tagacc, tsbe, tmp1, tmp2)
923 #define GET_3RD_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ argument
[all …]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymreport.pl709 my ($tmp1, $tmp2, $tmp3);
711 $tmp1 = gettext("ABI SYMBOL USAGE SUMMARY REPORT");
712 $tmp2 = '*' x length($tmp1);
714 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n";
722 $tmp1 = gettext("References to shared objects in the Solaris ABI");
723 $tmp2 = '*' x length($tmp1);
725 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n";
766 $tmp1 = gettext("Symbol usage statistics (summary by shared object)");
767 $tmp2 = '*' x length($tmp1);
769 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n";
[all …]
H A DAppcertUtil.pm1005 my ($tmp1, $tmp2);
1007 $tmp1 = $file;
1009 while ($tmp2 = readlink($tmp1)) {
1012 $tmp2 = dirname($tmp1) . "/" . $tmp2;
1015 $tmp1 = $tmp2; #
1016 $tmp1 =~ s,/+,/,g; # get rid of ////
1017 $tmp1 =~ s,^\./,,g; # remove leading ./
1018 $tmp1 =~ s,/\./,/,g; # remove /./
1019 $tmp1 =~ s,/+,/,g; # get rid of //// again
1020 $tmp1 =~ s,/[^/]+/\.\./,/,g; # remove "abc/.."
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/
H A Dsbdp_asm.S61 #define ECACHE_FLUSHTAGS(arg1, arg2, tmp1) \ argument
62 GET_CPU_IMPL(tmp1) ;\
64 cmp tmp1, CHEETAH_IMPL ;\
67 sub arg1, arg2, tmp1 ;\
69 stxa %g0, [tmp1]ASI_EC_DIAG ;\
71 cmp %g0, tmp1 ;\
73 sub tmp1, arg2, tmp1 ;\
/illumos-gate/usr/src/uts/intel/kdi/
H A Dkdi_asm.S207 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument
208 movq KRS_CURCRUMBIDX(cpusave), tmp1; \
209 cmpq $[KDI_NCRUMBS - 1], tmp1; \
212 addq $1, tmp1; \
213 movq tmp1, KRS_CURCRUMBIDX(cpusave); \
214 movq KRS_CURCRUMB(cpusave), tmp1; \
215 addq $KRM_SIZE, tmp1; \
219 leaq KRS_CRUMBS(cpusave), tmp1; \
220 2: movq tmp1, KRS_CURCRUMB(cpusave); \
223 3: movq $0, -4(tmp1, tmp2, 4); \
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vatan.c51 double f1, ans1, ansu1, ansl1, tmp1, poly1, conup1, conlo1; in __vatan() local
286 tmp1 = f1*f1; in __vatan()
290 poly1 = f1*((p3*tmp1 + p2)*tmp1 + p1)*tmp1; in __vatan()
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c1026 BIGNUM bbhigh, bblow, tresult, tmp1, tmp2; in big_div_pos() local
1070 if ((err = big_init1(&tmp1, alen + 2, in big_div_pos()
1108 big_shiftleft(&tmp1, aa, offs); in big_div_pos()
1109 rlen = tmp1.len - bblow.len + 1; in big_div_pos()
1112 tmp1.len++; in big_div_pos()
1113 tlen = tmp1.len; in big_div_pos()
1114 tmp1.value[tmp1.len - 1] = 0; in big_div_pos()
1116 higha = (tmp1.value[tlen - 1] << (BIG_CHUNK_SIZE / 2)) + in big_div_pos()
1117 (tmp1.value[tlen - 2] >> (BIG_CHUNK_SIZE / 2)); in big_div_pos()
1120 big_sub_pos_high(&tmp1, &tmp1, &tmp2); in big_div_pos()
[all …]
H A Dmont_mulf.c75 double tmp, tmp1, x, x1; in cleanup() local
77 tmp = tmp1 = Zero; in cleanup()
83 dt[i + 1] = lower32(x1, Zero) + tmp1; in cleanup()
85 tmp1 = upper32(x1); in cleanup()
/illumos-gate/usr/src/uts/sun4u/opl/ml/
H A Ddrmach_asm.S55 #define FJSV_SPECULATIVE_OFF(reg, tmp1, tmp2) \ argument
57 andn reg, PSTATE_IE, tmp1 ;\
58 wrpr %g0, tmp1, %pstate ;\
59 ldxa [%g0]ASI_MCNTL, tmp1 ;\
62 or tmp1, tmp2, tmp1 ;\
63 stxa tmp1, [%g0]ASI_MCNTL ;\
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vatan.S164 fzero %f14 !tmp1 = 0
233 fmuld %f14,%f12,%f12 !poly1 = (f1*tmp1)*((p3*tmp1 + p2)*tmp1 + p1)
429 fmuld %f36,%f36,%f14 !tmp1= f1*f1
434 fmuld %f58,%f14,%f12 !p[3]*tmp1
441 faddd %f12,%f60,%f12 !p[3]*tmp1 + p[2]
444 fmuld %f12,%f14,%f12 !(p3*tmp1 + p2)*tmp1
448 fmuld %f36,%f14,%f14 !f1*tmp1
449 faddd %f12,%f62,%f12 !(p3*tmp1 + p2)*tmp1 + p1
/illumos-gate/usr/src/uts/common/io/
H A Dtelmod.c1131 unsigned char *tmp, *tmp1; in snd_parse() local
1154 tmp1 = newmp->b_rptr; in snd_parse()
1159 *tmp1++ = '\0'; in snd_parse()
1165 *tmp1++ = *tmp; in snd_parse()
1172 (tmp1 == newmp->b_wptr)) { in snd_parse()
1178 *tmp1++ = '\0'; in snd_parse()
1181 *tmp1++ = *tmp; in snd_parse()
1184 *tmp1++ = IAC; in snd_parse()
1191 newmp->b_wptr = tmp1; in snd_parse()
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_hca.c421 char *tmp, *tmp1; in ibnex_prom_devname_to_pkey_n_portnum() local
425 if ((tmp1 = strchr(++tmp, ',')) != NULL) in ibnex_prom_devname_to_pkey_n_portnum()
426 *port = ibnex_str2int(tmp, (tmp1 - tmp), &ret); in ibnex_prom_devname_to_pkey_n_portnum()
433 if ((tmp1 = strchr(++tmp, ',')) != NULL) in ibnex_prom_devname_to_pkey_n_portnum()
434 *pkey = ibnex_str2hex(tmp, (tmp1 - tmp), &ret); in ibnex_prom_devname_to_pkey_n_portnum()

123