Home
last modified time | relevance | path

Searched refs:adj (Results 1 – 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/uts/common/inet/
H A Dip_impl.h90 #define IP_ADJCKSUM_PARTIAL(cksum_start, mp, mp1, len, adj) { \ argument
95 (adj) = IP_BCSUM_PARTIAL(cksum_start, len, 0); \
97 (adj) = 0; \
118 (adj) += ((_pad << 8) & 0xFFFF) | (_pad >> 8); \
120 (adj) += _pad; \
121 (adj) = ((adj) & 0xFFFF) + ((int)(adj) >> 16); \
/illumos-gate/usr/src/uts/common/os/
H A Ddtrace_subr.c135 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()
/illumos-gate/usr/src/cmd/ndmpstat/
H A Dndmpstat_main.c58 #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
182 adj = 0; in dostats()
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c297 int adj = 0; in print_rela() local
300 adj = 8; in print_rela()
338 12 + adj, "Offset", 22, "Symndx", in print_rela()
352 (void) printf("%-#*llx", 12 + adj, EC_XWORD(rela.r_offset)); in print_rela()
402 int adj = 0; in print_rel() local
405 adj = 8; in print_rel()
443 12 + adj, "Offset", 20, "Symndx", "Type"); in print_rel()
456 (void) printf("%-#*llx", 12 + adj, EC_ADDR(rel.r_offset)); in print_rel()
524 int adj = 0; /* field adjustment for elf64 */ in print_symtab() local
531 adj = 8; in print_symtab()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_buf.c87 size_t adj = roundup(off, align) - off; in dt_buf_write() local
94 if (bp->dbu_ptr + adj + len > bp->dbu_buf + bp->dbu_len) { in dt_buf_write()
99 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write()
118 bp->dbu_ptr += adj; in dt_buf_write()
/illumos-gate/usr/src/uts/common/io/
H A Dtrill.c199 trill_node_t *adj; in trill_dest_fwd() local
206 adj = trill_node_lookup(tip, adj_nick); in trill_dest_fwd()
207 if (adj == NULL || ((tsock = adj->tn_tsp) == NULL)) in trill_dest_fwd()
212 ASSERT(adj->tn_ni != NULL); in trill_dest_fwd()
215 adj, trill_sock_t, tsock); in trill_dest_fwd()
223 fwd_mp = create_trill_header(tsock, fwd_mp, adj->tn_ni->tni_adjsnpa, in trill_dest_fwd()
267 trill_node_unref(tip, adj); in trill_dest_fwd()
271 if (adj != NULL) in trill_dest_fwd()
272 trill_node_unref(tip, adj); in trill_dest_fwd()
291 trill_node_t *adj; in trill_multidest_fwd() local
[all …]
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.S241 brlz,pn adj, 2f; /* if hrestime_adj negative */ \
243 subcc adj, nslt, %g0; /* hrestime_adj - nslt/16 */ \
244 movg %xcc, nslt, adj; /* adj by min(adj, nslt/16) */ \
246 add hrestnsec, adj, hrestnsec; /* delay: apply adjustment */ \
247 2: addcc adj, nslt, %g0; /* hrestime_adj + nslt/16 */ \
249 add hrestnsec, adj, hrestnsec; /* yes: hrest.nsec += adj */ \
405 clr %l5 ! delay: set adj to zero
408 srl %i1, ADJ_SHIFT, %l5 ! delay: %l5 = adj
410 addcc %l0, %l5, %g0 ! hrestime_adj < -adj ?
411 bl,pt %xcc, 2f ! yes, use current adj
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h114 #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 */ \
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.S399 #define CONV_HRESTIME(hrestsec, hrestnsec, adj, nslt, nano) \ argument
400 brz,pt adj, 3f; /* no adjustments, it's easy */ \
402 brlz,pn adj, 2f; /* if hrestime_adj negative */ \
404 subcc adj, nslt, %g0; /* hrestime_adj - nslt/16 */ \
405 movg %xcc, nslt, adj; /* adj by min(adj, nslt/16) */ \
407 add hrestnsec, adj, hrestnsec; /* delay: apply adjustment */ \
408 2: addcc adj, nslt, %g0; /* hrestime_adj + nslt/16 */ \
410 add hrestnsec, adj, hrestnsec; /* yes: hrest.nsec += adj */ \
566 clr %l5 ! delay: set adj to zero
569 srl %i1, ADJ_SHIFT, %l5 ! delay: %l5 = adj
[all …]
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c215 #define ADJ(n) ((adj <= 0) ? n : (adj >= n) ? 1 : n - adj)
216 #define adjprintf(fmt, n, val) adj -= (n + 1) - printf(fmt, ADJ(n), val)
218 static int adj; /* number of excess columns */
251 adj = 0; in dovmstats()
276 adj = 0; in dovmstats()
220 static int adj; /* number of excess columns */ global() variable
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c738 int adj; /* amount of adjustment to apply */ in pc_gethrestime() local
755 adj = (nslt >> ADJ_SHIFT); in pc_gethrestime()
756 if (adj > hrestime_adj) in pc_gethrestime()
757 adj = (int)hrestime_adj; in pc_gethrestime()
759 adj = -(nslt >> ADJ_SHIFT); in pc_gethrestime()
760 if (adj < hrestime_adj) in pc_gethrestime()
761 adj = (int)hrestime_adj; in pc_gethrestime()
763 now.tv_nsec += adj; in pc_gethrestime()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachclock.h227 #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 */ \
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb3_crypt.c329 ssize_t adj; in smb3_msg_decrypt() local
331 adj = bodylen - tlen; in smb3_msg_decrypt()
332 ASSERT(adj < 0); in smb3_msg_decrypt()
333 (void) adjmsg(body, adj); in smb3_msg_decrypt()
H A Dsubr_mchain.c1005 ssize_t adj; in m_copym() local
1020 adj = off; in m_copym()
1021 if (!adjmsg(n, adj)) { in m_copym()
1031 adj = (ssize_t)len - (ssize_t)dsz; in m_copym()
1032 ASSERT(adj < 0); in m_copym()
1033 (void) adjmsg(n, adj); in m_copym()
/illumos-gate/usr/src/common/mc/zen_umc/
H A Dzen_umc_decode.c587 const uint32_t *addr_bits, const uint32_t *adj, uint32_t nsock_bits, in zen_umc_decode_ileave_nps_common() argument
597 uint8_t val = bitx64(dec->dec_ilv_pa, 16 + adj[i], in zen_umc_decode_ileave_nps_common()
598 16 + adj[i]); in zen_umc_decode_ileave_nps_common()
603 uint8_t val = bitx64(dec->dec_ilv_pa, 21 + adj[i], in zen_umc_decode_ileave_nps_common()
604 21 + adj[i]); in zen_umc_decode_ileave_nps_common()
609 uint8_t val = bitx64(dec->dec_ilv_pa, 30 + adj[i], 30 + in zen_umc_decode_ileave_nps_common()
610 adj[i]); in zen_umc_decode_ileave_nps_common()
619 uint8_t val = bitx64(dec->dec_ilv_pa, 40 + adj[i], in zen_umc_decode_ileave_nps_common()
620 40 + adj[i]); in zen_umc_decode_ileave_nps_common()
669 const uint32_t adj[4] = { 0, 1, 2, 3 }; in zen_umc_decode_ileave_nps() local
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dcreate.c126 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 Dmodify.c184 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()
/illumos-gate/usr/src/uts/intel/os/
H A Darchdep.c1107 long long adj; in __adj_hrestime() local
1110 adj = 0; in __adj_hrestime()
1113 adj = hrestime_adj; in __adj_hrestime()
1115 adj = max_hres_adj; in __adj_hrestime()
1118 adj = -max_hres_adj; in __adj_hrestime()
1120 adj = hrestime_adj; in __adj_hrestime()
1123 timedelta -= adj; in __adj_hrestime()
1125 hrestime.tv_nsec += adj; in __adj_hrestime()
/illumos-gate/usr/src/lib/libjedec/common/
H A Dlibjedec_spd.c607 int8_t adj = (int8_t)ftb * SPD_DDR4_FTB_PS; in spd_parse_ddr_time() local
609 if (ps == 125 && adj <= -125) { in spd_parse_ddr_time()
612 ps, adj); in spd_parse_ddr_time()
616 ps += adj; in spd_parse_ddr_time()
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h190 #define RE_NREC_ADJ(p, adj) \ argument
191 PREV_PGNO(p) += adj;
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_time_wait.c696 int32_t adj; in tcp_time_wait_processing() local
734 if ((adj = (int32_t)(tcp->tcp_snxt - new_iss)) > 0) { in tcp_time_wait_processing()
740 tcps->tcps_iss_incr_extra += adj; in tcp_time_wait_processing()
/illumos-gate/usr/src/uts/common/syscall/
H A Dsem.c626 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()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_proto.h274 void pmcs_set_intr_coal_timer(pmcs_hw_t *pwp, pmcs_coal_timer_adj_t adj);
/illumos-gate/usr/src/tools/smatch/src/
H A DREADME3 sparse (spärs), adj,., spars-er, spars-est.
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A Dsparse-README.txt2 sparse (spärs), adj,., spars-er, spars-est.

12