Home
last modified time | relevance | path

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

1234567

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dl2_packet.c56 l2->ifname, sizeof (l2->own_addr)); in link_init()
59 (void) memcpy(l2->own_addr, paddr, sizeof (l2->own_addr)); in link_init()
70 (void) memcpy(addr, l2->own_addr, sizeof (l2->own_addr)); in l2_packet_get_own_addr()
111 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, in l2_packet_receive()
125 if (l2 == NULL) in l2_packet_init()
128 (void) strlcpy(l2->ifname, ifname, sizeof (l2->ifname)); in l2_packet_init()
132 retval = dlpi_open(l2->ifname, &l2->dh, DLPI_RAW); in l2_packet_init()
136 free(l2); in l2_packet_init()
143 free(l2); in l2_packet_init()
150 return (l2); in l2_packet_init()
[all …]
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dlabel_macro.h118 #define _MEQUAL(l1, l2) \ argument
225 #define _BLDOMINATES(l1, l2) (LCLASS(l1) >= LCLASS(l2) && \ argument
226 (l2)->_comps.c1 == ((l1)->_comps.c1 & (l2)->_comps.c1) && \
227 (l2)->_comps.c2 == ((l1)->_comps.c2 & (l2)->_comps.c2) && \
228 (l2)->_comps.c3 == ((l1)->_comps.c3 & (l2)->_comps.c3) && \
229 (l2)->_comps.c4 == ((l1)->_comps.c4 & (l2)->_comps.c4) && \
230 (l2)->_comps.c5 == ((l1)->_comps.c5 & (l2)->_comps.c5) && \
231 (l2)->_comps.c6 == ((l1)->_comps.c6 & (l2)->_comps.c6) && \
232 (l2)->_comps.c7 == ((l1)->_comps.c7 & (l2)->_comps.c7) && \
233 (l2)->_comps.c8 == ((l1)->_comps.c8 & (l2)->_comps.c8))
[all …]
/illumos-gate/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()
176 if (strlen(l2) > 32) in pkcs11_parse_uri()
184 if (strlen(l2) > 16) in pkcs11_parse_uri()
192 if (strlen(l2) > 16) in pkcs11_parse_uri()
230 if (strcmp(l2, "public") == 0) in pkcs11_parse_uri()
234 else if (strcmp(l2, "cert") == 0) in pkcs11_parse_uri()
238 else if (strcmp(l2, "data") == 0) in pkcs11_parse_uri()
[all …]
/illumos-gate/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}) {
278 $latencies->{$l1}{$l2} > $max_latency;
280 $latencies->{$l1}{$l2} < $min_latency;
283 if ($latencies->{$l2}{$l1} &&
284 $latencies->{$l1}{$l2} != $latencies->{$l2}{$l1}) {
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dtest-sort.c19 struct ptr_list *l = NULL, *l2; in main() local
36 l2 = l; in main()
38 l2->nr = MIN (l2->nr, rand () % 3); in main()
39 for (i = 0; i < l2->nr; i++) in main()
40 *((int *)(l2->list[i])) = rand(); in main()
41 l2 = l2->next; in main()
42 } while (l2 != l); in main()
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dboot_elf.s245 ld [%l1 + SBFLAGS_OFF], %l2 ! l2 = sb_flags
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
366 add %l2, 0x4, %l2
377 mov %o1, %l2 ! l2 = second 1/2 of return value
[all …]
/illumos-gate/usr/src/common/crypto/sha1/sparc/sun4u/
H A Dsha1_asm.s182 add %l0, %l2, %o5
211 add %l0, %l2, %o4
241 add %l0, %l2, %o3
269 add %l0, %l2, %o2
297 add %l0, %l2, %o1
326 add %l0, %l2, %o0
357 add %l0, %l2, %o5
386 add %l0, %l2, %o4
416 add %l0, %l2, %o3
447 add %l0, %l2, %o2
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/ast/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}"
/illumos-gate/usr/src/test/libc-tests/tests/qsort/
H A Dmerge.c123 l2 = list1; in mergesort()
127 f1 = l2; in mergesort()
131 l2 = list1 + (p2 - list2); in mergesort()
132 while (f1 < l1 && f2 < l2) { in mergesort()
139 b = f2, t = l2; in mergesort()
199 if (f2 < l2) { in mergesort()
201 ICOPY_LIST(f2, tp2, l2); in mergesort()
203 CCOPY_LIST(f2, tp2, l2); in mergesort()
210 *p1 = l2; in mergesort()
255 u_char tmp, *f1, *f2, *s, *l2, *last, *p2; in setup() local
[all …]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vsqrt.S729 add %l2,stridex,%l2 ! px += stridex
757 add %l2,stridex,%l2 ! px += stridex
797 add %l2,stridex,%l2 ! px += stridex
841 add %l2,stridex,%l2 ! px += stridex
886 add %l2,stridex,%l2 ! px += stridex
934 add %l2,stridex,%l2 ! px += stridex
993 add %l2,stridex,%l2 ! px += stridex
1058 add %l2,stridex,%l2 ! px += stridex
1118 add %l2,stridex,%l2 ! px += stridex
1179 add %l2,stridex,%l2 ! px += stridex
[all …]
H A D__vsin.S272 andn %l2,%i5,%l2
322 sub %l2,%o7,%l2
332 srl %l2,10,%l2
341 andn %l2,0x1f,%l2
568 sub %l2,%o7,%l2
577 srl %l2,10,%l2
794 sub %l2,%o7,%l2
803 srl %l2,10,%l2
1015 sub %l2,%o7,%l2
1019 srl %l2,10,%l2
[all …]
H A D__vcos.S393 sub %l2,%o7,%l2
403 srl %l2,10,%l2
412 andn %l2,0x1f,%l2
638 sub %l2,%o7,%l2
648 srl %l2,10,%l2
864 sub %l2,%o7,%l2
874 srl %l2,10,%l2
1085 sub %l2,%o7,%l2
1090 srl %l2,10,%l2
1806 srl %l2,10,%l2
[all …]
H A D__vsincos.S76 ! l2 hx2,k2
233 andn %l2,%i5,%l2
262 sub %o3,%l2,%l2
288 sll %l2,5,%l2
340 add %l2,%g1,%l2
593 sll %l2,5,%l2
647 add %l2,%g1,%l2
832 mov 0,%l2
921 cmp %l2,%o4
925 cmp %l2,%o7
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
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}"
/illumos-gate/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()
/illumos-gate/usr/src/uts/sun4u/opl/ml/
H A Ddrmach_asm.s165 stx %l2, [%o2+8*2]
198 stx %l2, [%o1+8*2]
208 btst %l1, %l2
217 ldx [%o1+8*2], %l2
245 btst %l1, %l2
297 mov %l2, %o4
301 or %l2, %lo(0xffff), %l2
303 and %o4, %l2, %o3
347 and %o4, %l2, %o3
420 rd STICK, %l2
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dboot_elf.s634 lduw [%l1 + SBFLAGS_OFF], %l2 ! l2 = sb_flags
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
763 add %l2, CLONGSIZE, %l2
775 mov %o1, %l2 ! l2 = second 1/2 of return value
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_subr.c96 size_t l2 = strlen(src); in stand_strlcat() local
103 return (l1 + l2); in stand_strlcat()
105 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in stand_strlcat()
108 return (l1 + l2); in stand_strlcat()
/illumos-gate/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
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dmach_proc_init.s89 ldx [%l1 + LPAD_NMAP], %l2 ! %l2 = number of mappings
95 mulx %l2, LPAD_MAP_SIZE, %g1
103 cmp %l2, %g0
138 sub %l2, 1, %l2 ! decrement counter
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.s558 sub %o1, %o0, %l2 ! l2 has interval
582 mulx %l2, %o0, %l2 ! multiply interval by clock divisor iff > 1
784 rdpr %pstate, %l2
1187 andcc %l2, %o5, %g0
1192 ld [%l2 + %lo(panic_quiesce)], %l2
1193 brnz,pn %l2, 0f
1200 andn %l2, %o5, %l2
1251 srl %l2, LOCK_LEVEL + 1, %l2
1322 ldn [%o3 + %o4], %l2
1332 brz,pt %l2, 8f
[all …]
/illumos-gate/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 …]

1234567