Searched defs:us (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Ddelay.c35 Delay(int us) argument
40 later = (now + us / 25 + 1) & AT91C_ST_CRTV;
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dmenucursor.c44 WINDOW *us, *uw; local
58 us = US(m);
59 (void) wmove(us, y, x);
61 if (us != uw) {
62 wcursyncup(us);
63 wsyncup(us);
70 (void) untouchwin(us);
H A Dshow.c44 WINDOW *us; local
48 us = US(m);
49 getmaxyx(us, r, c);
52 (void) copywin(Sub(m), us, 0, 0, 0, 0, r-1, c-1, FALSE); local
/illumos-gate/usr/src/lib/libast/common/features/
H A Dlimits.c90 unsigned short us; local
120 us = 0;
121 us = ~us;
172 val = us;
181 val = (unsigned short)(us >> 1) + 1;
186 val = (unsigned short)(us >> 1);
190 if (ui == us)
/illumos-gate/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
[all...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfgets.c27 _stdgets(Sfio_t* f, char* us, int n, int isgets) argument
33 if(n <= 0 || !us || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0))
39 is = (uchar*)us;
86 if((_Sfi = is - ((uchar*)us)) <= 0)
87 us = NIL(char*);
95 return us;
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_tunables.c59 udp_stack_t *us = stack->netstack_udp; local
65 if (new_value > us->us_largest_anon_port)
77 udp_stack_t *us = stack->netstack_udp; local
83 if (new_value < us->us_smallest_anon_port)
H A Dudp_stats.c48 * information that can be changing beneath us.
76 udp_stack_t *us = connp->conn_netstack->netstack_udp; local
119 udp_sum_mib(us, &udp_mib);
485 udp_stack_t *us; local
495 us = ns->netstack_udp;
496 if (us == NULL) {
503 cnt = us->us_sc_cnt;
505 udp_add_stats(&us->us_sc[i]->udp_sc_stats, stats);
548 udp_sum_mib(udp_stack_t *us, mib2_udp_t *udp_mib) argument
553 cnt = us
564 udp_stack_t *us; local
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.c44 us_to_core_ticks(const struct adapter *adap, unsigned int us) argument
46 return ((us * adap->params.vpd.cclk) / 1000);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dutf_str.c50 unicode_strlen(const uint16_t *us) argument
53 while (*us++)
65 convert_unicode_to_utf8(uint16_t *us) argument
73 return (convert_ucs2xx_to_utf8(cd1, us));
81 convert_leunicode_to_utf8(unsigned short *us) argument
89 return (convert_ucs2xx_to_utf8(cd2, us));
93 convert_ucs2xx_to_utf8(iconv_t cd, const uint16_t *us) argument
105 iptr = (const char *)us;
106 ileft = unicode_strlen(us);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent_r.c47 char *ng, *ho, *us, *dom; local
51 DE_CONST(user, us);
54 return (innetgr(ng, ho, us, dom));
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dutf8.c80 _UTF8State *us; local
84 us = (_UTF8State *)ps;
86 if (us->want < 0 || us->want > 6) {
101 if (us->want == 0) {
153 want = us->want;
154 lbound = us->lbound;
161 if (us->want == 0)
164 wch = us->ch;
166 for (i = (us
202 _UTF8State *us; local
283 _UTF8State *us; local
350 _UTF8State *us; local
[all...]
/illumos-gate/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
148 cbcp_state *us = &cbcp[unit]; local
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dblok.c214 int us = 0, un = 0; local
229 us += q - p;
247 int us = 0, un = 0; local
259 us += q - p;
272 prn(us);
274 prn((uintptr_t)bloktop - (uintptr_t)brkbegin - (un + us));
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Diso.multibyte.c91 unsigned char *us = (unsigned char *)s; local
119 ch = *us++;
125 ch = *us++;
130 ch = *us++;
140 ch = *us++;
171 ch = *us++;
222 ch = *us++;
297 tch = *us++;
313 tch = *us++;
329 tch = *us
417 unsigned char *us = (unsigned char *)s; local
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A Dtunables.c352 udp_stack_t *us; local
381 us = stack->netstack_udp;
382 lock = &us->us_epriv_port_lock;
383 ports = us->us_epriv_ports;
384 nports = us->us_num_epriv_ports;
470 udp_stack_t *us; local
498 us = stack->netstack_udp;
499 ports = us->us_epriv_ports;
500 nports = us->us_num_epriv_ports;
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utils.c272 unsigned short us, xid; local
291 us = (unsigned short) strlen(pcLangTag);
292 if ((SLP_HDRLEN + us) > iSendBufSz)
301 slp_set_langlen(pcSendBuf, us);
302 (void) memcpy(&pcSendBuf[SLP_HDRLEN], pcLangTag, us);
304 *piLen = SLP_HDRLEN + us;
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_opt_data.c1240 struct sctp_uc_swap *us; local
1245 us = (struct sctp_uc_swap *)invalp;
1246 sctp->sctp_ulpd = us->sus_handle;
1247 sctp->sctp_upcalls = us->sus_upcalls;
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp_dlpi.c1078 sppp_dlphyreq(queue_t *q, mblk_t *mp, spppstr_t *us) argument
1222 * us that the promiscous stream has been bound to PPP_ALLSAP.
/illumos-gate/usr/src/lib/libast/common/misc/
H A Derror.c371 struct tms us; local
482 if ((d = times(&us)) < error_info.time || error_info.time == 1)
484 sfprintf(stkstd, " %05lu.%05lu.%05lu ", d - error_info.time, (unsigned long)us.tms_utime, (unsigned long)us.tms_stime);
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_ev.c406 __in unsigned int us)
414 if (us > encp->enc_evq_timer_max_us) {
420 if (us == 0) {
425 timer_val = us * 1000 / encp->enc_evq_timer_quantum_ns;
404 ef10_ev_qmoderate( __in efx_evq_t *eep, __in unsigned int us) argument
H A Defx_ev.c96 __in unsigned int us);
396 __in unsigned int us)
404 if ((rc = eevop->eevo_qmoderate(eep, us)) != 0)
1193 __in unsigned int us)
1201 if (us > encp->enc_evq_timer_max_us) {
1207 if (us == 0) {
1215 timer_val = us * 1000 / encp->enc_evq_timer_quantum_ns;
394 efx_ev_qmoderate( __in efx_evq_t *eep, __in unsigned int us) argument
1191 siena_ev_qmoderate( __in efx_evq_t *eep, __in unsigned int us) argument
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_gld_v3.c578 unsigned int us; local
580 sfxge_ev_moderation_get(sp, &us);
582 val = (long)us;
H A Dsfxge_ev.c993 sfxge_ev_qmoderate(sfxge_t *sp, unsigned int index, unsigned int us) argument
1000 return (efx_ev_qmoderate(eep, us));
1278 sfxge_ev_moderation_set(sfxge_t *sp, unsigned int us) argument
1288 if ((rc = sfxge_ev_qmoderate(sp, index, us)) != 0)
1292 sp->s_ev_moderation = us;
/illumos-gate/usr/src/uts/sun4/os/
H A Dvisinstr.c1614 ushort_t us; local
1667 if (fuword16((void *)ea, &us) == -1)
1670 k.s[3] = us;
1674 us = k.s[3];
1675 if (suword16((caddr_t)ea, us) == -1)
1684 if (fuword16((void *)ea, &us) == -1)
1687 k.c[6] = (uchar_t)us;
1688 k.c[7] = (uchar_t)((us & 0xff00) >> 8);
1693 us = (ushort_t)((uc << 8) | k.c[6]);
1694 if (suword16((void *)ea, us)
[all...]

Completed in 84 milliseconds

12