Home
last modified time | relevance | path

Searched refs:inp (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/sha/asm/
H A Dkeccak1600p8-ppc.pl378 my ($A_jagged,$inp,$len,$bsz) = map("r$_",(3..6));
491 lvdx_u v26,0,$inp
492 addi $inp,$inp,8
496 lvdx_u v26,0,$inp
497 addi $inp,$inp,8
501 lvdx_u v26,0,$inp
502 addi $inp,$inp,8
506 lvdx_u v26,0,$inp
507 addi $inp,$inp,8
511 lvdx_u v26,0,$inp
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/sha/asm/
H A Dkeccak1600p8-ppc.pl374 my ($A_jagged,$inp,$len,$bsz) = map("r$_",(3..6));
487 lvdx_u v26,0,$inp
488 addi $inp,$inp,8
492 lvdx_u v26,0,$inp
493 addi $inp,$inp,8
497 lvdx_u v26,0,$inp
498 addi $inp,$inp,8
502 lvdx_u v26,0,$inp
503 addi $inp,$inp,8
507 lvdx_u v26,0,$inp
[all …]
/netbsd-src/sys/netinet/
H A Din_pcb.c203 struct inpcb *inp; in inpcb_create() local
210 inp = pool_cache_get(in4pcb_pool_cache, PR_NOWAIT); in inpcb_create()
212 inp = pool_cache_get(in6pcb_pool_cache, PR_NOWAIT); in inpcb_create()
215 inp = pool_cache_get(in4pcb_pool_cache, PR_NOWAIT); in inpcb_create()
217 if (inp == NULL) in inpcb_create()
220 memset(inp, 0, sizeof(struct in4pcb)); in inpcb_create()
223 memset(inp, 0, sizeof(struct in6pcb)); in inpcb_create()
225 inp->inp_af = soaf(so); in inpcb_create()
226 inp->inp_table = table; in inpcb_create()
227 inp->inp_socket = so; in inpcb_create()
[all …]
H A Dsctp_usrreq.c236 sctp_notify_mbuf(struct sctp_inpcb *inp, in sctp_notify_mbuf() argument
248 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || in sctp_notify_mbuf()
284 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL); in sctp_notify_mbuf()
337 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL); in sctp_notify_mbuf()
343 sctp_notify(struct sctp_inpcb *inp, in sctp_notify() argument
351 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || in sctp_notify()
400 sctp_free_assoc(inp, stcb); in sctp_notify()
405 if (inp->sctp_socket) { in sctp_notify()
406 inp->sctp_socket->so_error = errno; in sctp_notify()
407 sctp_sowwakeup(inp, in in sctp_notify()
433 struct sctp_inpcb *inp; sctp_ctlinput() local
496 struct sctp_inpcb *inp; sctp_abort() local
509 struct sctp_inpcb *inp; sctp_attach() local
554 struct sctp_inpcb *inp; sctp_bind() local
577 struct sctp_inpcb *inp; sctp_detach() local
604 struct sctp_inpcb *inp; sctp_send() local
691 struct sctp_inpcb *inp; sctp_disconnect() local
808 struct sctp_inpcb *inp; sctp_shutdown() local
908 sctp_fill_up_addresses(struct sctp_inpcb * inp,struct sctp_tcb * stcb,int limit,struct sockaddr_storage * sas) sctp_fill_up_addresses() argument
1094 sctp_count_max_addresses(struct sctp_inpcb * inp) sctp_count_max_addresses() argument
1145 struct sctp_inpcb *inp; sctp_do_connect_x() local
1329 struct sctp_inpcb *inp; sctp_optsget() local
2382 struct sctp_inpcb *inp; sctp_optsset() local
3237 struct inpcb *inp; sctp_ctloutput() local
3302 struct sctp_inpcb *inp; sctp_connect() local
3431 struct sctp_inpcb *inp; sctp_rcvd() local
3572 struct sctp_inpcb *inp; sctp_listen() local
3627 struct sctp_inpcb *inp; sctp_accept() local
3706 struct sctp_inpcb *inp; sctp_sockaddr() local
3780 struct sctp_inpcb *inp; sctp_peeraddr() local
[all...]
H A Dsctp_pcb.c127 SCTP_INP_RLOCK(struct sctp_inpcb *inp) in SCTP_INP_RLOCK() argument
130 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { in SCTP_INP_RLOCK()
134 if (mtx_owned(&(inp)->inp_mtx)) in SCTP_INP_RLOCK()
136 mtx_lock(&(inp)->inp_mtx); in SCTP_INP_RLOCK()
140 SCTP_INP_WLOCK(struct sctp_inpcb *inp) in SCTP_INP_WLOCK() argument
142 SCTP_INP_RLOCK(inp); in SCTP_INP_WLOCK()
148 struct sctp_inpcb *inp; in SCTP_INP_INFO_RLOCK() local
150 LIST_FOREACH(inp, &sctppcbinfo.listhead, sctp_list) { in SCTP_INP_INFO_RLOCK()
151 if (mtx_owned(&(inp)->inp_mtx)) in SCTP_INP_INFO_RLOCK()
153 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { in SCTP_INP_INFO_RLOCK()
[all …]
H A Dportalgo.c154 pcb_getports(struct inpcb *inp, uint16_t *lastport, in pcb_getports() argument
157 struct inpcbtable * const table = inp->inp_table; in pcb_getports()
163 so = inp->inp_socket; in pcb_getports()
176 switch (inp->inp_af) { in pcb_getports()
180 if (inp->inp_flags & INP_LOWPORT) { in pcb_getports()
197 if (inp->inp_flags & IN6P_LOWPORT) { in pcb_getports()
240 check_suitable_port(uint16_t port, struct inpcb *inp, kauth_cred_t cred) in check_suitable_port() argument
242 struct inpcbtable * const table = inp->inp_table; in check_suitable_port()
254 switch (inp->inp_af) { in check_suitable_port()
263 sin.sin_addr = in4p_laddr(inp); in check_suitable_port()
[all …]
H A Draw_ip.c167 struct inpcb *inp; in rip_input() local
184 TAILQ_FOREACH(inp, &rawcbtable.inpt_queue, inp_queue) { in rip_input()
185 if (inp->inp_af != AF_INET) in rip_input()
187 if (in4p_ip(inp).ip_p && in4p_ip(inp).ip_p != proto) in rip_input()
189 if (!in_nullhost(in4p_laddr(inp)) && in rip_input()
190 !in_hosteq(in4p_laddr(inp), ip->ip_dst)) in rip_input()
192 if (!in_nullhost(in4p_faddr(inp)) && in rip_input()
193 !in_hosteq(in4p_faddr(inp), ip->ip_src)) in rip_input()
208 last = inp; in rip_input()
241 struct inpcb *inp; in rip_pcbnotify() local
[all …]
H A Dtcp_usrreq.c261 struct inpcb *inp; in tcp_ctloutput() local
274 inp = sotoinpcb(so); in tcp_ctloutput()
275 if (inp == NULL) { in tcp_ctloutput()
293 tp = intotcpcb(inp); in tcp_ctloutput()
448 struct inpcb *inp; in tcp_attach() local
457 inp = sotoinpcb(so); in tcp_attach()
458 KASSERT(inp == NULL); in tcp_attach()
479 inp = sotoinpcb(so); in tcp_attach()
481 tp = tcp_newtcpcb(family, inp); in tcp_attach()
486 inpcb_destroy(inp); in tcp_attach()
[all …]
/netbsd-src/sys/netinet6/
H A Din6_pcb.c144 in6pcb_bind_addr(struct inpcb *inp, struct sockaddr_in6 *sin6, struct lwp *l) in in6pcb_bind_addr() argument
166 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in in6pcb_bind_addr()
182 (inp->inp_flags & IN6P_BINDANY) == 0) { in in6pcb_bind_addr()
193 if ((inp->inp_flags & IN6P_FAITH) == 0) { in in6pcb_bind_addr()
196 (inp->inp_flags & IN6P_BINDANY) == 0) { in in6pcb_bind_addr()
222 in6p_laddr(inp) = sin6->sin6_addr; in in6pcb_bind_addr()
233 in6pcb_bind_port(struct inpcb *inp, struct sockaddr_in6 *sin6, struct lwp *l) in in6pcb_bind_port() argument
235 struct inpcbtable *table = inp->inp_table; in in6pcb_bind_port()
236 struct socket *so = inp->inp_socket; in in6pcb_bind_port()
310 e = in6pcb_set_port(sin6, inp, l); in in6pcb_bind_port()
[all …]
H A Dsctp6_usrreq.c251 if ((in6p->ip_inp.inp.inp_flags & INP_CONTROLOPTS) in sctp6_input()
313 sctp6_notify_mbuf(struct sctp_inpcb *inp, in sctp6_notify_mbuf() argument
321 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || in sctp6_notify_mbuf()
342 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL); in sctp6_notify_mbuf()
389 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL); in sctp6_notify_mbuf()
391 if (inp) { in sctp6_notify_mbuf()
393 SCTP_INP_WLOCK(inp); in sctp6_notify_mbuf()
394 SCTP_INP_DECR_REF(inp); in sctp6_notify_mbuf()
395 SCTP_INP_WUNLOCK(inp); in sctp6_notify_mbuf()
435 struct sctp_inpcb *inp; in sctp6_ctlinput() local
[all …]
H A Dudp6_usrreq.c178 udp6_notify(struct inpcb *inp, int errno) in udp6_notify() argument
180 inp->inp_socket->so_error = errno; in udp6_notify()
181 sorwakeup(inp->inp_socket); in udp6_notify()
182 sowwakeup(inp->inp_socket); in udp6_notify()
305 struct inpcb *inp; in udp6_ctloutput() local
336 inp = sotoinpcb(so); in udp6_ctloutput()
346 inp->inp_flags &= ~IN6P_ESPINUDP; in udp6_ctloutput()
350 inp->inp_flags |= IN6P_ESPINUDP; in udp6_ctloutput()
381 struct inpcb *inp; in udp6_sendup() local
385 inp in udp6_sendup()
423 struct inpcb *inp; udp6_realinput() local
730 udp6_output(struct inpcb * const inp,struct mbuf * m,struct sockaddr_in6 * const addr6,struct mbuf * const control,struct lwp * const l) udp6_output() argument
1062 struct inpcb *inp; udp6_attach() local
1094 struct inpcb *inp = sotoinpcb(so); udp6_detach() local
1116 struct inpcb *inp = sotoinpcb(so); udp6_bind() local
1141 struct inpcb *inp = sotoinpcb(so); udp6_connect() local
1170 struct inpcb *inp = sotoinpcb(so); udp6_disconnect() local
1284 struct inpcb *inp = sotoinpcb(so); udp6_send() local
[all...]
H A Draw_ip6.c169 struct inpcb *inp; in rip6_input() local
191 TAILQ_FOREACH(inp, &raw6cbtable.inpt_queue, inp_queue) { in rip6_input()
192 if (inp->inp_af != AF_INET6) in rip6_input()
194 if (in6p_ip6(inp).ip6_nxt && in rip6_input()
195 in6p_ip6(inp).ip6_nxt != proto) in rip6_input()
197 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p_laddr(inp)) && in rip6_input()
198 !IN6_ARE_ADDR_EQUAL(&in6p_laddr(inp), &ip6->ip6_dst)) in rip6_input()
200 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p_faddr(inp)) && in rip6_input()
201 !IN6_ARE_ADDR_EQUAL(&in6p_faddr(inp), &ip6->ip6_src)) in rip6_input()
203 if (in6p_cksum(inp) != -1) { in rip6_input()
[all …]
/netbsd-src/sys/coda/
H A Dcoda_venus.c64 struct coda_in_hdr *inp; \
72 struct name ## _in *inp; \
80 struct name ## _in *inp; \
89 CODA_ALLOC(inp, struct coda_in_hdr *, name ## _size);\
90 outp = (struct name ## _out *) inp
95 CODA_ALLOC(inp, struct name ## _in *, name ## _size);\
96 outp = (struct name ## _out *) inp
101 CODA_ALLOC(inp, struct name ## _in *, name ## _size);\
104 memcpy((char *)inp + (int)inp->struc, name, len); \
105 ((char*)inp + (int)inp->struc)[len++] = 0; \
[all …]
/netbsd-src/sbin/fsck_ffs/
H A Dpass2.c67 struct inoinfo **inpp, *inp, *pinp; in pass2() local
161 inp = *inpp; in pass2()
162 if (inp->i_isize == 0) in pass2()
164 if (inp->i_isize < MINDIRSIZE) { in pass2()
165 direrror(inp->i_number, "DIRECTORY TOO SHORT"); in pass2()
166 inp->i_isize = roundup(MINDIRSIZE, dirblksiz); in pass2()
168 dp = ginode(inp->i_number); in pass2()
169 DIP_SET(dp, size, iswap64(inp->i_isize)); in pass2()
173 } else if ((inp->i_isize & (dirblksiz - 1)) != 0) { in pass2()
174 getpathname(pathbuf, sizeof(pathbuf), inp->i_number, in pass2()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/chacha/asm/
H A Dchacha-x86_64.pl98 ($out,$inp,$len,$key,$counter)=("%rdi","%rsi","%rdx","%rcx","%r8");
318 mov $inp,64+8(%rsp) # save inp
338 mov 64+8(%rsp),$inp # load inp
359 xor 4*0($inp),@x[0] # xor with input
360 xor 4*1($inp),@x[1]
361 xor 4*2($inp),@x[2]
362 xor 4*3($inp),@x[3]
363 xor 4*4($inp),@x[4]
364 xor 4*5($inp),@x[5]
365 xor 4*6($inp),@x[6]
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/chacha/asm/
H A Dchacha-x86_64.pl96 ($out,$inp,$len,$key,$counter)=("%rdi","%rsi","%rdx","%rcx","%r8");
316 mov $inp,64+8(%rsp) # save inp
336 mov 64+8(%rsp),$inp # load inp
357 xor 4*0($inp),@x[0] # xor with input
358 xor 4*1($inp),@x[1]
359 xor 4*2($inp),@x[2]
360 xor 4*3($inp),@x[3]
361 xor 4*4($inp),@x[4]
362 xor 4*5($inp),@x[5]
363 xor 4*6($inp),@x[6]
[all …]
/netbsd-src/sbin/fsck_ext2fs/
H A Dpass2.c91 struct inoinfo **inpp, *inp; in pass2() local
154 inp = *inpp; in pass2()
155 if (inp->i_isize == 0) in pass2()
157 if (inp->i_isize < MINDIRSIZE) { in pass2()
158 direrror(inp->i_number, "DIRECTORY TOO SHORT"); in pass2()
159 inp->i_isize = roundup(MINDIRSIZE, sblock.e2fs_bsize); in pass2()
161 dp = ginode(inp->i_number); in pass2()
162 inossize(dp, inp->i_isize); in pass2()
165 } else if ((inp->i_isize & (sblock.e2fs_bsize - 1)) != 0) { in pass2()
166 getpathname(pathbuf, sizeof(pathbuf), inp->i_number, in pass2()
[all …]
/netbsd-src/sbin/fsck_lfs/
H A Dpass2.c66 struct inoinfo **inpp, *inp; in pass2() local
136 inp = *inpp; in pass2()
137 if (inp->i_isize == 0) in pass2()
139 if (inp->i_isize < MINDIRSIZE(fs)) { in pass2()
140 direrror(inp->i_number, "DIRECTORY TOO SHORT"); in pass2()
141 inp->i_isize = roundup(MINDIRSIZE(fs), LFS_DIRBLKSIZ); in pass2()
143 vp = vget(fs, inp->i_number); in pass2()
145 lfs_dino_setsize(fs, dp, inp->i_isize); in pass2()
148 } else if ((inp->i_isize & (LFS_DIRBLKSIZ - 1)) != 0) { in pass2()
149 getpathname(pathbuf, sizeof(pathbuf), inp->i_number, in pass2()
[all …]
H A Dpass3.c42 struct inoinfo **inpp, *inp; in pass3() local
47 inp = *inpp; in pass3()
48 if (inp->i_number == ULFS_ROOTINO || inp->i_number == LFS_IFILE_INUM || in pass3()
49 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE)) in pass3()
51 if (statemap[inp->i_number] == DCLEAR) in pass3()
53 if (statemap[inp->i_number] == FCLEAR) in pass3()
56 orphan = inp->i_number; in pass3()
57 if (inp->i_parent == 0 || in pass3()
58 statemap[inp->i_parent] != DSTATE || in pass3()
61 inp = getinoinfo(inp->i_parent); in pass3()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/aes/asm/
H A Daes-s390x.pl109 $t2="%r2"; $inp="%r2";
246 # void AES_encrypt(const unsigned char *inp, unsigned char *out,
259 #la %r2,0($inp)
271 llgf $s0,0($inp)
272 llgf $s1,4($inp)
273 llgf $s2,8($inp)
274 llgf $s3,12($inp)
572 # void AES_decrypt(const unsigned char *inp, unsigned char *out,
585 #la %r2,0($inp)
597 llgf $s0,0($inp)
[all …]
H A Daesni-mb-x86_64.pl85 $inp="%rdi"; # 1st arg
94 @inp=map("%xmm$_",(6..9));
164 lea 40*2($inp),$inp
172 mov `40*$i+16-40*2`($inp),$one # borrow $one for number of blocks
173 mov `40*$i+0-40*2`($inp),@inptr[$i]
175 mov `40*$i+8-40*2`($inp),@outptr[$i]
178 movdqu `40*$i+24-40*2`($inp),@out[$i] # load IV
193 movdqu (@inptr[0]),@inp[0] # load inputs
195 movdqu (@inptr[1]),@inp[1]
196 pxor @inp[0],@out[0]
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/aes/asm/
H A Daes-s390x.pl111 $t2="%r2"; $inp="%r2";
248 # void AES_encrypt(const unsigned char *inp, unsigned char *out,
261 #la %r2,0($inp)
273 llgf $s0,0($inp)
274 llgf $s1,4($inp)
275 llgf $s2,8($inp)
276 llgf $s3,12($inp)
574 # void AES_decrypt(const unsigned char *inp, unsigned char *out,
587 #la %r2,0($inp)
599 llgf $s0,0($inp)
[all …]
H A Daesni-mb-x86_64.pl92 $inp="%rdi"; # 1st arg
103 @inp=map("%xmm$_",(6..9));
173 lea $inp_elm_size*2($inp),$inp
184 mov `$inp_elm_size*$i+2*$ptr_size-$inp_elm_size*2`($inp),$one
185 mov `$inp_elm_size*$i+0-$inp_elm_size*2`($inp),$inptr_reg
187 mov `$inp_elm_size*$i+$ptr_size-$inp_elm_size*2`($inp),$outptr_reg
191 movdqu `$inp_elm_size*$i+2*$ptr_size+8-$inp_elm_size*2`($inp),@out[$i]
206 movdqu (@inptr[0]),@inp[0] # load inputs
208 movdqu (@inptr[1]),@inp[1]
209 pxor @inp[0],@out[0]
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/perlasm/
H A Dsparcv9_modes.pl37 my ($inp,$out,$len,$key,$ivec)=map("%i$_",(0..5));
52 sub $inp, $out, $blk_init ! $inp!=$out
73 prefetch [$inp], 20
74 prefetch [$inp + 63], 20
76 and $inp, 7, $ileft
77 andn $inp, 7, $inp
86 brnz,pn $blk_init, .L${bits}cbc_enc_blk ! $inp==$out)
94 ldx [$inp + 0], %o0
96 ldx [$inp + 8], %o1
98 ldx [$inp + 16], %o2
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/perlasm/
H A Dsparcv9_modes.pl37 my ($inp,$out,$len,$key,$ivec)=map("%i$_",(0..5));
52 sub $inp, $out, $blk_init ! $inp!=$out
73 prefetch [$inp], 20
74 prefetch [$inp + 63], 20
76 and $inp, 7, $ileft
77 andn $inp, 7, $inp
86 brnz,pn $blk_init, .L${bits}cbc_enc_blk ! $inp==$out)
94 ldx [$inp + 0], %o0
96 ldx [$inp + 8], %o1
98 ldx [$inp + 16], %o2
[all …]

12345678910>>...20