Home
last modified time | relevance | path

Searched refs:us (Results 1 – 25 of 133) sorted by relevance

123456

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dcbcp.c88 static void cbcp_recvreq __P((cbcp_state *us, u_char *pckt, int len));
89 static void cbcp_recvack __P((cbcp_state *us, u_char *pckt, int len));
90 static void cbcp_send __P((cbcp_state *us, int code, u_char *buf, int len));
114 cbcp_state *us; local
116 us = &cbcp[unit];
117 BZERO(us, sizeof(cbcp_state));
118 us->us_unit = unit;
119 us->us_type |= (1 << CB_CONF_NO);
127 cbcp_state *us = &cbcp[unit]; local
130 dbglog("cbcp_lowerup: want: %d", us->us_type);
[all …]
/titanic_44/usr/src/lib/libc/port/locale/
H A Dutf8.c80 _UTF8State *us; in _UTF8_mbrtowc() local
84 us = (_UTF8State *)ps; in _UTF8_mbrtowc()
86 if (us->want < 0 || us->want > 6) { in _UTF8_mbrtowc()
101 if (us->want == 0) { in _UTF8_mbrtowc()
153 want = us->want; in _UTF8_mbrtowc()
154 lbound = us->lbound; in _UTF8_mbrtowc()
161 if (us->want == 0) in _UTF8_mbrtowc()
164 wch = us->ch; in _UTF8_mbrtowc()
166 for (i = (us->want == 0) ? 1 : 0; i < MIN(want, n); i++) { in _UTF8_mbrtowc()
180 us->want = want - i; in _UTF8_mbrtowc()
[all …]
/titanic_44/usr/src/lib/libast/common/sfio/
H A Dsfgetr.c40 uchar *s, *ends, *us; local
53 us = NIL(uchar*);
62 { us = f->next;
67 { us = rsrv->data;
82 { us = NIL(uchar*);
107 if(!us &&
111 us = f->next;
122 { us = NIL(uchar*);
131 us = rsrv->data;
133 { us = NIL(uchar*);
[all …]
/titanic_44/usr/src/lib/libeti/menu/common/
H A Dmenucursor.c44 WINDOW *us, *uw; in _position_cursor() local
58 us = US(m); in _position_cursor()
59 (void) wmove(us, y, x); in _position_cursor()
61 if (us != uw) { in _position_cursor()
62 wcursyncup(us); in _position_cursor()
63 wsyncup(us); in _position_cursor()
70 (void) untouchwin(us); in _position_cursor()
H A Dshow.c44 WINDOW *us; in _show() local
48 us = US(m); in _show()
49 getmaxyx(us, r, c); in _show()
52 (void) copywin(Sub(m), us, 0, 0, 0, 0, r-1, c-1, FALSE); in _show()
/titanic_44/usr/src/uts/common/inet/udp/
H A Dudp.c364 udp_stack_t *us = udp->udp_us; in udp_get_next_priv_port() local
367 if (next_priv_port < us->us_min_anonpriv_port || in udp_get_next_priv_port()
393 udp_stack_t *us = udp->udp_us; in udp_bind_hash_remove() local
405 lockp = &us->us_bind_fanout[UDP_BIND_HASH(connp->conn_lport, in udp_bind_hash_remove()
406 us->us_bind_fanout_size)].uf_lock; in udp_bind_hash_remove()
768 udp_stack_t *us; in udp_do_disconnect() local
772 us = udp->udp_us; in udp_do_disconnect()
778 udpf = &us->us_bind_fanout[UDP_BIND_HASH(connp->conn_lport, in udp_do_disconnect()
779 us->us_bind_fanout_size)]; in udp_do_disconnect()
1068 udp_stack_t *us = udp->udp_us; in udp_icmp_error_ipv6() local
[all …]
H A Dudp_stats.c76 udp_stack_t *us = connp->conn_netstack->netstack_udp; in udp_snmp_get() local
119 udp_sum_mib(us, &udp_mib); in udp_snmp_get()
485 udp_stack_t *us; in udp_kstat2_update() local
495 us = ns->netstack_udp; in udp_kstat2_update()
496 if (us == NULL) { in udp_kstat2_update()
503 cnt = us->us_sc_cnt; in udp_kstat2_update()
505 udp_add_stats(&us->us_sc[i]->udp_sc_stats, stats); in udp_kstat2_update()
548 udp_sum_mib(udp_stack_t *us, mib2_udp_t *udp_mib) in udp_sum_mib() argument
553 cnt = us->us_sc_cnt; in udp_sum_mib()
555 udp_add_mib(&us->us_sc[i]->udp_sc_mib, udp_mib); in udp_sum_mib()
[all …]
H A Dudp_tunables.c59 udp_stack_t *us = stack->netstack_udp; in udp_smallest_anon_set() local
65 if (new_value > us->us_largest_anon_port) in udp_smallest_anon_set()
77 udp_stack_t *us = stack->netstack_udp; in udp_largest_anon_set() local
83 if (new_value < us->us_smallest_anon_port) in udp_largest_anon_set()
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dutf_str.c50 unicode_strlen(const uint16_t *us) in unicode_strlen() argument
53 while (*us++) in unicode_strlen()
65 convert_unicode_to_utf8(uint16_t *us) in convert_unicode_to_utf8() argument
73 return (convert_ucs2xx_to_utf8(cd1, us)); in convert_unicode_to_utf8()
81 convert_leunicode_to_utf8(unsigned short *us) in convert_leunicode_to_utf8() argument
89 return (convert_ucs2xx_to_utf8(cd2, us)); in convert_leunicode_to_utf8()
93 convert_ucs2xx_to_utf8(iconv_t cd, const uint16_t *us) in convert_ucs2xx_to_utf8() argument
105 iptr = (const char *)us; in convert_ucs2xx_to_utf8()
106 ileft = unicode_strlen(us); in convert_ucs2xx_to_utf8()
/titanic_44/usr/src/uts/common/inet/
H A Dudp_impl.h223 #define UDPS_BUMP_MIB(us, x) \ argument
224 BUMP_MIB(&(us)->us_sc[CPU->cpu_seqid]->udp_sc_mib, x)
226 #define UDP_STAT(us, x) ((us)->us_sc[CPU->cpu_seqid]->udp_sc_stats.x++) argument
227 #define UDP_STAT_UPDATE(us, x, n) \ argument
228 ((us)->us->sc[CPU->cpu_seqid]->udp_sc_stats.x.value.ui64 += (n))
230 #define UDP_DBGSTAT(us, x) UDP_STAT(us, x) argument
232 #define UDP_DBGSTAT(us, x) argument
H A Dtunables.c352 udp_stack_t *us; in mod_set_extra_privports() local
381 us = stack->netstack_udp; in mod_set_extra_privports()
382 lock = &us->us_epriv_port_lock; in mod_set_extra_privports()
383 ports = us->us_epriv_ports; in mod_set_extra_privports()
384 nports = us->us_num_epriv_ports; in mod_set_extra_privports()
470 udp_stack_t *us; in mod_get_extra_privports() local
498 us = stack->netstack_udp; in mod_get_extra_privports()
499 ports = us->us_epriv_ports; in mod_get_extra_privports()
500 nports = us->us_num_epriv_ports; in mod_get_extra_privports()
/titanic_44/usr/src/uts/common/sys/
H A Dsignal.h282 #define sigutok(us, ks) \ argument
283 ((ks)->__sigbits[0] = (us)->__sigbits[0] & (FILLSET0 & ~CANTMASK0), \
284 (ks)->__sigbits[1] = (us)->__sigbits[1] & (FILLSET1 & ~CANTMASK1), \
285 (ks)->__sigbits[2] = (us)->__sigbits[2] & (FILLSET2 & ~CANTMASK2))
286 #define sigktou(ks, us) ((us)->__sigbits[0] = (ks)->__sigbits[0], \ argument
287 (us)->__sigbits[1] = (ks)->__sigbits[1], \
288 (us)->__sigbits[2] = (ks)->__sigbits[2], \
289 (us)->__sigbits[3] = 0)
/titanic_44/usr/src/lib/libast/common/features/
H A Dlimits.c90 unsigned short us; in main() local
120 us = 0; in main()
121 us = ~us; in main()
172 val = us; in main()
181 val = (unsigned short)(us >> 1) + 1; in main()
186 val = (unsigned short)(us >> 1); in main()
190 if (ui == us) in main()
/titanic_44/usr/src/lib/libast/common/stdio/
H A Dfgets.c27 _stdgets(Sfio_t* f, char* us, int n, int isgets) in _stdgets() argument
33 if(n <= 0 || !us || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)) in _stdgets()
39 is = (uchar*)us; in _stdgets()
86 if((_Sfi = is - ((uchar*)us)) <= 0) in _stdgets()
87 us = NIL(char*); in _stdgets()
95 return us; in _stdgets()
/titanic_44/usr/src/cmd/loadkeys/type_101/
H A DMakefile55 us
128 $(ROOTKEYDIR)/layout_00: $(ROOTKEYDIR)/us
129 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@
131 $(ROOTKEYDIR)/layout_01: $(ROOTKEYDIR)/us
132 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@
209 $(ROOTKEYDIR)/layout_3e9: $(ROOTKEYDIR)/us
210 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Diso.multibyte.c91 unsigned char *us = (unsigned char *)s; in _mbtowc_iso() local
119 ch = *us++; in _mbtowc_iso()
125 ch = *us++; in _mbtowc_iso()
130 ch = *us++; in _mbtowc_iso()
140 ch = *us++; in _mbtowc_iso()
171 ch = *us++; in _mbtowc_iso()
222 ch = *us++; in _mbtowc_iso()
297 tch = *us++; in _mbtowc_iso()
313 tch = *us++; in _mbtowc_iso()
329 tch = *us++; in _mbtowc_iso()
[all …]
/titanic_44/usr/src/cmd/sh/
H A Dblok.c214 int us = 0, un = 0; in chkbptr() local
229 us += q - p; in chkbptr()
247 int us = 0, un = 0; in chkmem() local
259 us += q - p; in chkmem()
272 prn(us); in chkmem()
274 prn((uintptr_t)bloktop - (uintptr_t)brkbegin - (un + us)); in chkmem()
/titanic_44/usr/src/lib/libslp/clib/
H A Dslp_utils.c272 unsigned short us, xid; in slp_add_header() local
291 us = (unsigned short) strlen(pcLangTag); in slp_add_header()
292 if ((SLP_HDRLEN + us) > iSendBufSz) in slp_add_header()
301 slp_set_langlen(pcSendBuf, us); in slp_add_header()
302 (void) memcpy(&pcSendBuf[SLP_HDRLEN], pcLangTag, us); in slp_add_header()
304 *piLen = SLP_HDRLEN + us; in slp_add_header()
/titanic_44/usr/src/cmd/loadkeys/type_6/
H A DMakefile28 us belgium czech denmark finnish france canadian_french \
85 $(ROOTKEYDIR)/layout_00: $(ROOTKEYDIR)/us
86 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@
166 $(ROOTKEYDIR)/layout_21: $(ROOTKEYDIR)/us
167 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@
/titanic_44/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.c44 us_to_core_ticks(const struct adapter *adap, unsigned int us) in us_to_core_ticks() argument
46 return ((us * adap->params.vpd.cclk) / 1000); in us_to_core_ticks()
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent_r.c47 char *ng, *ho, *us, *dom; in innetgr_r() local
51 DE_CONST(user, us); in innetgr_r()
54 return (innetgr(ng, ho, us, dom)); in innetgr_r()
/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c552 int us; in fmd_asru_hash_recreate() local
566 us = fmd_fmri_unusable(asru); in fmd_asru_hash_recreate()
567 if (us > 0) in fmd_asru_hash_recreate()
569 else if (us == 0) in fmd_asru_hash_recreate()
1662 int us, st = (alp->al_flags & (FMD_ASRU_FAULTY | FMD_ASRU_UNUSABLE)); in fmd_asru_al_getstate() local
1699 us = fmd_fmri_service_state(asru); in fmd_asru_al_getstate()
1700 if (us == -1 || us == FMD_SERVICE_STATE_UNKNOWN) { in fmd_asru_al_getstate()
1702 us = fmd_fmri_unusable(asru); in fmd_asru_al_getstate()
1703 if (us > 0) in fmd_asru_al_getstate()
1705 else if (us == 0) in fmd_asru_al_getstate()
[all …]
/titanic_44/usr/src/cmd/loadkeys/type_4/
H A DMakefile28 us belgium_france germany swiss_german swiss_french uk \
91 $(ROOTKEYDIR)/layout_00: $(ROOTKEYDIR)/us
92 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@
94 $(ROOTKEYDIR)/layout_01: $(ROOTKEYDIR)/us
95 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@
/titanic_44/usr/src/pkg/manifests/
H A Ddriver-cpu-us.mf32 set name=pkg.fmri value=pkg:/driver/cpu/us@$(PKGVERS)
42 driver name=us \
48 file path=platform/sun4u/kernel/drv/$(ARCH64)/us group=sys
/titanic_44/usr/src/uts/common/io/usb/hcd/
H A DREADME124 This is probably on the optimistic side, only using 2us for the
169 frame. The lower five bits of the current frame number us used as an
227 125 us 1 uframe
232 125 us 7500 bytes (per uframe)
268 transfers will get 80% of the bus time. In one micro-frame or 125us, we
323 * a polling interval greater than or equal to 8us (125us).
334 /* For high speed devices with a polling interval of 4us. */
340 /* For high speed devices with a polling interval of 2us. */
344 /* For high speed devices with a polling interval of 1us. */
384 micro frame (125us). This means same list is revisited 8 times in a frame.
[all …]

123456