/freebsd-10.2-release/crypto/openssl/crypto/whrlpool/ |
H A D | wp_dgst.c | 72 const unsigned char *inp = _inp; local 75 WHIRLPOOL_BitUpdate(c, inp, chunk * 8); 77 inp += chunk; 80 WHIRLPOOL_BitUpdate(c, inp, bytes * 8); 90 const unsigned char *inp = _inp; local 110 whirlpool_block(c, inp, n); 111 inp += n * WHIRLPOOL_BBLOCK / 8; 120 memcpy(c->data + byteoff, inp, bitrem); 121 inp += bitrem; 125 memcpy(c->data + byteoff, inp, bit 246 WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md) argument [all...] |
/freebsd-10.2-release/crypto/openssl/crypto/modes/asm/ |
H A D | ghash-x86.pl | 126 $inp = "edi"; 150 my $cnt = $inp; 253 &mov ($inp,&wparam(0)); # load Xi 256 &mov ($Zhh,&DWP(0,$inp)); # load Xi[16] 257 &mov ($Zhl,&DWP(4,$inp)); 258 &mov ($Zlh,&DWP(8,$inp)); 259 &mov ($Zll,&DWP(12,$inp)); 274 &mov ($inp,&wparam(0)); 277 &mov (&DWP(12,$inp),$Zll); 278 &mov (&DWP(8,$inp), [all...] |
/freebsd-10.2-release/sys/netinet/ |
H A D | tcp_subr.c | 283 struct inpcb *inp = mem; local 285 INP_LOCK_INIT(inp, "inp", "tcpinp"); 458 tcpip_fillheaders(struct inpcb *inp, void *ip_ptr, void *tcp_ptr) argument 462 INP_WLOCK_ASSERT(inp); 465 if ((inp->inp_vflag & INP_IPV6) != 0) { 470 (inp->inp_flow & IPV6_FLOWINFO_MASK); 475 ip6->ip6_src = inp->in6p_laddr; 476 ip6->ip6_dst = inp->in6p_faddr; 489 ip->ip_tos = inp 518 tcpip_maketemplate(struct inpcb *inp) argument 556 struct inpcb *inp; local 733 tcp_newtcpcb(struct inpcb *inp) argument 836 struct inpcb *inp; local 914 struct inpcb *inp = tp->t_inpcb; local 1060 struct inpcb *inp; local 1095 struct inpcb *inp = tp->t_inpcb; local 1172 tcp_notify(struct inpcb *inp, int error) argument 1219 struct inpcb *inp, **inp_list; local 1369 struct inpcb *inp; local 1406 struct inpcb *inp; local 1472 struct inpcb *inp; local 1777 tcp_drop_syn_sent(struct inpcb *inp, int errno) argument 1806 tcp_mtudisc_notify(struct inpcb *inp, int error) argument 1813 tcp_mtudisc(struct inpcb *inp, int mtuoffer) argument 1941 struct inpcb *inp; local 2241 struct inpcb *inp; local [all...] |
H A D | sctp_var.h | 46 #define sctp_feature_on(inp, feature) (inp->sctp_features |= feature) 47 #define sctp_feature_off(inp, feature) (inp->sctp_features &= ~feature) 48 #define sctp_is_feature_on(inp, feature) ((inp->sctp_features & feature) == feature) 49 #define sctp_is_feature_off(inp, feature) ((inp->sctp_features & feature) == 0) 51 #define sctp_stcb_feature_on(inp, stcb, feature) {\ 54 } else if (inp) { \ [all...] |
H A D | in_pcb.h | 394 #define INP_LOCK_INIT(inp, d, t) \ 395 rw_init_flags(&(inp)->inp_lock, (t), RW_RECURSE | RW_DUPOK) 396 #define INP_LOCK_DESTROY(inp) rw_destroy(&(inp)->inp_lock) 397 #define INP_RLOCK(inp) rw_rlock(&(inp)->inp_lock) 398 #define INP_WLOCK(inp) rw_wlock(&(inp)->inp_lock) 399 #define INP_TRY_RLOCK(inp) rw_try_rlock(&(inp) [all...] |
H A D | sctputil.c | 86 sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) argument 90 sctp_clog.x.close.inp = (void *)inp; 91 sctp_clog.x.close.sctp_flags = inp->sctp_flags; 323 sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from) argument 328 if (inp) { 329 sctp_clog.x.lock.sock = (void *)inp->sctp_socket; 334 sctp_clog.x.lock.inp = (void *)inp; 340 if (inp) { 587 sctp_auditing(int from, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 837 sctp_select_initial_TSN(struct sctp_pcb *inp) argument 875 sctp_select_a_tag(struct sctp_inpcb *inp, uint16_t lport, uint16_t rport, int check) argument 897 sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint32_t override_tag, uint32_t vrf_id) argument 1443 struct sctp_inpcb *inp; local 1883 sctp_timer_start(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 2168 sctp_timer_stop(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t from) argument 2339 sctp_mtu_size_reset(struct sctp_inpcb *inp, struct sctp_association *asoc, uint32_t mtu) argument 3874 sctp_abort_association(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct mbuf *m, int iphlen, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct mbuf *op_err, uint8_t mflowtype, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument 3988 sctp_abort_an_association(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct mbuf *op_err, int so_locked SCTP_UNUSED ) argument 4050 sctp_handle_ootb(struct mbuf *m, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_inpcb *inp, struct mbuf *cause, uint8_t mflowtype, uint32_t mflowid, uint16_t fibnum, uint32_t vrf_id, uint16_t port) argument 4377 sctp_add_to_readq(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_queued_to_read *control, struct sockbuf *sb, int end, int inp_read_lock_held, int so_locked SCTP_UNUSED ) argument 4504 sctp_append_to_readq(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_queued_to_read *control, struct mbuf *m, int end, int ctls_cumack, struct sockbuf *sb) argument 4962 sctp_find_ifa_in_ep(struct sctp_inpcb *inp, struct sockaddr *addr, int holds_lock) argument 5207 struct sctp_inpcb *inp = NULL; local 6247 struct sctp_inpcb *inp; local 6305 struct sctp_inpcb *inp; local 6380 sctp_connectx_helper_find(struct sctp_inpcb *inp, struct sockaddr *addr, int *totaddr, int *num_v4, int *num_v6, int *error, int limit, int *bad_addr) argument 6461 sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp, struct sockaddr *sa, sctp_assoc_t assoc_id, uint32_t vrf_id, int *error, void *p) argument 6593 sctp_bindx_delete_address(struct sctp_inpcb *inp, struct sockaddr *sa, sctp_assoc_t assoc_id, uint32_t vrf_id, int *error) argument [all...] |
H A D | ip_output.c | 120 struct ip_moptions *imo, struct inpcb *inp) 144 if (inp != NULL) { 145 INP_LOCK_ASSERT(inp); 146 M_SETFIB(m, inp->inp_inc.inc_fibnum); 147 if (inp->inp_flowtype != M_HASHTYPE_NONE) { 148 m->m_pkthdr.flowid = inp->inp_flowid; 280 inp ? inp->inp_inc.inc_fibnum : M_GETFIB(m)); 283 inp ? inp 119 ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, struct ip_moptions *imo, struct inpcb *inp) argument 904 struct inpcb *inp = sotoinpcb(so); local [all...] |
H A D | tcp_timer.c | 182 #define INP_CPU(inp) (per_cpu_timers ? (!CPU_ABSENT(((inp)->inp_flowid % (mp_maxid+1))) ? \ 183 ((inp)->inp_flowid % (mp_maxid+1)) : curcpu) : 0) 220 struct inpcb *inp; local 223 inp = tp->t_inpcb; 224 KASSERT(inp != NULL, ("%s: tp %p tp->t_inpcb == NULL", __func__, tp)); 225 INP_WLOCK(inp); 228 INP_WUNLOCK(inp); 233 if ((inp->inp_flags & INP_DROPPED) != 0) { 234 INP_WUNLOCK(inp); 254 struct inpcb *inp; local 326 struct inpcb *inp; local 424 struct inpcb *inp; local 505 struct inpcb *inp; local 766 struct inpcb *inp = tp->t_inpcb; local [all...] |
H A D | sctp_asconf.h | 62 sctp_asconf_iterator_ep(struct sctp_inpcb *inp, void *ptr, 65 sctp_asconf_iterator_stcb(struct sctp_inpcb *inp,
|
H A D | sctp_sysctl.c | 140 sctp_sysctl_number_of_addresses(struct sctp_inpcb *inp) argument 150 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) { 153 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { 171 LIST_FOREACH(laddr, &inp->sctp_addr_list, sctp_nxt_addr) { 190 sctp_sysctl_copy_out_local_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sysctl_req *req) argument 216 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { 218 if (SCTP_IPV6_V6ONLY(inp)) { 230 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) { 231 SCTP_INP_RUNLOCK(inp); 235 if (inp 364 struct sctp_inpcb *inp; local [all...] |
/freebsd-10.2-release/sys/dev/cxgbe/tom/ |
H A D | t4_listen.c | 190 alloc_lctx(struct adapter *sc, struct inpcb *inp, struct port_info *pi) argument 194 INP_WLOCK_ASSERT(inp); 200 lctx->stid = alloc_stid(sc, lctx, inp->inp_vflag & INP_IPV6); 206 if (inp->inp_vflag & INP_IPV6 && 207 !IN6_ARE_ADDR_EQUAL(&in6addr_any, &inp->in6p_laddr)) { 210 lctx->ce = hold_lip(td, &inp->in6p_laddr); 222 lctx->inp = inp; 223 in_pcbref(inp); 232 struct inpcb *inp local 286 listen_hash_find(struct adapter *sc, struct inpcb *inp) argument 306 listen_hash_del(struct adapter *sc, struct inpcb *inp) argument 333 struct inpcb *inp = lctx->inp; local 419 struct inpcb *inp = lctx->inp; local 447 struct inpcb *inp = lctx->inp; local 506 struct inpcb *inp = tp->t_inpcb; local 593 struct inpcb *inp = tp->t_inpcb; local 719 struct inpcb *inp = lctx->inp; local 746 ("%s: inp %p still in listen hash", __func__, inp)); local 794 struct inpcb *inp = lctx->inp; local 824 struct inpcb *inp = lctx->inp; local 849 struct inpcb *inp = lctx->inp; local 898 struct inpcb *inp = lctx->inp; local 928 struct inpcb *inp = sotoinpcb(so); local 1221 struct inpcb *inp; local 1498 struct inpcb *inp = lctx->inp; local [all...] |
H A D | t4_cpl_io.c | 182 struct inpcb *inp = toep->inp; local 183 struct tcpcb *tp = intotcpcb(inp); /* don't use if INP_DROPPED */ 185 INP_WLOCK_ASSERT(inp); 189 inp->inp_flags & INP_DROPPED ? "inp dropped" : 191 toep->flags, inp->inp_flags, 211 if (inp->inp_flags & INP_DROPPED) 219 * XXX: What's the correct way to tell that the inp hasn't been detached 222 if ((inp 240 struct inpcb *inp = tp->t_inpcb; local 288 struct inpcb *inp = toep->inp; local 374 struct inpcb *inp = tp->t_inpcb; local 604 struct inpcb *inp = toep->inp; local 814 struct inpcb *inp = toep->inp; local 982 struct inpcb *inp = tp->t_inpcb; local 1001 struct inpcb *inp = tp->t_inpcb; local 1026 struct inpcb *inp = tp->t_inpcb; local 1054 struct inpcb *inp = toep->inp; local 1171 struct inpcb *inp = toep->inp; local 1362 struct inpcb *inp; local 1433 struct inpcb *inp = toep->inp; local 1466 struct inpcb *inp = toep->inp; local 1665 struct inpcb *inp; local [all...] |
H A D | t4_connect.c | 121 struct inpcb *inp = toep->inp; local 129 INP_WLOCK(inp); 132 if (inp->inp_flags & INP_DROPPED) { 143 INP_WUNLOCK(inp); 185 struct inpcb *inp = toep->inp; local 193 INP_WLOCK(inp); 194 toe_connect_failed(tod, inp, status); 195 final_cpl_received(toep); /* unlocks inp */ 326 struct inpcb *inp = sotoinpcb(so); local [all...] |
/freebsd-10.2-release/contrib/gdb/gdb/cli/ |
H A D | cli-dump.h | 36 extern char *skip_spaces (char *inp);
|
/freebsd-10.2-release/usr.bin/m4/ |
H A D | trace.c | 135 print_header(struct input_file *inp) argument 139 fprintf(traceout, "%s:", inp->name); 141 fprintf(traceout, "%lu:", inp->lineno); 148 trace(const char *argv[], int argc, struct input_file *inp) argument 152 print_header(inp); 155 print_header(inp); 177 print_header(inp);
|
/freebsd-10.2-release/usr.bin/netstat/ |
H A D | inet.c | 187 struct inpcb *inp; local 243 LIST_FOREACH(inp, &listhead, inp_list) { 245 KREAD(inp, &xt.xt_inp, sizeof(*inp)); 246 inp = &xt.xt_inp; 248 KREAD(inp, &xi.xi_inp, sizeof(*inp)); 249 inp = &xi.xi_inp; 252 if (inp->inp_gencnt > pcbinfo.ipi_gencnt) 256 if (inp 310 struct inpcb *inp; local 1298 inetname(struct in_addr *inp) argument [all...] |
/freebsd-10.2-release/sys/netinet6/ |
H A D | raw_ip6.c | 183 /* XXX inp locking */ 591 struct inpcb *inp; local 603 inp = sotoinpcb(so); 604 INP_WLOCK(inp); 605 inp->inp_inc.inc_fibnum = so->so_fibnum; 606 INP_WUNLOCK(inp); 664 struct inpcb *inp; local 668 inp = sotoinpcb(so); 669 KASSERT(inp == NULL, ("rip6_attach: inp ! 702 struct inpcb *inp; local 722 struct inpcb *inp; local 733 struct inpcb *inp; local 744 struct inpcb *inp; local 759 struct inpcb *inp; local 799 struct inpcb *inp; local 857 struct inpcb *inp; local 872 struct inpcb *inp; local [all...] |
/freebsd-10.2-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_cpl_io.c | 113 #define INP_TOS(inp) ((inp_ip_tos_get(inp) >> 2) & M_TOS) 121 * The inp must be wlocked on entry and is unlocked (or maybe destroyed) by the 127 struct inpcb *inp = toep->tp_inp; local 132 INP_WLOCK_ASSERT(inp); 148 rc = in_pcbrele_wlocked(inp); 150 INP_WUNLOCK(inp); 160 toepcb_detach(struct inpcb *inp) argument 165 KASSERT(inp, ("%s: inp i 590 struct inpcb *inp = tp->t_inpcb; local 635 struct inpcb *inp = tp->t_inpcb; local 656 struct inpcb *inp = tp->t_inpcb; local 771 struct inpcb *inp = sotoinpcb(so); local 804 struct inpcb *inp = sotoinpcb(so); local 840 struct inpcb *inp = sotoinpcb(so); local 914 struct inpcb *inp = toep->tp_inp; local 957 struct inpcb *inp = sotoinpcb(so); local 1056 struct inpcb *inp = toep->tp_inp; local 1114 struct inpcb *inp = toep->tp_inp; local 1220 struct inpcb *inp = toep->tp_inp; local 1283 struct inpcb *inp = toep->tp_inp; local 1376 struct inpcb *inp; local 1475 struct inpcb *inp; local 1571 struct inpcb *inp = sotoinpcb(so); local 1624 struct inpcb *inp = toep->tp_inp; local 1655 struct inpcb *inp = toep->tp_inp; local 1706 struct inpcb *inp = toep->tp_inp; local [all...] |
/freebsd-10.2-release/crypto/openssl/crypto/aes/asm/ |
H A D | aesni-x86_64.pl | 186 $inp="%rdi"; 237 # void $PREFIX_[en|de]crypt (const void *inp,void *out,const AES_KEY *key); 239 { my ($inp,$out,$key) = @_4args; 246 movups ($inp),$inout0 # load input 259 movups ($inp),$inout0 # load input 554 movdqu ($inp),$inout0 555 movdqu 0x10($inp),$inout1 556 movdqu 0x20($inp),$inout2 557 movdqu 0x30($inp),$inout3 558 movdqu 0x40($inp), [all...] |
H A D | bsaes-x86_64.pl | 111 my ($inp,$out,$len,$key,$ivp)=("%rdi","%rsi","%rdx","%rcx"); 941 my ($out,$inp,$rounds,$const)=("%rax","%rcx","%r10d","%r11"); 972 movdqu ($inp), %xmm7 # load round 0 key 973 lea 0x10($inp), $inp 981 movdqu ($inp), %xmm6 # load round 1 key 1024 lea 0x10($inp), $inp 1034 movdqu ($inp), %xmm6 # load next round key 1060 mov 240($inp), [all...] |
H A D | vpaes-x86.pl | 57 my ($round, $base, $magic, $key, $const, $inp, $out)= 372 &movdqu ("xmm0",&QWP(0,$inp)); # load key (unaligned) 436 &movdqu ("xmm0",&QWP(8,$inp)); # load key part 2 (very unaligned) 467 &movdqu ("xmm0",&QWP(16,$inp)); # load key part 2 (unaligned) 699 &lea ($inp,&DWP($k_dksd,$const)); 705 &movdqa ("xmm2",&QWP(0,$inp)); 707 &movdqa ("xmm3",&QWP(0x10,$inp)); 712 &movdqa ("xmm2",&QWP(0x20,$inp)); 715 &movdqa ("xmm3",&QWP(0x30,$inp)); 720 &movdqa ("xmm2",&QWP(0x40,$inp)); [all...] |
/freebsd-10.2-release/contrib/ngatm/libngatm/ |
H A D | unimsg.c | 231 uni_msg_dup(const struct uni_msg *inp) argument 236 len = inp->b_wptr - inp->b_rptr; 237 off = inp->b_rptr - inp->b_buf; 238 if ((msg = uni_msg_alloc(inp->b_lim - inp->b_buf)) == NULL) 242 (void)memcpy(msg->b_rptr, inp->b_rptr, len);
|
/freebsd-10.2-release/contrib/ipfilter/lib/ |
H A D | printdstlistnode.c | 11 printdstlistnode(inp, copyfunc, opts, fields) 12 ipf_dstnode_t *inp; 24 if ((*copyfunc)(inp, &node, sizeof(node))) 30 if ((*copyfunc)(inp, np, node.ipfd_size))
|
/freebsd-10.2-release/crypto/openssl/crypto/rc4/asm/ |
H A D | rc4-x86_64.pl | 120 $inp="%rdx"; # arg3 140 mov $inp,%r12 144 my $inp="%r12"; 165 sub $inp,$out 184 xorb ($inp),$TY#b 185 movb $TY#b,($out,$inp) 186 lea 1($inp),$inp 216 xor ($inp),%r8 217 mov %r8,($out,$inp) [all...] |
/freebsd-10.2-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_udp.c | 43 struct xinpcb *inp; member in struct:udp_index 69 struct xinpcb *inp; local 107 inp = (struct xinpcb *)ptr; 108 if (inp->xi_inp.inp_gencnt > xinpgen->xig_gen || 109 (inp->xi_inp.inp_vflag & INP_IPV4) == 0) 130 inp = (struct xinpcb *)ptr; 131 if (inp->xi_inp.inp_gencnt > xinpgen->xig_gen || 132 (inp->xi_inp.inp_vflag & INP_IPV4) == 0) 134 oid->inp = inp; [all...] |