/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | cbcp.c | 107 cbcp_state *us; local 109 us = &cbcp[unit]; 111 us->us_unit = unit; 163 us->us_id = id; 173 if (id != us->us_id) { 176 us->us_id); 319 cbcp_state *us; in cbcp_recvreq() 377 cb_type = us->us_allowed & us->us_type; 387 BCOPY(us->us_number, bufp, strlen(us->us_number) + 1); 422 cbcp_state *us; in cbcp_send() [all …]
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | utf8.c | 74 _UTF8State *us; in _UTF8_mbrtowc() local 80 if (us->want < 0 || us->want > 6) { in _UTF8_mbrtowc() 95 if (us->want == 0) { in _UTF8_mbrtowc() 151 want = us->want; in _UTF8_mbrtowc() 159 if (us->want == 0) in _UTF8_mbrtowc() 162 wch = us->ch; in _UTF8_mbrtowc() 180 us->ch = wch; in _UTF8_mbrtowc() 192 us->want = 0; in _UTF8_mbrtowc() 204 _UTF8State *us; in _UTF8_mbsnrtowcs() local 286 _UTF8State *us; in _UTF8_wcrtomb() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfgetr.c | 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; 139 s = us+un; 150 { us[un-1] = '\0'; [all …]
|
/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | menucursor.c | 42 WINDOW *us, *uw; in _position_cursor() local 56 us = US(m); in _position_cursor() 57 (void) wmove(us, y, x); in _position_cursor() 59 if (us != uw) { in _position_cursor() 60 wcursyncup(us); in _position_cursor() 61 wsyncup(us); in _position_cursor() 68 (void) untouchwin(us); in _position_cursor()
|
H A D | show.c | 42 WINDOW *us; in _show() local 46 us = US(m); in _show() 47 getmaxyx(us, r, c); in _show() 50 (void) copywin(Sub(m), us, 0, 0, 0, 0, r-1, c-1, FALSE); in _show()
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 851 udp_stack_t *us; in udp_do_disconnect() local 855 us = udp->udp_us; in udp_do_disconnect() 4506 udp_stack_t *us; in udp_stack_init() local 4512 us = (udp_stack_t *)kmem_zalloc(sizeof (*us), KM_SLEEP); in udp_stack_init() 4537 us->us_bind_fanout = kmem_zalloc(us->us_bind_fanout_size * in udp_stack_init() 4566 return (us); in udp_stack_init() 4582 kmem_free(us->us_bind_fanout, us->us_bind_fanout_size * in udp_stack_fini() 4603 kmem_free(us, sizeof (*us)); in udp_stack_fini() 4684 udp_stack_t *us; in udp_do_open() local 4802 udp_stack_t *us; in udp_create() local [all …]
|
H A D | udp_stats.c | 138 udp_sum_mib(us, &udp_mib); in udp_snmp_get() 558 udp_stack_t *us; in udp_kstat2_update() local 568 us = ns->netstack_udp; in udp_kstat2_update() 569 if (us == NULL) { in udp_kstat2_update() 576 cnt = us->us_sc_cnt; in udp_kstat2_update() 621 udp_sum_mib(udp_stack_t *us, mib2_udp_t *udp_mib) in udp_sum_mib() argument 626 cnt = us->us_sc_cnt; in udp_sum_mib() 637 udp_stack_t *us; in udp_kstat_update() local 646 us = ns->netstack_udp; in udp_kstat_update() 647 if (us == NULL) { in udp_kstat_update() [all …]
|
H A D | udp_tunables.c | 59 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()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | utf_str.c | 50 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()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | udp_impl.h | 228 #define UDPS_BUMP_MIB(us, x) \ argument 229 BUMP_MIB(&(us)->us_sc[CPU->cpu_seqid]->udp_sc_mib, x) 231 #define UDP_STAT(us, x) ((us)->us_sc[CPU->cpu_seqid]->udp_sc_stats.x++) argument 232 #define UDP_STAT_UPDATE(us, x, n) \ argument 233 ((us)->us->sc[CPU->cpu_seqid]->udp_sc_stats.x.value.ui64 += (n)) 235 #define UDP_DBGSTAT(us, x) UDP_STAT(us, x) argument 237 #define UDP_DBGSTAT(us, x) argument
|
H A D | tunables.c | 352 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()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | signal.h | 278 #define sigutok(us, ks) \ argument 279 ((ks)->__sigbits[0] = (us)->__sigbits[0] & (FILLSET0 & ~CANTMASK0), \ 280 (ks)->__sigbits[1] = (us)->__sigbits[1] & (FILLSET1 & ~CANTMASK1), \ 281 (ks)->__sigbits[2] = (us)->__sigbits[2] & (FILLSET2 & ~CANTMASK2)) 282 #define sigktou(ks, us) ((us)->__sigbits[0] = (ks)->__sigbits[0], \ argument 283 (us)->__sigbits[1] = (ks)->__sigbits[1], \ 284 (us)->__sigbits[2] = (ks)->__sigbits[2], \ 285 (us)->__sigbits[3] = 0)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | limits.c | 90 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | fgets.c | 27 _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()
|
/illumos-gate/usr/src/cmd/loadkeys/type_101/ |
H A D | Makefile | 55 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 $@
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | nocast.c | 93 unsigned short us = 1; in implicit_assign_to() local 98 t = us; in implicit_assign_to() 106 unsigned short us = 1; in bad_implicit_arg_to() local 111 use_val(us); in bad_implicit_arg_to()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | blok.c | 214 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()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_utils.c | 270 unsigned short us, xid; in slp_add_header() local 289 us = (unsigned short) strlen(pcLangTag); in slp_add_header() 290 if ((SLP_HDRLEN + us) > iSendBufSz) in slp_add_header() 299 slp_set_langlen(pcSendBuf, us); in slp_add_header() 300 (void) memcpy(&pcSendBuf[SLP_HDRLEN], pcLangTag, us); in slp_add_header() 302 *piLen = SLP_HDRLEN + us; in slp_add_header()
|
/illumos-gate/usr/src/cmd/loadkeys/type_6/ |
H A D | Makefile | 28 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 $@
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 552 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() 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() 1735 int us, st, p = -1; in fmd_asru_getstate() local 1768 if (us > 0) in fmd_asru_getstate() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getnetgrent_r.c | 43 char *ng, *ho, *us, *dom; in innetgr_r() local 47 DE_CONST(user, us); in innetgr_r() 50 return (innetgr(ng, ho, us, dom)); in innetgr_r()
|
/illumos-gate/usr/src/cmd/loadkeys/type_4/ |
H A D | Makefile | 28 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 $@
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | common.c | 59 unsigned int us) in us_to_core_ticks() 61 return (us * adap->params.vpd.cclk) / 1000; in us_to_core_ticks()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ |
H A D | README | 124 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 …]
|
/illumos-gate/usr/src/cmd/eqn/eqnchar.d/ |
H A D | ascii | 4 |030 can|031 em |032 sub|033 esc|034 fs |035 gs |036 rs |037 us | 22 | 18 can| 19 em | 1a sub| 1b esc| 1c fs | 1d gs | 1e rs | 1f us |
|