/titanic_44/usr/src/uts/common/inet/ |
H A D | ip_impl.h | 89 #define IP_ADJCKSUM_PARTIAL(cksum_start, mp, mp1, len, adj) { \ argument 94 (adj) = IP_BCSUM_PARTIAL(cksum_start, len, 0); \ 96 (adj) = 0; \ 117 (adj) += ((_pad << 8) & 0xFFFF) | (_pad >> 8); \ 119 (adj) += _pad; \ 120 (adj) = ((adj) & 0xFFFF) + ((int)(adj) >> 16); \
|
/titanic_44/usr/src/uts/common/os/ |
H A D | dtrace_subr.c | 135 int i = 0, adj, nslt; in dtrace_gethrestime() local 169 adj = (nslt >> adj_shift); in dtrace_gethrestime() 170 if (adj > snap.dthr_adj) in dtrace_gethrestime() 171 adj = (int)snap.dthr_adj; in dtrace_gethrestime() 173 adj = -(nslt >> adj_shift); in dtrace_gethrestime() 174 if (adj < snap.dthr_adj) in dtrace_gethrestime() 175 adj = (int)snap.dthr_adj; in dtrace_gethrestime() 177 now += adj; in dtrace_gethrestime()
|
/titanic_44/usr/src/cmd/ndmpstat/ |
H A D | ndmpstat_main.c | 58 #define ADJ(n) ((adj <= 0) ? n : (adj >= n) ? 1 : n - adj) 59 #define adjprintf(fmt, n, val) adj -= (n + 1) - printf(fmt, ADJ(n), val) 64 static int adj; /* number of excess columns */ variable 183 adj = 0; in dostats()
|
/titanic_44/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 296 int adj = 0; in print_rela() local 299 adj = 8; in print_rela() 337 12 + adj, "Offset", 22, "Symndx", in print_rela() 351 (void) printf("%-#*llx", 12 + adj, EC_XWORD(rela.r_offset)); in print_rela() 401 int adj = 0; in print_rel() local 404 adj = 8; in print_rel() 442 12 + adj, "Offset", 20, "Symndx", "Type"); in print_rel() 455 (void) printf("%-#*llx", 12 + adj, EC_ADDR(rel.r_offset)); in print_rel() 519 int adj = 0; /* field adjustment for elf64 */ in print_symtab() local 526 adj = 8; in print_symtab() [all …]
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 89 size_t adj = roundup(off, align) - off; in dt_buf_write() local 96 if (bp->dbu_ptr + adj + len > bp->dbu_buf + bp->dbu_len) { in dt_buf_write() 101 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write() 120 bp->dbu_ptr += adj; in dt_buf_write()
|
/titanic_44/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 114 #define GET_HRESTIME(hrestsec, hrestnsec, adj, nslt, nano, scr, hrlock, \ argument 124 GET_NATIVE_TIME(adj, gnt1, gnt2); /* get current %tick */ \ 125 subcc adj, nslt, nslt; /* nslt = ticks since last clockint */ \ 127 ldx [scr + %lo(hrestime_adj)], adj; /* load hrestime_adj */ \
|
/titanic_44/usr/src/uts/common/io/ |
H A D | trill.c | 198 trill_node_t *adj; in trill_dest_fwd() local 205 adj = trill_node_lookup(tip, adj_nick); in trill_dest_fwd() 206 if (adj == NULL || ((tsock = adj->tn_tsp) == NULL)) in trill_dest_fwd() 211 ASSERT(adj->tn_ni != NULL); in trill_dest_fwd() 214 adj, trill_sock_t, tsock); in trill_dest_fwd() 222 fwd_mp = create_trill_header(tsock, fwd_mp, adj->tn_ni->tni_adjsnpa, in trill_dest_fwd() 266 trill_node_unref(tip, adj); in trill_dest_fwd() 270 if (adj != NULL) in trill_dest_fwd() 271 trill_node_unref(tip, adj); in trill_dest_fwd() 290 trill_node_t *adj; in trill_multidest_fwd() local [all …]
|
/titanic_44/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 546 #define CONV_HRESTIME(hrestsec, hrestnsec, adj, nslt, nano) \ argument 547 brz,pt adj, 3f; /* no adjustments, it's easy */ \ 549 brlz,pn adj, 2f; /* if hrestime_adj negative */ \ 551 subcc adj, nslt, %g0; /* hrestime_adj - nslt/16 */ \ 552 movg %xcc, nslt, adj; /* adj by min(adj, nslt/16) */ \ 554 add hrestnsec, adj, hrestnsec; /* delay: apply adjustment */ \ 555 2: addcc adj, nslt, %g0; /* hrestime_adj + nslt/16 */ \ 557 add hrestnsec, adj, hrestnsec; /* yes: hrest.nsec += adj */ \ 713 clr %l5 ! delay: set adj to zero 716 srl %i1, ADJ_SHIFT, %l5 ! delay: %l5 = adj [all …]
|
/titanic_44/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.s | 395 brlz,pn adj, 2f; /* if hrestime_adj negative */ \ 397 subcc adj, nslt, %g0; /* hrestime_adj - nslt/16 */ \ 398 movg %xcc, nslt, adj; /* adj by min(adj, nslt/16) */ \ 400 add hrestnsec, adj, hrestnsec; /* delay: apply adjustment */ \ 401 2: addcc adj, nslt, %g0; /* hrestime_adj + nslt/16 */ \ 403 add hrestnsec, adj, hrestnsec; /* yes: hrest.nsec += adj */ \ 559 clr %l5 ! delay: set adj to zero 562 srl %i1, ADJ_SHIFT, %l5 ! delay: %l5 = adj 564 addcc %l0, %l5, %g0 ! hrestime_adj < -adj ? 565 bl,pt %xcc, 2f ! yes, use current adj [all …]
|
/titanic_44/usr/src/cmd/stat/vmstat/ |
H A D | vmstat.c | 213 #define ADJ(n) ((adj <= 0) ? n : (adj >= n) ? 1 : n - adj) 214 #define adjprintf(fmt, n, val) adj -= (n + 1) - printf(fmt, ADJ(n), val) 216 static int adj; /* number of excess columns */ variable 252 adj = 0; in dovmstats() 277 adj = 0; in dovmstats()
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 726 int adj; /* amount of adjustment to apply */ in pc_gethrestime() local 743 adj = (nslt >> ADJ_SHIFT); in pc_gethrestime() 744 if (adj > hrestime_adj) in pc_gethrestime() 745 adj = (int)hrestime_adj; in pc_gethrestime() 747 adj = -(nslt >> ADJ_SHIFT); in pc_gethrestime() 748 if (adj < hrestime_adj) in pc_gethrestime() 749 adj = (int)hrestime_adj; in pc_gethrestime() 751 now.tv_nsec += adj; in pc_gethrestime()
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 227 #define GET_HRESTIME(hrestsec, hrestnsec, adj, nslt, nano, scr, hrlock, \ argument 238 GET_NATIVE_TIME(adj,gnt1,gnt2,label); /* get current %stick */ \ 239 subcc adj, nslt, nslt; /* nslt = ticks since last clockint */ \ 241 ldx [scr + %lo(hrestime_adj)], adj; /* load hrestime_adj */ \
|
/titanic_44/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | create.c | 126 uint32_t adj; in kc_create() local 130 &adj) < 0) { in kc_create() 221 uint32_t adj; in kc_create() local 225 &adj) < 0) { in kc_create()
|
H A D | modify.c | 184 uint32_t adj; in kc_modify_policy() local 188 &adj) < 0) { in kc_modify_policy() 288 uint32_t adj; in kc_modify_policy() local 292 &adj) < 0) { in kc_modify_policy()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | subr_mchain.c | 959 ssize_t adj; in m_copym() local 974 adj = off; in m_copym() 975 if (!adjmsg(n, adj)) { in m_copym() 985 adj = (ssize_t)len - (ssize_t)dsz; in m_copym() 986 ASSERT(adj < 0); in m_copym() 987 (void) adjmsg(n, adj); in m_copym()
|
/titanic_44/usr/src/uts/intel/ia32/os/ |
H A D | archdep.c | 1504 long long adj; in __adj_hrestime() local 1507 adj = 0; in __adj_hrestime() 1510 adj = hrestime_adj; in __adj_hrestime() 1512 adj = max_hres_adj; in __adj_hrestime() 1515 adj = -max_hres_adj; in __adj_hrestime() 1517 adj = hrestime_adj; in __adj_hrestime() 1520 timedelta -= adj; in __adj_hrestime() 1522 hrestime.tv_nsec += adj; in __adj_hrestime()
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_util.c | 396 mclref(caddr_t p, int size, int adj) /* size, adj are unused */ in mclref() argument 403 mclrefnoop(caddr_t p, int size, int adj) /* p, size, adj are unused */ in mclrefnoop() argument
|
/titanic_44/usr/src/cmd/sendmail/db/include/ |
H A D | db_page.h | 190 #define RE_NREC_ADJ(p, adj) \ argument 191 PREV_PGNO(p) += adj;
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_time_wait.c | 587 int32_t adj; in tcp_time_wait_processing() local 625 if ((adj = (int32_t)(tcp->tcp_snxt - new_iss)) > 0) { in tcp_time_wait_processing() 631 tcps->tcps_iss_incr_extra += adj; in tcp_time_wait_processing()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | sem.c | 626 int adj = undo->un_aoe[i]; in semexit() local 627 if (adj) { in semexit() 629 int v = (int)semp->semval + adj; in semexit() 636 if (adj > 0 && semp->semncnt) in semexit()
|
/titanic_44/usr/src/uts/intel/ia32/ml/ |
H A D | i86_subr.s | 3724 / long long adj; 3727 / adj = 0; 3730 / adj = hrestime_adj; 3732 / adj = HRES_ADJ; 3736 / adj = -(HRES_ADJ); 3738 / adj = hrestime_adj; 3741 / timedelta -= adj; 3743 / hrestime.tv_nsec += adj; 3758 subl %ecx, %ecx / yes, adj = 0; 3795 movl max_hres_adj, %ecx / adj = HRES_ADJ; [all …]
|
/titanic_44/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_proto.h | 274 void pmcs_set_intr_coal_timer(pmcs_hw_t *pwp, pmcs_coal_timer_adj_t adj);
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip6_input.c | 1941 uint32_t adj; in ip_input_cksum_v6() local 1956 IP_ADJCKSUM_PARTIAL(cksum_start, mp, mp1, len, adj); in ip_input_cksum_v6() 1961 if (adj >= cksum) in ip_input_cksum_v6() 1962 cksum = ~(adj - cksum) & 0xFFFF; in ip_input_cksum_v6() 1964 cksum -= adj; in ip_input_cksum_v6()
|
H A D | ip_input.c | 2290 uint32_t adj; in ip_input_cksum_v4() local 2305 IP_ADJCKSUM_PARTIAL(cksum_start, mp, mp1, len, adj); in ip_input_cksum_v4() 2310 if (adj >= cksum) in ip_input_cksum_v4() 2311 cksum = ~(adj - cksum) & 0xFFFF; in ip_input_cksum_v4() 2313 cksum -= adj; in ip_input_cksum_v4()
|
/titanic_44/usr/src/lib/libkmf/libkmf/common/ |
H A D | certop.c | 2787 uint32_t adj; in kmf_check_cert_date() local 2813 if (str2lifetime(policy->validity_adjusttime, &adj) < 0) in kmf_check_cert_date() 2816 adj = 0; in kmf_check_cert_date() 2819 t_notafter += adj; in kmf_check_cert_date() 2820 t_notbefore -= adj; in kmf_check_cert_date()
|