/freebsd-9.3-release/sys/netinet/ |
H A D | in_pcb.c | 131 static void in_pcbremlists(struct inpcb *inp); 269 struct inpcb *inp; local 274 inp = uma_zalloc(pcbinfo->ipi_zone, M_NOWAIT); 275 if (inp == NULL) 277 bzero(inp, inp_zero_size); 278 inp->inp_pcbinfo = pcbinfo; 279 inp->inp_socket = so; 280 inp->inp_cred = crhold(so->so_cred); 281 inp->inp_inc.inc_fibnum = so->so_fibnum; 283 error = mac_inpcb_init(inp, M_NOWAI 326 in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) argument 354 in_pcb_lport(struct inpcb *inp, struct in_addr *laddrp, u_short *lportp, struct ucred *cred, int lookupflags) argument 474 inp_so_options(const struct inpcb *inp) argument 499 in_pcbbind_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp, u_short *lportp, struct ucred *cred) argument 647 in_pcbconnect_mbuf(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred, struct mbuf *m) argument 689 in_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) argument 700 in_pcbladdr(struct inpcb *inp, struct in_addr *faddr, struct in_addr *laddr, struct ucred *cred) argument 935 in_pcbconnect_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp, u_short *lportp, in_addr_t *faddrp, u_short *fportp, struct inpcb **oinpp, struct ucred *cred) argument 1047 in_pcbdisconnect(struct inpcb *inp) argument 1066 in_pcbdetach(struct inpcb *inp) argument 1095 in_pcbref(struct inpcb *inp) argument 1116 in_pcbrele_rlocked(struct inpcb *inp) argument 1145 in_pcbrele_wlocked(struct inpcb *inp) argument 1168 in_pcbrele(struct inpcb *inp) argument 1184 in_pcbfree(struct inpcb *inp) argument 1238 in_pcbdrop(struct inpcb *inp) argument 1288 struct inpcb *inp; local 1307 struct inpcb *inp; local 1327 struct inpcb *inp, *inp_temp; local 1352 struct inpcb *inp; local 1398 struct inpcb *inp; local 1522 struct inpcb *inp, *tmpinp; local 1665 struct inpcb *inp, *tmpinp; local 1792 struct inpcb *inp; local 1882 in_pcbinshash_internal(struct inpcb *inp, int do_pcbgroup_update) argument 1951 in_pcbinshash(struct inpcb *inp) argument 1958 in_pcbinshash_nopcbgroup(struct inpcb *inp) argument 1971 in_pcbrehash_mbuf(struct inpcb *inp, struct mbuf *m) argument 2005 in_pcbrehash(struct inpcb *inp) argument 2015 in_pcbremlists(struct inpcb *inp) argument 2051 struct inpcb *inp; local 2117 inp_wlock(struct inpcb *inp) argument 2124 inp_wunlock(struct inpcb *inp) argument 2131 inp_rlock(struct inpcb *inp) argument 2138 inp_runlock(struct inpcb *inp) argument 2146 inp_lock_assert(struct inpcb *inp) argument 2153 inp_unlock_assert(struct inpcb *inp) argument 2163 struct inpcb *inp; local 2175 inp_inpcbtosocket(struct inpcb *inp) argument 2183 inp_inpcbtotcpcb(struct inpcb *inp) argument 2191 inp_ip_tos_get(const struct inpcb *inp) argument 2198 inp_ip_tos_set(struct inpcb *inp, int val) argument 2205 inp_4tuple_get(struct inpcb *inp, uint32_t *laddr, uint16_t *lp, uint32_t *faddr, uint16_t *fp) argument 2412 db_print_inpcb(struct inpcb *inp, const char *name, int indent) argument 2469 struct inpcb *inp; local [all...] |
H A D | in_pcbgroup.c | 233 in_pcbgroup_byinpcb(struct inpcb *inp) argument 236 return (in_pcbgroup_bytuple(inp->inp_pcbinfo, inp->inp_laddr, 237 inp->inp_lport, inp->inp_faddr, inp->inp_fport)); 241 in_pcbwild_add(struct inpcb *inp) argument 247 INP_WLOCK_ASSERT(inp); 248 KASSERT(!(inp->inp_flags2 & INP_PCBGROUPWILD), 251 pcbinfo = inp 263 in_pcbwild_remove(struct inpcb *inp) argument 282 in_pcbwild_needed(struct inpcb *inp) argument 294 in_pcbwild_update_internal(struct inpcb *inp) argument 312 in_pcbgroup_update_internal(struct inpcbinfo *pcbinfo, struct inpcbgroup *newpcbgroup, struct inpcb *inp) argument 361 in_pcbgroup_update(struct inpcb *inp) argument 387 in_pcbgroup_update_mbuf(struct inpcb *inp, struct mbuf *m) argument 427 in_pcbgroup_remove(struct inpcb *inp) argument [all...] |
H A D | sctp_peeloff.c | 52 struct sctp_inpcb *inp; local 60 inp = (struct sctp_inpcb *)head->so_pcb; 61 if (inp == NULL) { 65 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || 66 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { 67 SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EOPNOTSUPP); 70 stcb = sctp_findassociation_ep_asocid(inp, assoc_id, 1); 72 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOENT); 79 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOTCONN); 90 struct sctp_inpcb *inp, *n_in local [all...] |
H A D | udp_usrreq.c | 177 struct inpcb *inp; local 179 inp = mem; 180 INP_LOCK_INIT(inp, "inp", "udpinp"); 213 udp_newudpcb(struct inpcb *inp) argument 220 inp->inp_ppcb = up; 250 udp_append(struct inpcb *inp, struct ip *ip, struct mbuf *n, int off, argument 261 INP_LOCK_ASSERT(inp); 266 up = intoudpcb(inp); 268 (*up->u_tun_func)(n, off, inp); 340 struct inpcb *inp; local 630 udp_notify(struct inpcb *inp, int errno) argument 654 struct inpcb *inp; local 697 struct inpcb *inp, **inp_list; local 810 struct inpcb *inp; local 847 struct inpcb *inp; local 945 udp_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr, struct mbuf *control, struct thread *td) argument 1275 udp4_espdecap(struct inpcb *inp, struct mbuf *m, int off) argument 1402 struct inpcb *inp; local 1420 struct inpcb *inp; local 1456 struct inpcb *inp; local 1478 struct inpcb *inp; local 1494 struct inpcb *inp; local 1512 struct inpcb *inp; local 1541 struct inpcb *inp; local 1562 struct inpcb *inp; local 1586 struct inpcb *inp; local 1597 struct inpcb *inp; local [all...] |
H A D | sctp_usrreq.c | 148 sctp_notify_mbuf(struct sctp_inpcb *inp, argument 159 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || 197 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net, 212 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net); 220 sctp_notify(struct sctp_inpcb *inp, argument 234 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || 287 so = SCTP_INP_SO(inp); 294 (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC, SCTP_FROM_SCTP_USRREQ + SCTP_LOC_2); 328 struct sctp_inpcb *inp = NULL; local 350 &inp, 382 struct sctp_inpcb *inp; local 443 struct sctp_inpcb *inp; local 485 struct sctp_inpcb *inp; local 550 struct sctp_inpcb *inp; local 571 struct sctp_inpcb *inp; local 636 struct sctp_inpcb *inp; local 720 struct sctp_inpcb *inp; local 895 struct sctp_inpcb *inp; local 939 struct sctp_inpcb *inp; local 1092 sctp_fill_up_addresses_vrf(struct sctp_inpcb *inp, struct sctp_tcb *stcb, size_t limit, struct sockaddr_storage *sas, uint32_t vrf_id) argument 1331 sctp_fill_up_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, size_t limit, struct sockaddr_storage *sas) argument 1350 sctp_count_max_addresses_vrf(struct sctp_inpcb *inp, uint32_t vrf_id) argument 1419 sctp_count_max_addresses(struct sctp_inpcb *inp) argument 1431 sctp_do_connect_x(struct socket *so, struct sctp_inpcb *inp, void *optval, size_t optsize, void *p, int delay) argument 1625 struct sctp_inpcb *inp = NULL; local 3343 struct sctp_inpcb *inp = NULL; local 5933 struct sctp_inpcb *inp; local 6094 struct sctp_inpcb *inp; local 6251 struct sctp_inpcb *inp; local 6369 struct sctp_inpcb *inp; local 6467 struct sctp_inpcb *inp; local [all...] |
H A D | raw_ip.c | 152 rip_inshash(struct inpcb *inp) argument 154 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo; 159 INP_WLOCK_ASSERT(inp); 161 if (inp->inp_ip_p != 0 && 162 inp->inp_laddr.s_addr != INADDR_ANY && 163 inp->inp_faddr.s_addr != INADDR_ANY) { 164 hash = INP_PCBHASH_RAW(inp->inp_ip_p, inp->inp_laddr.s_addr, 165 inp->inp_faddr.s_addr, pcbinfo->ipi_hashmask); 169 LIST_INSERT_HEAD(pcbhash, inp, inp_has 173 rip_delhash(struct inpcb *inp) argument 200 struct inpcb *inp = mem; local 281 struct inpcb *inp, *last; local 427 struct inpcb *inp = sotoinpcb(so); local 544 struct inpcb *inp = sotoinpcb(so); local 784 struct inpcb *inp; local 817 struct inpcb *inp; local 839 rip_dodisconnect(struct socket *so, struct inpcb *inp) argument 859 struct inpcb *inp; local 870 struct inpcb *inp; local 881 struct inpcb *inp; local 897 struct inpcb *inp; local 931 struct inpcb *inp; local 957 struct inpcb *inp; local 972 struct inpcb *inp; local 1002 struct inpcb *inp, **inp_list; local [all...] |
H A D | tcp_usrreq.c | 128 struct inpcb *inp; local 133 inp = sotoinpcb(so); 134 KASSERT(inp == NULL, ("tcp_usr_attach: inp != NULL")); 144 inp = sotoinpcb(so); 145 tp = intotcpcb(inp); 161 tcp_detach(struct socket *so, struct inpcb *inp) argument 166 INP_WLOCK_ASSERT(inp); 168 KASSERT(so->so_pcb == inp, ("tcp_detach: so_pcb != inp")); 227 struct inpcb *inp; local 247 struct inpcb *inp; local 288 struct inpcb *inp; local 350 struct inpcb *inp; local 391 struct inpcb *inp; local 443 struct inpcb *inp; local 491 struct inpcb *inp; local 585 struct inpcb *inp; local 624 struct inpcb *inp = NULL; local 666 struct inpcb *inp = NULL; local 724 struct inpcb *inp; local 757 struct inpcb *inp; local 796 struct inpcb *inp; local 939 struct inpcb *inp; local 977 struct inpcb *inp; local 1017 struct inpcb *inp; local 1110 struct inpcb *inp = tp->t_inpcb, *oinp; local 1171 struct inpcb *inp = tp->t_inpcb, *oinp; local 1309 struct inpcb *inp; local 1608 struct inpcb *inp; local 1657 struct inpcb *inp = tp->t_inpcb; local [all...] |
H A D | ip_divert.c | 137 struct inpcb *inp = mem; local 139 INP_LOCK_INIT(inp, "inp", "divinp"); 146 struct inpcb *inp = mem; local 148 INP_LOCK_DESTROY(inp); 194 struct inpcb *inp; local 284 LIST_FOREACH(inp, &V_divcb, inp_list) { 286 if (inp->inp_lport == nport) { 287 INP_RLOCK(inp); 288 sa = inp 376 struct inpcb *inp; local 522 struct inpcb *inp; local 553 struct inpcb *inp; local 567 struct inpcb *inp; local 595 struct inpcb *inp; local 638 struct inpcb *inp, **inp_list; local [all...] |
H A D | sctp_pcb.c | 901 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, 920 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred, 1022 struct sctp_inpcb *inp; local 1061 LIST_FOREACH(inp, ephead, sctp_hash) { 1062 SCTP_INP_RLOCK(inp); 1063 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { 1064 SCTP_INP_RUNLOCK(inp); 1067 if (lport != inp->sctp_lport) { 1068 SCTP_INP_RUNLOCK(inp); 1078 if (prison_check_ip4(inp 1278 struct sctp_inpcb *inp; local 1558 sctp_findasoc_ep_asocid_locked(struct sctp_inpcb *inp, sctp_assoc_t asoc_id, int want_lock) argument 1606 sctp_findassociation_ep_asocid(struct sctp_inpcb *inp, sctp_assoc_t asoc_id, int want_lock) argument 1624 struct sctp_inpcb *inp; local 1818 sctp_isport_inuse(struct sctp_inpcb *inp, uint16_t lport, uint32_t vrf_id) argument 1867 sctp_swap_inpcb_for_listen(struct sctp_inpcb *inp) argument 1924 struct sctp_inpcb *inp; local 2006 struct sctp_inpcb *inp = NULL; local 2265 struct sctp_inpcb *inp; local 2447 struct sctp_inpcb *inp; local 2489 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local 2504 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local 2535 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local 2555 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local 2569 LIST_INSERT_HEAD(&SCTP_BASE_INFO(listhead), inp, sctp_list); local 2797 struct sctp_inpcb *inp, *inp_tmp; local 3222 sctp_iterator_inp_being_freed(struct sctp_inpcb *inp) argument 3292 sctp_inpcb_free(struct sctp_inpcb *inp, int immediate, int from) argument 3706 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local 4125 sctp_aloc_a_assoc_id(struct sctp_inpcb *inp, struct sctp_tcb *stcb) argument 4164 sctp_aloc_assoc(struct sctp_inpcb *inp, struct sockaddr *firstaddr, int *error, uint32_t override_tag, uint32_t vrf_id, struct thread *p ) argument 4635 sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfree, int from_location) argument 5244 struct sctp_inpcb *inp; local 5291 sctp_update_ep_vflag(struct sctp_inpcb *inp) argument 5329 sctp_add_local_addr_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa, uint32_t action) argument 5411 sctp_del_local_addr_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa) argument 5568 struct sctp_inpcb *inp; local 6054 struct sctp_inpcb *inp; local 6905 struct sctp_inpcb *inp; local [all...] |
H A D | tcp_timewait.c | 194 * inp is locked, and is unlocked before returning. 200 struct inpcb *inp = tp->t_inpcb; local 204 int isipv6 = inp->inp_inc.inc_flags & INC_ISIPV6; 208 INP_WLOCK_ASSERT(inp); 214 error = in6_localaddr(&inp->in6p_faddr); 220 error = in_localip(inp->inp_faddr); 225 INP_WUNLOCK(inp); 236 INP_WUNLOCK(inp); 240 tw->tw_inpcb = inp; 285 so = inp 352 tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, struct mbuf *m, int tlen) argument 447 struct inpcb *inp; local 507 struct inpcb *inp = tw->tw_inpcb; local [all...] |
H A D | tcp_subr.c | 279 struct inpcb *inp = mem; local 281 INP_LOCK_INIT(inp, "inp", "tcpinp"); 396 tcpip_fillheaders(struct inpcb *inp, void *ip_ptr, void *tcp_ptr) argument 400 INP_WLOCK_ASSERT(inp); 403 if ((inp->inp_vflag & INP_IPV6) != 0) { 408 (inp->inp_flow & IPV6_FLOWINFO_MASK); 413 ip6->ip6_src = inp->in6p_laddr; 414 ip6->ip6_dst = inp->in6p_faddr; 427 ip->ip_tos = inp 456 tcpip_maketemplate(struct inpcb *inp) argument 494 struct inpcb *inp; local 667 tcp_newtcpcb(struct inpcb *inp) argument 764 struct inpcb *inp; local 842 struct inpcb *inp = tp->t_inpcb; local 957 struct inpcb *inp = tp->t_inpcb; local 1034 tcp_notify(struct inpcb *inp, int error) argument 1081 struct inpcb *inp, **inp_list; local 1231 struct inpcb *inp; local 1268 struct inpcb *inp; local 1334 struct inpcb *inp; local 1640 tcp_drop_syn_sent(struct inpcb *inp, int errno) argument 1669 tcp_mtudisc_notify(struct inpcb *inp, int error) argument 1676 tcp_mtudisc(struct inpcb *inp, int mtuoffer) argument 1800 struct inpcb *inp; local 2100 struct inpcb *inp; local [all...] |
H A D | tcp_timer.c | 131 #define INP_CPU(inp) (per_cpu_timers ? (!CPU_ABSENT(((inp)->inp_flowid % (mp_maxid+1))) ? \ 132 ((inp)->inp_flowid % (mp_maxid+1)) : curcpu) : 0) 175 struct inpcb *inp; local 178 inp = tp->t_inpcb; 184 * KASSERT(inp != NULL, ("tcp_timer_delack: inp == NULL")); 186 if (inp == NULL) { 191 INP_WLOCK(inp); 194 INP_WUNLOCK(inp); 216 struct inpcb *inp; local 297 struct inpcb *inp; local 400 struct inpcb *inp; local 489 struct inpcb *inp; local 653 struct inpcb *inp = tp->t_inpcb; local [all...] |
/freebsd-9.3-release/sbin/fsck_ffs/ |
H A D | pass3.c | 51 struct inoinfo *inp; local 69 inp = inpsort[inpindex]; 70 state = inoinfo(inp->i_number)->ino_state; 71 if (inp->i_number == ROOTINO || 72 (inp->i_parent != 0 && !S_IS_DUNFOUND(state))) 84 if (inp->i_dotdot >= ROOTINO) 85 inoinfo(inp->i_dotdot)->ino_linkcnt++; 89 orphan = inp->i_number; 90 if (inp->i_parent == 0 || 91 !INO_IS_DUNFOUND(inp [all...] |
H A D | pass2.c | 63 struct inoinfo **inpp, *inp; local 150 inp = *inpp; 151 if (inp->i_isize == 0) 153 if (inp->i_isize < MINDIRSIZE) { 154 direrror(inp->i_number, "DIRECTORY TOO SHORT"); 155 inp->i_isize = roundup(MINDIRSIZE, DIRBLKSIZ); 157 dp = ginode(inp->i_number); 158 DIP_SET(dp, di_size, inp->i_isize); 161 } else if ((inp->i_isize & (DIRBLKSIZ - 1)) != 0) { 162 getpathname(pathbuf, inp 278 struct inoinfo *inp; local 521 fix_extraneous(struct inoinfo *inp, struct inodesc *idesc) argument [all...] |
/freebsd-9.3-release/sys/netinet6/ |
H A D | in6_pcb.c | 112 in6_pcbbind(register struct inpcb *inp, struct sockaddr *nam, argument 115 struct socket *so = inp->inp_socket; 117 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo; 122 INP_WLOCK_ASSERT(inp); 127 if (inp->inp_lport || !IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr)) 132 if ((error = prison_local_ip6(cred, &inp->in6p_laddr, 133 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) 149 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) 169 (inp 308 in6_pcbladdr(register struct inpcb *inp, struct sockaddr *nam, struct in6_addr *plocal_addr6) argument 379 in6_pcbconnect_mbuf(register struct inpcb *inp, struct sockaddr *nam, struct ucred *cred, struct mbuf *m) argument 426 in6_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) argument 433 in6_pcbdisconnect(struct inpcb *inp) argument 484 register struct inpcb *inp; local 503 struct inpcb *inp; local 522 struct inpcb *inp; local 546 struct inpcb *inp; local 580 struct inpcb *inp, *inp_temp; local 683 register struct inpcb *inp; local 834 in6_rtchange(struct inpcb *inp, int errno) argument 852 struct inpcb *inp, *tmpinp; local 986 struct inpcb *inp, *tmpinp; local 1107 struct inpcb *inp; local [all...] |
H A D | sctp6_usrreq.c | 204 sctp6_notify_mbuf(struct sctp_inpcb *inp, struct icmp6_hdr *icmp6, argument 209 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || 229 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL, SCTP_FROM_SCTP6_USRREQ + SCTP_LOC_1); 272 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL); 281 sctp6_notify(struct sctp_inpcb *inp, argument 294 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || 344 so = SCTP_INP_SO(inp); 351 (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC, SCTP_FROM_SCTP_USRREQ + SCTP_LOC_2); 396 struct sctp_inpcb *inp = NULL; local 410 inp 463 struct sctp_inpcb *inp; local 531 struct sctp_inpcb *inp; local 575 struct sctp_inpcb *inp; local 618 struct sctp_inpcb *inp; local 739 struct sctp_inpcb *inp; local 844 struct sctp_inpcb *inp; local 992 struct sctp_inpcb *inp; local 1092 struct sctp_inpcb *inp; local [all...] |
H A D | udp6_usrreq.c | 132 udp6_append(struct inpcb *inp, struct mbuf *n, int off, argument 138 INP_LOCK_ASSERT(inp); 142 if (ipsec6_in_reject(n, inp)) { 149 if (mac_inpcb_check_deliver(inp, n) != 0) { 155 if (inp->inp_flags & INP_CONTROLOPTS || 156 inp->inp_socket->so_options & SO_TIMESTAMP) 157 ip6_savecontrol(inp, n, &opts); 160 so = inp->inp_socket; 180 struct inpcb *inp; local 273 LIST_FOREACH(inp, 548 struct inpcb *inp; local 590 udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr6, struct mbuf *control, struct thread *td) argument 814 struct inpcb *inp; local 843 struct inpcb *inp; local 889 struct inpcb *inp; local 932 struct inpcb *inp; local 960 struct inpcb *inp; local 1021 struct inpcb *inp; local 1040 struct inpcb *inp; local 1079 struct inpcb *inp; local [all...] |
H A D | in6_pcbgroup.c | 98 in6_pcbgroup_byinpcb(struct inpcb *inp) argument 101 return (in6_pcbgroup_bytuple(inp->inp_pcbinfo, &inp->in6p_laddr, 102 inp->inp_lport, &inp->in6p_faddr, inp->inp_fport));
|
/freebsd-9.3-release/sys/fs/coda/ |
H A D | coda_venus.c | 50 struct coda_in_hdr *inp; \ 58 struct name ## _in *inp; \ 66 struct name ## _in *inp; \ 76 CODA_ALLOC(inp, struct coda_in_hdr *, name ## _size); \ 77 outp = (struct name ## _out *) inp 82 CODA_ALLOC(inp, struct name ## _in *, name ## _size); \ 83 outp = (struct name ## _out *) inp 88 CODA_ALLOC(inp, struct name ## _in *, name ## _size); \ 89 outp = (struct coda_out_hdr *) inp 92 bcopy(name, (char *)inp [all...] |
/freebsd-9.3-release/bin/dd/ |
H A D | conv.c | 60 u_char *inp; local 65 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp) 66 *inp = t[*inp]; 104 u_char *inp, *outp; local 117 for (inp = in.db, cnt = in.dbrcnt; cnt && *inp++ != '\n'; --cnt) 127 in.dbp = inp + cnt - 1; 135 for (inp 218 u_char *inp; local [all...] |
/freebsd-9.3-release/sys/security/mac/ |
H A D | mac_inet.c | 100 mac_inpcb_init(struct inpcb *inp, int flag) argument 104 inp->inp_label = mac_inpcb_label_alloc(flag); 105 if (inp->inp_label == NULL) 108 inp->inp_label = NULL; 156 mac_inpcb_destroy(struct inpcb *inp) argument 159 if (inp->inp_label != NULL) { 160 mac_inpcb_label_free(inp->inp_label); 161 inp->inp_label = NULL; 184 mac_inpcb_create(struct socket *so, struct inpcb *inp) argument 187 MAC_POLICY_PERFORM_NOSLEEP(inpcb_create, so, so->so_label, inp, 234 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) argument 356 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m) argument 379 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp) argument 393 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp) argument 486 mac_syncache_create(struct label *label, struct inpcb *inp) argument [all...] |
/freebsd-9.3-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_listen.c | 88 alloc_lctx(struct tom_data *td, struct inpcb *inp, int qset) argument 92 INP_WLOCK_ASSERT(inp); 104 lctx->inp = inp; 105 in_pcbref(inp); 118 struct inpcb *inp = lctx->inp; local 120 INP_WLOCK_ASSERT(inp); 127 CTR4(KTR_CXGB, "%s: stid %u, lctx %p, inp %p", 128 __func__, lctx->stid, lctx, lctx->inp); 168 listen_hash_find(struct tom_data *td, struct inpcb *inp) argument 187 listen_hash_del(struct tom_data *td, struct inpcb *inp) argument 213 struct inpcb *inp = lctx->inp; local 228 struct inpcb *inp = lctx->inp; local 282 struct inpcb *inp = lctx->inp; local 313 struct inpcb *inp; local 344 ("%s: inp %p still in listen hash", __func__, inp)); local 497 struct inpcb *inp; local 701 struct inpcb *inp = lctx->inp; local 805 struct inpcb *inp = tp->t_inpcb; local 888 struct inpcb *inp = tp->t_inpcb; local 1015 struct inpcb *inp = lctx->inp; local 1066 struct inpcb *inp = lctx->inp; local 1104 struct inpcb *inp = lctx->inp; local 1138 struct inpcb *inp = sotoinpcb(so); local [all...] |
/freebsd-9.3-release/tools/debugscripts/ |
H A D | kld_deb.py | 69 def searchfor(inp, re, j = 0, l = None): 70 """searchfor(inp, re, j, l): Searches for regex re in inp. It will 76 l = inp.readline() 80 l += inp.readline() 82 l = inp.readline() 87 def get_addresses(inp, out): 88 """get_addresses(inp, out): It will search for addresses from gdb. 89 inp and out, are the gdb input and output respectively. Return value is 100 l = searchfor(inp, printr [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | subr_scanf.c | 102 vsscanf(const char *inp, char const *fmt0, va_list ap) argument 124 inr = strlen(inp); 136 while (inr > 0 && isspace(*inp)) 137 nread++, inr--, inp++; 154 if (*inp != c) 156 inr--, inp++; 273 while (isspace(*inp)) { 276 inp++; 302 inp += n; 309 inp [all...] |
/freebsd-9.3-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 1232 struct inpcb *inp; local 1509 struct inpcb *inp = lctx->inp; local [all...] |