Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd-head/crypto/openssl/crypto/sha/asm/
HDkeccak1600p8-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 …]
/freebsd-head/sys/netinet/
HDin_pcb.c298 in_pcblbgroup_find(struct inpcb *inp) in in_pcblbgroup_find() argument
304 INP_LOCK_ASSERT(inp); in in_pcblbgroup_find()
306 pcbinfo = inp->inp_pcbinfo; in in_pcblbgroup_find()
310 INP_PCBPORTHASH(inp->inp_lport, pcbinfo->ipi_lbgrouphashmask)]; in in_pcblbgroup_find()
315 if (inp == grp->il_inp[i]) in in_pcblbgroup_find()
319 if (inp == inp1) in in_pcblbgroup_find()
328 in_pcblbgroup_insert(struct inpcblbgroup *grp, struct inpcb *inp) in in_pcblbgroup_insert() argument
333 INP_WLOCK_ASSERT(inp); in in_pcblbgroup_insert()
335 if (inp->inp_socket->so_proto->pr_listen != pr_listen_notsupp && in in_pcblbgroup_insert()
336 !SOLISTENING(inp->inp_socket)) { in in_pcblbgroup_insert()
[all …]
HDsctp_usrreq.c171 sctp_notify(struct sctp_inpcb *inp, in sctp_notify() argument
208 (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC, in sctp_notify()
228 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net, in sctp_notify()
240 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp_notify()
242 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp_notify()
251 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net); in sctp_notify()
264 struct sctp_inpcb *inp; in sctp_ctlinput() local
291 inp = NULL; in sctp_ctlinput()
295 &inp, &net, 1, in sctp_ctlinput()
299 (inp != NULL)) { in sctp_ctlinput()
[all …]
HDudp_usrreq.c236 udp_append(struct inpcb *inp, struct ip *ip, struct mbuf *n, int off, in udp_append() argument
248 INP_LOCK_ASSERT(inp); in udp_append()
253 up = intoudpcb(inp); in udp_append()
255 in_pcbref(inp); in udp_append()
256 INP_RUNLOCK(inp); in udp_append()
257 filtered = (*up->u_tun_func)(n, off, inp, (struct sockaddr *)&udp_in[0], in udp_append()
259 INP_RLOCK(inp); in udp_append()
261 return (in_pcbrele_rlocked(inp)); in udp_append()
269 IPSEC_CHECK_POLICY(ipv4, n, inp) != 0) { in udp_append()
280 if (mac_inpcb_check_deliver(inp, n) != 0) { in udp_append()
[all …]
HDraw_ip.c154 rip_inshash(struct inpcb *inp) in rip_inshash() argument
156 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo; in rip_inshash()
161 INP_WLOCK_ASSERT(inp); in rip_inshash()
163 if (inp->inp_ip_p != 0 && in rip_inshash()
164 inp->inp_laddr.s_addr != INADDR_ANY && in rip_inshash()
165 inp->inp_faddr.s_addr != INADDR_ANY) { in rip_inshash()
166 hash = INP_PCBHASH_RAW(inp->inp_ip_p, inp->inp_laddr.s_addr, in rip_inshash()
167 inp->inp_faddr.s_addr, pcbinfo->ipi_hashmask); in rip_inshash()
171 CK_LIST_INSERT_HEAD(pcbhash, inp, inp_hash_exact); in rip_inshash()
175 rip_delhash(struct inpcb *inp) in rip_delhash() argument
[all …]
HDtcp_usrreq.c155 struct inpcb *inp; in tcp_usr_attach() local
159 inp = sotoinpcb(so); in tcp_usr_attach()
160 KASSERT(inp == NULL, ("tcp_usr_attach: inp != NULL")); in tcp_usr_attach()
171 inp = sotoinpcb(so); in tcp_usr_attach()
172 tp = tcp_newtcpcb(inp, NULL); in tcp_usr_attach()
175 in_pcbfree(inp); in tcp_usr_attach()
180 INP_WUNLOCK(inp); in tcp_usr_attach()
196 struct inpcb *inp; in tcp_usr_detach() local
199 inp = sotoinpcb(so); in tcp_usr_detach()
200 KASSERT(inp != NULL, ("%s: inp == NULL", __func__)); in tcp_usr_detach()
[all …]
HDsctp_peeloff.c50 struct sctp_inpcb *inp; in sctp_can_peel_off() local
58 inp = (struct sctp_inpcb *)head->so_pcb; in sctp_can_peel_off()
59 if (inp == NULL) { in sctp_can_peel_off()
63 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_can_peel_off()
64 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_can_peel_off()
65 SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EOPNOTSUPP); in sctp_can_peel_off()
68 stcb = sctp_findassociation_ep_asocid(inp, assoc_id, 1); in sctp_can_peel_off()
70 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOENT); in sctp_can_peel_off()
77 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOTCONN); in sctp_can_peel_off()
88 struct sctp_inpcb *inp, *n_inp; in sctp_do_peeloff() local
[all …]
HDsctp_pcb.c775 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_does_stcb_own_this_addr()
794 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_does_stcb_own_this_addr()
894 struct sctp_inpcb *inp; in sctp_tcb_special_locate() local
934 LIST_FOREACH(inp, ephead, sctp_hash) { in sctp_tcb_special_locate()
935 SCTP_INP_RLOCK(inp); in sctp_tcb_special_locate()
936 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_tcb_special_locate()
937 SCTP_INP_RUNLOCK(inp); in sctp_tcb_special_locate()
940 if (lport != inp->sctp_lport) { in sctp_tcb_special_locate()
941 SCTP_INP_RUNLOCK(inp); in sctp_tcb_special_locate()
951 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_tcb_special_locate()
[all …]
HDsctputil.c93 sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) in sctp_log_closing() argument
98 sctp_clog.x.close.inp = (void *)inp; in sctp_log_closing()
99 sctp_clog.x.close.sctp_flags = inp->sctp_flags; in sctp_log_closing()
349 sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from) in sctp_log_lock() argument
355 if (inp) { in sctp_log_lock()
356 sctp_clog.x.lock.sock = (void *)inp->sctp_socket; in sctp_log_lock()
361 sctp_clog.x.lock.inp = (void *)inp; in sctp_log_lock()
367 if (inp) { in sctp_log_lock()
368 sctp_clog.x.lock.inp_lock = mtx_owned(&inp->inp_mtx); in sctp_log_lock()
369 sctp_clog.x.lock.create_lock = mtx_owned(&inp->inp_create_mtx); in sctp_log_lock()
[all …]
/freebsd-head/sys/netinet6/
HDin6_pcb.c126 in6_pcbsetport(struct in6_addr *laddr, struct inpcb *inp, struct ucred *cred) in in6_pcbsetport() argument
128 struct socket *so = inp->inp_socket; in in6_pcbsetport()
132 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo; in in6_pcbsetport()
135 INP_WLOCK_ASSERT(inp); in in6_pcbsetport()
139 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)); in in6_pcbsetport()
147 inp->inp_flags |= INP_ANONPORT; in in6_pcbsetport()
149 error = in_pcb_lport(inp, NULL, &lport, cred, lookupflags); in in6_pcbsetport()
153 inp->inp_lport = lport; in in6_pcbsetport()
154 if (in_pcbinshash(inp) != 0) { in in6_pcbsetport()
155 inp->in6p_laddr = in6addr_any; in in6_pcbsetport()
[all …]
HDudp6_usrreq.c139 udp6_append(struct inpcb *inp, struct mbuf *n, int off, in udp6_append() argument
147 INP_LOCK_ASSERT(inp); in udp6_append()
152 up = intoudpcb(inp); in udp6_append()
154 in_pcbref(inp); in udp6_append()
155 INP_RUNLOCK(inp); in udp6_append()
156 filtered = (*up->u_tun_func)(n, off, inp, in udp6_append()
158 INP_RLOCK(inp); in udp6_append()
160 return (in_pcbrele_rlocked(inp)); in udp6_append()
168 if (IPSEC_CHECK_POLICY(ipv6, n, inp) != 0) { in udp6_append()
181 if (mac_inpcb_check_deliver(inp, n) != 0) { in udp6_append()
[all …]
HDsctp6_usrreq.c171 sctp6_notify(struct sctp_inpcb *inp, in sctp6_notify() argument
201 (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC, in sctp6_notify()
214 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net, in sctp6_notify()
226 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr)); in sctp6_notify()
228 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu); in sctp6_notify()
237 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net); in sctp6_notify()
250 struct sctp_inpcb *inp; in sctp6_ctlinput() local
291 inp = NULL; in sctp6_ctlinput()
295 &inp, &net, 1, SCTP_DEFAULT_VRFID); in sctp6_ctlinput()
298 (inp != NULL)) { in sctp6_ctlinput()
[all …]
HDraw_ip6.c158 rip6_inp_match(const struct inpcb *inp, void *v) in rip6_inp_match() argument
165 if ((inp->inp_vflag & INP_IPV6) == 0) in rip6_inp_match()
167 if (inp->inp_ip_p && inp->inp_ip_p != proto) in rip6_inp_match()
169 if (!IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr) && in rip6_inp_match()
170 !IN6_ARE_ADDR_EQUAL(&inp->in6p_laddr, &ip6->ip6_dst)) in rip6_inp_match()
172 if (!IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_faddr) && in rip6_inp_match()
173 !IN6_ARE_ADDR_EQUAL(&inp->in6p_faddr, &ip6->ip6_src)) in rip6_inp_match()
189 struct inpcb *inp; in rip6_input() local
207 while ((inp = inp_next(&inpi)) != NULL) { in rip6_input()
208 INP_RLOCK_ASSERT(inp); in rip6_input()
[all …]
/freebsd-head/sbin/fsck_ffs/
HDpass2.c58 struct inoinfo **inpp, *inp; in pass2() local
149 inp = *inpp; in pass2()
150 if (inp->i_isize == 0) in pass2()
152 if (inp->i_isize < MINDIRSIZE) { in pass2()
153 direrror(inp->i_number, "DIRECTORY TOO SHORT"); in pass2()
154 inp->i_isize = roundup(MINDIRSIZE, DIRBLKSIZ); in pass2()
156 ginode(inp->i_number, &ip); in pass2()
157 DIP_SET(ip.i_dp, di_size, inp->i_isize); in pass2()
161 } else if ((inp->i_isize & (DIRBLKSIZ - 1)) != 0) { in pass2()
162 getpathname(pathbuf, inp->i_number, inp->i_number); in pass2()
[all …]
HDpass3.c45 struct inoinfo *inp; in pass3() local
64 inp = inpsort[inpindex]; in pass3()
65 state = inoinfo(inp->i_number)->ino_state; in pass3()
66 if (inp->i_number == UFS_ROOTINO || in pass3()
67 (inp->i_parent != 0 && !S_IS_DUNFOUND(state))) in pass3()
79 if (inp->i_dotdot >= UFS_ROOTINO) in pass3()
80 inoinfo(inp->i_dotdot)->ino_linkcnt++; in pass3()
84 orphan = inp->i_number; in pass3()
85 if (inp->i_parent == 0 || in pass3()
86 !INO_IS_DUNFOUND(inp->i_parent) || in pass3()
[all …]
/freebsd-head/crypto/openssl/crypto/chacha/asm/
HDchacha-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 …]
/freebsd-head/sys/netipsec/
HDipsec_pcb.c57 ipsec_setsockaddrs_inpcb(struct inpcb *inp, union sockaddr_union *src, in ipsec_setsockaddrs_inpcb() argument
62 if (inp->inp_vflag & INP_IPV6) { in ipsec_setsockaddrs_inpcb()
76 sin6->sin6_addr = inp->in6p_laddr; in ipsec_setsockaddrs_inpcb()
77 sin6->sin6_port = inp->inp_lport; in ipsec_setsockaddrs_inpcb()
78 if (IN6_IS_SCOPE_LINKLOCAL(&inp->in6p_laddr)) { in ipsec_setsockaddrs_inpcb()
82 inp->in6p_laddr.s6_addr16[1]); in ipsec_setsockaddrs_inpcb()
89 sin6->sin6_addr = inp->in6p_faddr; in ipsec_setsockaddrs_inpcb()
90 sin6->sin6_port = inp->inp_fport; in ipsec_setsockaddrs_inpcb()
91 if (IN6_IS_SCOPE_LINKLOCAL(&inp->in6p_faddr)) { in ipsec_setsockaddrs_inpcb()
95 inp->in6p_faddr.s6_addr16[1]); in ipsec_setsockaddrs_inpcb()
[all …]
/freebsd-head/crypto/openssl/crypto/aes/asm/
HDaes-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 …]
HDbsaes-x86_64.pl116 my ($inp,$out,$len,$key,$ivp)=("%rdi","%rsi","%rdx","%rcx");
950 my ($out,$inp,$rounds,$const)=("%rax","%rcx","%r10d","%r11");
982 movdqu ($inp), %xmm7 # load round 0 key
983 lea 0x10($inp), $inp
991 movdqu ($inp), %xmm6 # load round 1 key
1034 lea 0x10($inp), $inp
1044 movdqu ($inp), %xmm6 # load next round key
1071 mov 240($inp),%r10d # pass rounds
1072 mov $inp,%rcx # pass key
1085 movdqu 0x00($inp), @XMM[0] # load input
[all …]
HDaesni-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 …]
/freebsd-head/sys/crypto/openssl/
HDossl_ppc.c90 void sha256_block_p8(void *ctx, const void *inp, size_t len);
91 void sha256_block_ppc(void *ctx, const void *inp, size_t len);
92 void sha256_block_data_order(void *ctx, const void *inp, size_t len);
93 void sha256_block_data_order(void *ctx, const void *inp, size_t len) in sha256_block_data_order() argument
95 OPENSSL_ppccap_P & PPC_CRYPTO207 ? sha256_block_p8(ctx, inp, len) : in sha256_block_data_order()
96 sha256_block_ppc(ctx, inp, len); in sha256_block_data_order()
99 void sha512_block_p8(void *ctx, const void *inp, size_t len);
100 void sha512_block_ppc(void *ctx, const void *inp, size_t len);
101 void sha512_block_data_order(void *ctx, const void *inp, size_t len);
102 void sha512_block_data_order(void *ctx, const void *inp, size_t len) in sha512_block_data_order() argument
[all …]
/freebsd-head/crypto/openssl/crypto/perlasm/
HDsparcv9_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 …]
/freebsd-head/sys/dev/bhnd/nvram/
HDbhnd_nvram_value_fmts.c57 static bool bhnd_nvram_ident_octet_string(const char *inp,
59 static bool bhnd_nvram_ident_num_string(const char *inp,
63 const bhnd_nvram_val_fmt **fmt, const void *inp,
70 const bhnd_nvram_val_fmt **fmt, const void *inp,
73 bhnd_nvram_val *value, const void *inp,
81 const bhnd_nvram_val_fmt **fmt, const void *inp,
87 bhnd_nvram_val *value, const void *inp,
91 bhnd_nvram_val *value, const void *inp,
96 const bhnd_nvram_val_fmt **fmt, const void *inp,
99 bhnd_nvram_val *value, const void *inp,
[all …]
/freebsd-head/sys/dev/cxgbe/tom/
HDt4_listen.c162 ntids = synqe->lctx->inp->inp_vflag & INP_IPV6 ? 2 : 1; in stop_stid_tab()
188 if (lctx->inp->inp_vflag & INP_IPV6) in restart_stid_tab()
328 alloc_lctx(struct adapter *sc, struct inpcb *inp, struct vi_info *vi) in alloc_lctx() argument
332 INP_WLOCK_ASSERT(inp); in alloc_lctx()
338 lctx->isipv6 = inp->inp_vflag & INP_IPV6; in alloc_lctx()
346 !IN6_ARE_ADDR_EQUAL(&in6addr_any, &inp->in6p_laddr)) { in alloc_lctx()
347 lctx->ce = t4_get_clip_entry(sc, &inp->in6p_laddr, true); in alloc_lctx()
358 lctx->inp = inp; in alloc_lctx()
359 lctx->vnet = inp->inp_socket->so_vnet; in alloc_lctx()
360 in_pcbref(inp); in alloc_lctx()
[all …]
/freebsd-head/crypto/openssl/crypto/des/asm/
HDdest4-sparcv9.pl53 { my ($inp,$out)=("%o0","%o1");
60 andcc $inp, 0x7, %g0
61 alignaddr $inp, %g0, $inp
63 ldd [$inp + 0x00], %f0
64 ldd [$inp + 0x08], %f2
102 { my ($inp,$out,$len,$key,$ivec) = map("%o$_",(0..4));
115 and $inp, 7, $ileft
116 andn $inp, 7, $inp
119 prefetch [$inp], 20
120 prefetch [$inp + 63], 20
[all …]

12345678910>>...15