/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | multilink.c | 90 int l; in mp_join_bundle() local 119 l = 4 * strlen(peer_authname) + 10; in mp_join_bundle() 120 l += 3 * ho->endpoint.length + 8; in mp_join_bundle() 122 l += 3 * strlen(bundle_name) + 2; in mp_join_bundle() 123 bundle_id = malloc(l); in mp_join_bundle() 330 int i, l; local 378 for (l = 0; l < MAX_ENDP_LEN; ++l) { 389 ep->value[l] = hexc_val(*str++); 391 ep->value[l] = (ep->value[l] << 4) + hexc_val(*str++); 400 if (ep->class == EPD_MAC && l != 6) { [all …]
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_tkip.c | 580 l += r; \ 581 r ^= xswap(l); \ 582 l += r; \ 583 r ^= rotl(l, 3); \ 584 l += r; \ 585 r ^= rotr(l, 2); \ 586 l += r; \ 657 uint32_t l, r; in michael_mic() local 663 l = get_le32(key); in michael_mic() 690 l ^= 0x5a; in michael_mic() [all …]
|
/illumos-gate/usr/src/common/crypto/edonr/ |
H A D | edonr_byteorder.h | 109 uint32_t *s4, h, l; \ 111 : "+r"(s4), "=r"(l), "=r"(h) : "b"(s64)); \ 112 d64 = ((uint64_t)h<<32) | l; \ 117 uint32_t *s4, h, l; \ 118 l = (s64) & 0xfffffffful, h = (s64) >> 32; \ 120 : "+r"(s4) : "r"(l), "r"(h), "b"(d64)); \ 149 uint32_t *s4, h, l; \ 151 : "+r"(s4), "=r"(l), "=r"(h) : "r"(s64)); \ 152 d64 = ((uint64_t)h<<32) | l; \ 156 uint32_t *s4, h, l; \ [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/utf-8/common/binarytables/test/ |
H A D | sb_to_utf8_test.c | 85 ulong_t l; in validate() local 90 l = 0U; \ in validate() 93 l = (l << 8) + ((uint_t)tmp_buf[j]); \ in validate() 94 if (l != tbl[i].u4 ) fprintf(stderr, "%x != %x \n", l, tbl[i].u4 ); \ in validate() 99 l = 0U; \ in validate() 102 l = (l << 8) + ((uint_t)tmp_buf[j]); \ in validate() 103 if (l != tbl[i].u4 ) fprintf(stderr, "%x != %x \n", l, tbl[i].u4 ); \ in validate() 276 unsigned int l, k; in mk_data() local 310 l = strtol(num, (char **)NULL, 16); in mk_data() 312 tbl[k].u4 = l; in mk_data()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dttree.c | 258 Dtlink_t *l, *mid; local 264 l = l->_rght; 266 mid = l->_rght; l->_rght = NIL(Dtlink_t*); 275 Dtlink_t *l, *list; in toptimize() local 279 { for(size = 0, l = list; l; l = l->_rght) in toptimize() 299 LROTATE(l,r); in troot() 300 list->_left = l; in troot() 311 RROTATE(r,l); in troot() 352 RROTATE(t,l); in troot() 464 { llink(l,t); [all …]
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | i86_mmu.c | 240 level_t l; in hat_kern_alloc() local 258 for (l = lpagel; l > 0; l--) { in hat_kern_alloc() 260 psize > LEVEL_SIZE(l)) in hat_kern_alloc() 269 xen_kpm_create(paddr, l); in hat_kern_alloc() 272 l, 1); in hat_kern_alloc() 274 paddr += LEVEL_SIZE(l); in hat_kern_alloc() 275 psize -= LEVEL_SIZE(l); in hat_kern_alloc() 339 for (l = start_level; l < mmu.max_level; ++l) { in hat_kern_alloc() 340 if (va >> LEVEL_SHIFT(l + 1) == in hat_kern_alloc() 341 last_va >> LEVEL_SHIFT(l + 1)) in hat_kern_alloc() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 65 struct dir_entry *list = NULL, *l; in do_readdir() local 154 for (l = list; l != NULL; l = l->next) in do_readdir() 155 trace_prt(0, "%s\n", l->name); in do_readdir() 258 for (l = list; l != NULL && l->offset < offset; l = l->next) in create_dirents() 261 if (l == NULL) { in create_dirents() 284 while (l) { in create_dirents() 285 nl = l->next; in create_dirents() 286 namelen = strlen(l->name); in create_dirents() 291 dp->d_ino = (ino64_t)l->nodeid; in create_dirents() 304 (void) strcpy(dp->d_name, l->name); in create_dirents() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | johap92_to_utf.c | 39 register short h, i, j, l; in _johap92_to_utf8() local 45 for (l = 0, h = MAX_J922U_NUM; l < h; ) in _johap92_to_utf8() 47 i = (l + h) / 2; in _johap92_to_utf8() 50 else if (johap922utf8_tbl[l].code == wcode) in _johap92_to_utf8() 52 i = l; in _johap92_to_utf8() 61 l = i + 1; in _johap92_to_utf8()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | lber-int.h | 225 #define LBER_HTONL( l ) htonl( l ) argument 226 #define LBER_NTOHL( l ) ntohl( l ) argument 234 #define LBER_HTONL( l ) (((long)htonl( (l) & 0x00000000FFFFFFFF )) << 32 \ argument 235 | htonl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 )) 237 #define LBER_NTOHL( l ) (((long)ntohl( (l) & 0x00000000FFFFFFFF )) << 32 \ argument 238 | ntohl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 ))
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | lshiftl.S | 65 sll %o3,%o5,%o2 ! R.h = R.l << (cnt - 32) 67 or %g0,%g0,%o3 ! R.l = 0 70 srl %o3,%o4,%o5 ! temp = R.l >> (31 - cnt) 71 sll %o3,%o1,%o3 ! R.l = R.l << cnt 81 srl %o2,%o5,%o3 ! R.l = R.h >> (cnt - 32) 87 srl %o3,%o4,%o3 ! R.l = R.l >> cnt 90 or %o3,%o5,%o3 ! R.l = R.l | temp
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | expand.c | 221 sl = l; sr = r; in simplify_int_binop() 230 v = l + r; in simplify_int_binop() 235 v = l - r; in simplify_int_binop() 240 v = l & r; in simplify_int_binop() 245 v = l | r; in simplify_int_binop() 250 v = l ^ r; in simplify_int_binop() 258 v = l * r; in simplify_int_binop() 271 v = l / r; in simplify_int_binop() 284 v = l % r; in simplify_int_binop() 289 v = l << r; in simplify_int_binop() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_seq.c | 95 int l = CMD_NONE; in ap_seq_get() local 127 l = CMD_UNASSIGN; in ap_seq_get() 134 l = CMD_CONNECT; in ap_seq_get() 138 l = CMD_RCM_CAP_ADD; in ap_seq_get() 158 l = CMD_UNASSIGN; in ap_seq_get() 162 l = CMD_RCM_CAP_ADD; in ap_seq_get() 175 l = CMD_UNASSIGN; in ap_seq_get() 179 l = CMD_RCM_CAP_ADD; in ap_seq_get() 183 l = CMD_RCM_CAP_NOTIFY; in ap_seq_get() 205 *last = l; in ap_seq_get() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ltablib.c | 186 while (l < u) { /* for tail recursion */ in auxsort() 189 lua_rawgeti(L, 1, l); in auxsort() 192 set2(L, l, u); /* swap a[l] - a[u] */ in auxsort() 195 if (u-l == 1) break; /* only 2 elements */ in auxsort() 196 i = (l+u)/2; in auxsort() 198 lua_rawgeti(L, 1, l); in auxsort() 200 set2(L, i, l); in auxsort() 209 if (u-l == 2) break; /* only 3 elements */ in auxsort() 215 i = l; j = u-1; in auxsort() 238 if (i-l < u-i) { in auxsort() [all …]
|
H A D | lauxlib.h | 36 size_t *l); 38 const char *def, size_t *l); 80 LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup); 97 #define luaL_newlibtable(L,l) \ argument 98 lua_createtable(L, 0, sizeof(l)/sizeof((l)[0]) - 1) 100 #define luaL_newlib(L,l) (luaL_newlibtable(L,l), luaL_setfuncs(L,l,0)) argument 149 LUALIB_API void (luaL_addlstring) (luaL_Buffer *B, const char *s, size_t l); 167 const luaL_Reg *l, int nup); 169 #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) argument
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 184 int l, idx; in xpv_va_walk() local 200 for (l = mmu.max_level; l >= 0; l--) in xpv_va_walk() 208 for (l = mmu.max_level; l >= 0; l--) { in xpv_va_walk() 210 xpv_panic_map(l, pfn); in xpv_va_walk() 211 ptable_pfn[l] = pfn; in xpv_va_walk() 223 idx = (va >> LEVEL_SHIFT(l)) & (xpv_panic_nptes[l] - 1); in xpv_va_walk() 257 pfn = PTE2MFN(pte, l); in xpv_va_walk() 290 if (l > 0) { in xpv_va_walk() 291 if (l > 1) in xpv_va_walk() 659 int l; in xpv_do_panic() local [all …]
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_utils.c | 263 char **l; in __rpc_gss_get_mech_info() local 265 l = calloc(MAX_QOPS_PER_MECH + 1, sizeof (char *)); in __rpc_gss_get_mech_info() 266 if (l == NULL) in __rpc_gss_get_mech_info() 269 if (__gss_get_mech_info(mech, l) != GSS_S_COMPLETE) { in __rpc_gss_get_mech_info() 270 free(l); in __rpc_gss_get_mech_info() 276 return (l); in __rpc_gss_get_mech_info() 296 char **l; in __rpc_gss_is_installed() local 301 if ((l = __rpc_gss_get_mechanisms()) == NULL) in __rpc_gss_is_installed() 304 while (*l != NULL) { in __rpc_gss_is_installed() 305 if (strcmp(*l, mech) == 0) in __rpc_gss_is_installed() [all …]
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | read.c | 133 char *l; in lines() member 156 if ((llines[recno].l = realloc(llines[recno].l, in lines() 160 bcopy(sp, llines[recno].l, llines[recno].len = cnt); in lines() 175 llines[recno].l = sp; in lines() 186 WR(llines[cnt].l, llines[cnt].len); in lines() 189 WR(llines[cnt].l, llines[cnt].len); in lines() 193 WR(llines[cnt].l, llines[cnt].len); in lines() 195 WR(llines[cnt].l, llines[cnt].len); in lines() 199 free(llines[cnt].l); in lines()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | adr.c | 91 int32_t l; /* value for shifting */ in adr_int32() local 94 for (i = 0, l = *lp; i < 4; i++) { in adr_int32() 95 *adr->adr_now++ = (char)((l & (int32_t)0xff000000) >> in adr_int32() 97 l <<= (int)8; in adr_int32() 109 int64_t l; /* value for shifting */ in adr_int64() local 112 for (i = 0, l = *lp; i < 8; i++) { in adr_int64() 114 (char)((l & (int64_t)0xff00000000000000) >> in adr_int64() 116 l <<= (int)8; in adr_int64()
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/ |
H A D | Severity.java | 198 public static Severity severityForLevel(Level l) in severityForLevel() argument 200 if (l instanceof Severity) in severityForLevel() 201 return (Severity)l; in severityForLevel() 203 if (l.intValue() >= Level.SEVERE.intValue()) in severityForLevel() 205 if (l.intValue() >= Level.WARNING.intValue()) in severityForLevel() 207 if (l.intValue() >= Level.INFO.intValue()) in severityForLevel() 209 if (l.intValue() >= Level.CONFIG.intValue()) in severityForLevel() 211 if (l.intValue() >= Level.FINE.intValue()) in severityForLevel()
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | fd_debug.h | 46 #define FDERRPRINT(l, m, args) \ argument 47 { if (((l) >= fderrlevel) && ((m) & fderrmask)) cmn_err args; } 48 #define FCERRPRINT(l, m, args) \ argument 49 { if (((l) >= fcerrlevel) && ((m) & fcerrmask)) cmn_err args; } 51 #define FDERRPRINT(l, m, args) { } 52 #define FCERRPRINT(l, m, args) { }
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fd_debug.h | 45 #define FDERRPRINT(l, m, args) \ argument 46 { if (((l) >= fderrlevel) && ((m) & fderrmask)) cmn_err args; } 47 #define FCERRPRINT(l, m, args) \ argument 48 { if (((l) >= fcerrlevel) && ((m) & fcerrmask)) cmn_err args; } 50 #define FDERRPRINT(l, m, args) { } 51 #define FCERRPRINT(l, m, args) { }
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | nstoa.c | 171 int l = 0; local 186 len += l; 377 x_atos(s, a, l) in x_atos() argument 379 unsigned l; 384 while (l--) { 402 unsigned l; 408 if (l == 0) { 415 i = l % 3; 419 while (l) 424 --l; [all …]
|
/illumos-gate/usr/src/cmd/lgrpinfo/ |
H A D | lgrpinfo.pl | 136 my @lgrps = nsort($l->lgrps); 137 my $root = $l->root; 226 map { $self_latencies{$_} = $l->latency($_, $_) } @lgrps; 230 lgrp_prettyprint($l); 246 my $is_leaf = $l->isleaf($lgrp); 255 my @children = $l->children($lgrp); 260 my @parents = $l->parents($lgrp); 475 my $is_interm = ($lgrp != $root && !$l->isleaf($lgrp)); 511 my @cpus = $l->cpus($lgrp, $hier); 629 my $width = length($l->latency($root, $root)) + 1; [all …]
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | end.c | 87 register Memlist *l; in elf_end() local 90 for (l = elf->ed_memlist; l != NULL; in elf_end() 91 l = (Memlist *)trail) { in elf_end() 92 trail = (Elf_Void *)l->m_next; in elf_end() 93 for (i = (Memident *)(l + 1); i < l->m_free; in elf_end() 96 free(l); in elf_end()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_sc.c | 137 uint64_t l; in sc_configure() local 159 l = 0; in sc_configure() 162 l |= COMMON_SC_CTRL_ENABLE; in sc_configure() 164 l |= COMMON_SC_CTRL_RR__DISABLE; in sc_configure() 166 l |= COMMON_SC_CTRL_LRU_LE; in sc_configure() 171 l |= pci_sc_configure(sc_p->sc_pci_p); in sc_configure() 174 "sc_configure: writing %x to sc csr\n", l); in sc_configure() 175 *sc_p->sc_ctrl_reg = l; in sc_configure()
|