/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strlcat.c | 45 size_t l1; local 51 l1 = df - dst; 52 if (dstsize == l1) 53 return (l1 + l2); 55 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; 56 (void) memcpy(dst + l1, src, copied); 57 dst[l1+copied] = '\0'; 58 return (l1 + l2);
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp_api.t | 229 foreach my $l1 (@lgrps) { 231 $latencies->{$l1}{$l2} = $c->latency($l1, $l2); 232 $nlatencies++ if $latencies->{$l1}{$l2}; 252 foreach my $l1 (@lgrps) { 253 $l_cpus{$l1} = scalar $c->cpus($l1, LGRP_CONTENT_HIERARCHY); 254 $l_mem{$l1} = $c->mem_size($l1, LGRP_MEM_SZ_INSTALLED, 256 $lgrps_nomem++ unless $l_mem{$l1}; [all...] |
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_subr.c | 90 size_t l1; local 96 l1 = df - dst; 97 if (dstsize == l1) 98 return (l1 + l2); 100 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; 101 bcopy(src, dst + l1, copied); 102 dst[l1+copied] = '\0'; 103 return (l1 + l2);
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_l1.c | 128 atge_l1_data_t *l1; local 132 l1 = kmem_zalloc(sizeof (atge_l1_data_t), KM_SLEEP); 133 atgep->atge_private_data = l1; 168 l1->atge_rx_ring = kmem_alloc(sizeof (atge_ring_t), KM_SLEEP); 169 l1->atge_rx_ring->r_atge = atgep; 170 l1->atge_rx_ring->r_desc_ring = NULL; 178 l1->atge_rx_ring->r_desc_ring = dma; 183 err = atge_alloc_buffers(l1->atge_rx_ring, L1_RX_RING_CNT, 199 l1->atge_l1_cmb = dma; 213 l1 242 atge_l1_data_t *l1; local 301 atge_l1_data_t *l1; local 339 atge_l1_data_t *l1; local 353 atge_l1_data_t *l1; local 365 atge_l1_data_t *l1; local 377 atge_l1_data_t *l1; local 395 atge_l1_data_t *l1; local 452 atge_l1_data_t *l1; local 628 atge_l1_data_t *l1; local 813 atge_l1_data_t *l1; local [all...] |
/illumos-gate/usr/src/uts/common/sys/tsol/ |
H A D | label_macro.h | 118 #define _MEQUAL(l1, l2) \ 119 (LCLASS(l1) == LCLASS(l2) && \ 120 (l1)->_comps.c1 == (l2)->_comps.c1 && \ 121 (l1)->_comps.c2 == (l2)->_comps.c2 && \ 122 (l1)->_comps.c3 == (l2)->_comps.c3 && \ 123 (l1)->_comps.c4 == (l2)->_comps.c4 && \ 124 (l1)->_comps.c5 == (l2)->_comps.c5 && \ 125 (l1)->_comps.c6 == (l2)->_comps.c6 && \ 126 (l1)->_comps.c7 == (l2)->_comps.c7 && \ 127 (l1) [all...] |
/illumos-gate/usr/src/common/crypto/sha1/sparc/sun4u/ |
H A D | sha1_asm.s | 159 and %o1, %o2, %l1 167 xor %l1, %l4, %l1 174 add %l0, %l1, %l0 175 add %o4, %g1, %l1 179 add %l0, %l1, %l0 187 and %o0, %o1, %l1 195 xor %l1, %l4, %l1 203 add %l0, %l1, [all...] |
/illumos-gate/usr/src/uts/common/des/ |
H A D | des_soft.c | 225 uint32_t l0, l1, w; local 236 l0 = l1 = 0; 244 l1 |= longtab[pbit-32]; 254 l1 |= longtab[pbit-32]; 258 work2.long1 = l1; 269 e1 op p->l1; \ 276 e1 op p->l1; \ 329 u_int r0, l0, r1, l1; local 333 cipher(0, r0, l0, r1, l1); 334 cipher(1, r1, l1, r 359 uint32_t l0, l1, w; local [all...] |
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strlcpy.s | 68 ldub [%i3 + %g4], %l1 ! l1 = src[] 69 andcc %l1, 0xff, %g0 ! null byte reached? 70 stub %l1, [%i2 + %g4] ! dst[] = src[] 89 ld [%i3 + %g4], %l1 ! l1 = src[] 92 andn %i5, %l1, %g1 ! ~word & 0x80808080 93 sub %l1, %i4, %l0 ! word - 0x01010101 96 st %l1, [%i2 + %g4] ! dst[] = src[] 100 srl %l1, 2 [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_acl.h | 76 #define DPRINT(l1, cl, al) if ((cl & l1) != 0) printf al 78 #define DPRINT(l1, cl, al) 80 #define DLOG(l1, cl, msg) if ((cl & l1) != 0) \
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | vartree2.sh | 54 typeset -A dest_tree.l1 70 if [[ "${dest_tree.l1["$a"]}" == "" ]] ; then 71 #if ! (unset dest_tree.l1["$a"]) ; then 72 typeset -A dest_tree.l1["$a"].l2 75 if [[ "${dest_tree.l1["$a"].l2["$b"]}" == "" ]] ; then 76 #if ! (unset dest_tree.l1["$a"].l2["$b"]) ; then 77 typeset -A dest_tree.l1["$a"].l2["$b"].l3 80 if [[ "${!dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[*]}" == "" ]] ; then 81 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries 86 new_index=$(( ${#dest_tree.l1[" [all...] |
H A D | sun_solaris_vartree001.sh | 79 typeset -A dest_tree.l1 95 if [[ "${dest_tree.l1["$a"]}" == "" ]] ; then 96 #if ! (unset dest_tree.l1["$a"]) ; then 97 typeset -A dest_tree.l1["$a"].l2 100 if [[ "${dest_tree.l1["$a"].l2["$b"]}" == "" ]] ; then 101 #if ! (unset dest_tree.l1["$a"].l2["$b"]) ; then 102 typeset -A dest_tree.l1["$a"].l2["$b"].l3 105 if [[ "${!dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[*]}" == "" ]] ; then 106 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries 109 #dest_tree.l1[" [all...] |
H A D | sun_solaris_vartree002.sh | 64 typeset -A dest_tree.l1 80 if [[ "${dest_tree.l1["$a"]}" == "" ]] ; then 81 #if ! (unset dest_tree.l1["$a"]) ; then 82 typeset -A dest_tree.l1["$a"].l2 85 if [[ "${dest_tree.l1["$a"].l2["$b"]}" == "" ]] ; then 86 #if ! (unset dest_tree.l1["$a"].l2["$b"]) ; then 87 typeset -A dest_tree.l1["$a"].l2["$b"].l3 90 if [[ "${!dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[*]}" == "" ]] ; then 91 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries 96 new_index=$(( ${#dest_tree.l1[" [all...] |
H A D | vartree1.sh | 49 typeset -A dest_tree.l1 65 if [[ "${dest_tree.l1["$a"]}" == "" ]] ; then 66 #if ! (unset dest_tree.l1["$a"]) ; then 67 typeset -A dest_tree.l1["$a"].l2 70 if [[ "${dest_tree.l1["$a"].l2["$b"]}" == "" ]] ; then 71 #if ! (unset dest_tree.l1["$a"].l2["$b"]) ; then 72 typeset -A dest_tree.l1["$a"].l2["$b"].l3 75 if [[ "${!dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[*]}" == "" ]] ; then 76 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries 79 #dest_tree.l1[" [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getserv.c | 73 int res, l1, l2; local 84 l1 = strlen(e1->key.serv.proto); 87 (l1 > l2)?l1:l2); 95 l1 = strlen(e1->key.serv.serv.name); 98 (l1 > l2)?l1:l2); 119 int res, l1, l2; local 130 l1 = strlen(e1->key.serv.proto); 133 (l1 > l [all...] |
H A D | gethost.c | 86 int res, l1, l2; local 90 l1 = e1->key.hostaddr.len; 93 (l2 > l1)?l1:l2); 94 return ((res) ? _NSC_INT_KEY_CMP(res, 0) : _NSC_INT_KEY_CMP(l1, l2));
|
H A D | getnode.c | 81 int res, l1, l2; local 91 l1 = e1->key.hostaddr.len; 94 (l2 > l1)?l1:l2); 95 return ((res) ? _NSC_INT_KEY_CMP(res, 0) : _NSC_INT_KEY_CMP(l1, l2)); 121 int res, l1, l2; local 131 l1 = strlen(e1->key.ipnode.name); 134 (l1 > l2)?l1:l2);
|
H A D | gettnrhdb.c | 72 int res, l1, l2; local 82 l1 = strlen(e1->key.hostaddr.addr); 85 (l1 > l2)?l1:l2);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_tran.c | 92 size_t l1, l2; local 94 l1 = SA_LEN(a1); 97 if (l1 != l2) 100 return (bcmp(a1, a2, l1));
|
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | des_soft.c | 277 uint32_t l0, l1, w; local 288 l0 = l1 = 0; 296 l1 |= longtab[pbit-32]; 306 l1 |= longtab[pbit-32]; 310 work2.long1 = l1; 319 e1 op p->l1; \ 371 uint32_t r0, l0, r1, l1; local 375 cipher(0, r0, l0, r1, l1); 376 cipher(1, r1, l1, r0, l0); 377 cipher(2, r0, l0, r1, l1); 401 uint32_t l0, l1, w; local [all...] |
/illumos-gate/usr/src/uts/sun4/brand/common/ |
H A D | brand_solaris.s | 138 stn %l1, [%g2 + CPU_TMP2]; 166 mov %g1, %l1; /* delay slot - grab syscall number */ 191 rdpr %tstate, %l1; /* %tstate.am is the trapping */ 192 andcc %l1, TSTATE_AM, %l1; /* threads address mask bit */ 202 mov %o0, %l1; /* delay slot - grab syscall number */ 220 * nothing happened. %l1 contains the syscall we're invoking. 224 add %g3, %l1, %g3; 265 rdpr %tnpc, %l1; /* save old tnpc */ 268 mov %l1, [all...] |
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | misc.c | 77 size_t l1; local 83 l1 = df - dst; 84 if (dstsize == l1) 85 return (l1 + l2); 87 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; 88 (void) memcpy(dst + l1, src, copied); 89 dst[l1+copied] = '\0'; 90 return (l1 + l2);
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strlcpy.s | 71 ldub [%i3 + %g4], %l1 ! src[] 72 andcc %l1, 0xff, %g0 ! end of src reached (null byte) ? 73 stub %l1, [%i2 + %g4] ! dst[] = src[] 87 sllx %i4, 32, %l1 ! spread magic1 89 or %i4, %l1, %i4 ! to all 64 bits 103 ldx [%i3 + %g4], %l1 ! src dword 106 andn %i5, %l1, %g1 ! ~dword & 0x8080808080808080 107 sub %l1, %i4, %l0 ! dword - 0x0101010101010101 110 stx %l1, [%i2 + %g4] ! store word to dst (address pre-incremented) 119 srlx %l1, 5 [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | boot.s | 149 ld [%fp + 64], %l1 ! get argument count 150 inc %l1 ! account for last element of 0 151 sll %l1, 2, %l1 ! multiply by 4 152 add %l0, %l1, %l0 ! and get address of first env ptr 154 set EB_ENVP, %l1 ! code for environment base 155 st %l1, [%o0 + 8] ! store it 156 set EB_AUXV, %l1 ! get code for auxiliary vector 157 st %l1, [%o0 + 16] ! store it 159 ld [%l0], %l1 ! ge [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_invoke.s | 96 setx copyargsend, %l1, %l0 114 add %sp, STACK_BIAS+MINFRAME, %l1 ! %l1 is base of stack reg save 123 stx %l2, [%l1 + %i1] 142 mov %g7, %l1 149 mov %l1, %g7
|
/illumos-gate/usr/src/cmd/tsol/tninfo/ |
H A D | tninfo.c | 104 const m_label_t *l1, *l2; local 160 l1 = (const m_label_t *)&tp.tp_gw_sl_set[0]; 162 for (i = 0; l1 < l2; l1++, i++) { 163 if (label_to_str(l1, &str2, M_INTERNAL, 166 l_to_str(l1, &str, M_LABEL); 199 l1 = (const m_label_t *)&tp.tp_sl_set_cipso[0]; 201 for (i = 0; l1 < l2; l1++, i++) { 202 if (label_to_str(l1, [all...] |