Home
last modified time | relevance | path

Searched refs:l2 (Results 1 – 25 of 155) sorted by relevance

1234567

/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dl2_packet.c27 link_init(struct l2_packet_data *l2) in link_init() argument
33 retval = dlpi_bind(l2->dh, DLPI_ANY_SAP, NULL); in link_init()
36 l2->ifname, dlpi_strerror(retval)); in link_init()
40 retval = dlpi_promiscon(l2->dh, DL_PROMISC_SAP); in link_init()
44 l2->ifname, dlpi_strerror(retval)); in link_init()
48 retval = dlpi_get_physaddr(l2->dh, DL_CURR_PHYS_ADDR, paddr, &paddrlen); in link_init()
51 l2->ifname, dlpi_strerror(retval)); in link_init()
54 if (paddrlen != sizeof (l2->own_addr)) { in link_init()
56 l2->ifname, sizeof (l2->own_addr)); in link_init()
59 (void) memcpy(l2->own_addr, paddr, sizeof (l2->own_addr)); in link_init()
[all …]
/titanic_44/usr/src/uts/common/sys/tsol/
H A Dlabel_macro.h118 #define _MEQUAL(l1, l2) \ argument
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)->_comps.c8 == (l2)->_comps.c8)
[all …]
/titanic_44/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c128 char *str2, *l1, *l2, *tok, *name; in pkcs11_parse_uri() local
155 name = strtok_r(tok, "=", &l2); in pkcs11_parse_uri()
157 if (l2 == NULL) in pkcs11_parse_uri()
168 if (strlen(l2) > 32) in pkcs11_parse_uri()
170 if ((uri->token = (unsigned char *)strdup(l2)) == NULL) in pkcs11_parse_uri()
176 if (strlen(l2) > 32) in pkcs11_parse_uri()
178 if ((uri->manuf = (unsigned char *)strdup(l2)) == NULL) in pkcs11_parse_uri()
184 if (strlen(l2) > 16) in pkcs11_parse_uri()
186 if ((uri->serial = (unsigned char *)strdup(l2)) == NULL) in pkcs11_parse_uri()
192 if (strlen(l2) > 16) in pkcs11_parse_uri()
[all …]
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp_api.t230 foreach my $l2 (@lgrps) {
231 $latencies->{$l1}{$l2} = $c->latency($l1, $l2);
232 $nlatencies++ if $latencies->{$l1}{$l2};
267 foreach my $l2 (@lgrps) {
269 next unless $l_mem{$l2};
271 if (! $latencies->{$l1}{$l2}) {
273 diag("Invalid latency between $l1 and $l2");
277 $max_latency = $latencies->{$l1}{$l2} if
278 $latencies->{$l1}{$l2} > $max_latency;
279 $min_latency = $latencies->{$l1}{$l2} if
[all …]
/titanic_44/usr/src/cmd/sgs/rtld/sparc/
H A Dboot_elf.s245 ld [%l1 + SBFLAGS_OFF], %l2 ! l2 = sb_flags
246 andcc %l2, LA_SYMB_NOPLTENTER, %g0
338 ld [%l7 + audit_argcnt], %l2
339 ld [%l2], %l2 ! %l2 = audit_arg_count
340 cmp %l2, 6
342 sub %l2, 6, %l2
343 sll %l2, 2, %l2
344 cmp %l1, %l2
347 mov %l2, %l1
358 mov 0x5c, %l2 ! %l2 = index into stack & frame
[all …]
/titanic_44/usr/src/common/crypto/sha1/sparc/sun4u/
H A Dsha1_asm.s160 ld [%i1 + (0 * 4)], %l2
182 add %l0, %l2, %o5
188 ld [%i1 + (1 * 4)], %l2
211 add %l0, %l2, %o4
217 ld [%i1 + (2 * 4)], %l2
241 add %l0, %l2, %o3
246 ld [%i1 + (3 * 4)], %l2
269 add %l0, %l2, %o2
274 ld [%i1 + (4 * 4)], %l2
297 add %l0, %l2, %o1
[all …]
/titanic_44/usr/src/cmd/nscd/
H A Dgetserv.c73 int res, l1, l2; in servname_compar() local
85 l2 = strlen(e2->key.serv.proto); in servname_compar()
87 (l1 > l2)?l1:l2); in servname_compar()
96 l2 = strlen(e2->key.serv.serv.name); in servname_compar()
98 (l1 > l2)?l1:l2); in servname_compar()
119 int res, l1, l2; in servport_compar() local
131 l2 = strlen(e2->key.serv.proto); in servport_compar()
133 (l1 > l2)?l1:l2); in servport_compar()
H A Dgetnode.c81 int res, l1, l2; in ipaddr_compar() local
92 l2 = e2->key.hostaddr.len; in ipaddr_compar()
94 (l2 > l1)?l1:l2); in ipaddr_compar()
95 return ((res) ? _NSC_INT_KEY_CMP(res, 0) : _NSC_INT_KEY_CMP(l1, l2)); in ipaddr_compar()
121 int res, l1, l2; in ipname_compar() local
132 l2 = strlen(e2->key.ipnode.name); in ipname_compar()
134 (l1 > l2)?l1:l2); in ipname_compar()
H A Dgethost.c86 int res, l1, l2; in hostaddr_compar() local
91 l2 = e2->key.hostaddr.len; in hostaddr_compar()
93 (l2 > l1)?l1:l2); in hostaddr_compar()
94 return ((res) ? _NSC_INT_KEY_CMP(res, 0) : _NSC_INT_KEY_CMP(l1, l2)); in hostaddr_compar()
H A Dgettnrhdb.c72 int res, l1, l2; in tsol_rh_compar() local
83 l2 = strlen(e2->key.hostaddr.addr); in tsol_rh_compar()
85 (l1 > l2)?l1:l2); in tsol_rh_compar()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dstrlcat.c46 size_t l2 = strlen(src); in strlcat() local
53 return (l1 + l2); in strlcat()
55 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat()
58 return (l1 + l2); in strlcat()
/titanic_44/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_vartree002.sh82 typeset -A dest_tree.l1["$a"].l2
87 typeset -A dest_tree.l1["$a"].l2["$b"].l3
91 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries
106 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
149 typeset -A dest_tree.l1["$a"].l2
153 …if ! ([[ -v dest_tree.l1["$a"].l2["$b"] ]] ; res=$? ; unset dest_tree.l1["$a"].l2["$b"] ; exit $re…
154 typeset -A dest_tree.l1["$a"].l2["$b"].l3
158 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries
173 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
H A Dvartree2.sh72 typeset -A dest_tree.l1["$a"].l2
77 typeset -A dest_tree.l1["$a"].l2["$b"].l3
81 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries
96 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
139 typeset -A dest_tree.l1["$a"].l2
143 if ! (unset dest_tree.l1["$a"].l2["$b"]) ; then
144 typeset -A dest_tree.l1["$a"].l2["$b"].l3
148 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries
163 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
H A Dsun_solaris_vartree001.sh97 typeset -A dest_tree.l1["$a"].l2
102 typeset -A dest_tree.l1["$a"].l2["$b"].l3
106 typeset -A dest_tree.l1["$a"].l2["$b"].l3["$c"].entries
122 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
/titanic_44/usr/src/lib/libmvec/common/vis/
H A D__vsqrt.S710 ldx [%fp+tmp_px],%l2
715 lda [%l2]%asi,%o5 ! (5_1) hx = *(int*)px;
717 lda [%l2]%asi,%f10 ! (5_0) ((float*)&res)[0] = ((float*)px)[0];
719 lda [%l2+4]%asi,%f11 ! (5_0) ((float*)&res)[1] = ((float*)px)[1];
729 add %l2,stridex,%l2 ! px += stridex
740 lda [%l2]%asi,%f10 ! (0_0) ((float*)&res)[0] = ((float*)px)[0];
743 lda [%l2+4]%asi,%f11 ! (0_0) ((float*)&res)[1] = ((float*)px)[1];
752 lda [%l2]%asi,%o5 ! (0_0) hx = *(int*)px;
757 add %l2,stridex,%l2 ! px += stridex
775 lda [%l2]%asi,%f10 ! (1_0) ((float*)&res)[0] = ((float*)px)[0];
[all …]
H A D__vsin.S132 ! l2 hx2
255 lda [%i1]%asi,%l2 ! preload next argument
272 andn %l2,%i5,%l2
279 sub %l2,LIM_l6,%g1
280 sub %l7,%l2,%o7
302 cmp %l2,%l5
322 sub %l2,%o7,%l2
332 srl %l2,10,%l2
341 andn %l2,0x1f,%l2
350 ldd [%l3+%l2],%f40
[all …]
H A D__vcos.S202 ! l2 hx2
326 lda [%i1]%asi,%l2 ! preload next argument
343 andn %l2,MSK_SIGN,%l2
350 sub %l2,LIM_l6,%g1
351 sub LIM_l7,%l2,%o7
373 cmp %l2,LIM_l5
393 sub %l2,%o7,%l2
403 srl %l2,10,%l2
412 andn %l2,0x1f,%l2
421 ldd [%g1+%l2],%f40
[all …]
H A D__vsincos.S76 ! l2 hx2,k2
213 lda [%i1]%asi,%l2 ! preload next argument
233 andn %l2,%i5,%l2
239 sub %l2,%o4,%g5
240 sub %o5,%l2,%o7
262 sub %o3,%l2,%l2
266 orcc %l0,%l2,%g0
279 ld [%fp+nk2],%l2
288 sll %l2,5,%l2
292 ldd [%l2+%g1],%f24
[all …]
/titanic_44/usr/src/uts/sun4u/opl/ml/
H A Ddrmach_asm.s192 stx %l2, [%o2+8*2]
225 stx %l2, [%o1+8*2]
234 sethi %hi(ASI_L2_CTRL_UGE_TRAP), %l2
235 btst %l1, %l2
244 ldx [%o1+8*2], %l2
271 sethi %hi(ASI_L2_CTRL_UGE_TRAP), %l2
272 btst %l1, %l2
275 stxa %l2, [%l0]ASI_L2_CTRL
280 ldx [%o0 + SCF_TD+8], %l2
324 mov %l2, %o4
[all …]
/titanic_44/usr/src/cmd/sgs/rtld/sparcv9/
H A Dboot_elf.s634 lduw [%l1 + SBFLAGS_OFF], %l2 ! l2 = sb_flags
635 andcc %l2, LA_SYMB_NOPLTENTER, %g0
731 ldx [%l7 + audit_argcnt], %l2
732 lduw [%l2], %l2 ! %l2 = audit_argcnt
733 cmp %l2, 6
735 sub %l2, 6, %l2
736 sllx %l2, CLONGSHIFT, %l2 ! arg count * 8
737 cmp %l1, %l2 !
740 mov %l2, %l1
751 mov SA(MINFRAME), %l2 ! %l2 = index into stack & frame
[all …]
/titanic_44/usr/src/uts/common/krtld/
H A Dkobj_subr.c91 size_t l2 = strlen(src); in stand_strlcat() local
98 return (l1 + l2); in stand_strlcat()
100 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in stand_strlcat()
103 return (l1 + l2); in stand_strlcat()
/titanic_44/usr/src/lib/brand/shared/brand/sparc/
H A Dhandler.s115 GET_SYM_ADDR(%l1, %l2, brand_sysent_table)
117 sll %g1, (1 + CLONGSHIFT), %l2 /* Each entry has 2 longs */
118 add %l2, %l1, %l2 /* index to proper entry */
119 ldn [%l2], %l2 /* emulation func address */
189 call %l2
/titanic_44/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c83 size_t l1, l2; in nis_dir_cmp() local
90 l2 = strlen(n2); in nis_dir_cmp()
99 if (l2 != 0 && n2[l2 - 1] == '.') { in nis_dir_cmp()
100 --l2; in nis_dir_cmp()
103 if (l1 > l2) { in nis_dir_cmp()
105 } else if (l1 == l2) { in nis_dir_cmp()
111 ltmp = l1; l1 = l2; l2 = ltmp; in nis_dir_cmp()
117 if (l2 == 0) { in nis_dir_cmp()
121 if (l1 > l2) { in nis_dir_cmp()
122 n1 += l1 - l2; in nis_dir_cmp()
[all …]
/titanic_44/usr/src/uts/sun4/ml/
H A Dip_ocsum.s268 srl %l2, 3, %l2 ! 1/2/3/4 for count
302 ldx [%i0+16], %l2 ! %l0 could be used here if Dcache hit
319 srlx %l2, 32, %o2 ! hi32 to %o2
320 and %l2, %g1, %l2 ! lo32 to %l2
343 add %l2, %o2, %o2
349 ldx [%i0+16], %l2
378 add %l2, %o2, %o2
/titanic_44/usr/src/uts/sun4v/ml/
H A Dmach_proc_init.s102 ldx [%l1 + LPAD_NMAP], %l2 ! %l2 = number of mappings
108 mulx %l2, LPAD_MAP_SIZE, %g1
116 cmp %l2, %g0
151 sub %l2, 1, %l2 ! decrement counter

1234567