Searched refs:inp (Results 1 - 25 of 101) sorted by relevance

12345

/src/sbin/fsck_lfs/
H A Dpass3.c42 struct inoinfo **inpp, *inp; local in function:pass3
47 inp = *inpp;
48 if (inp->i_number == ULFS_ROOTINO || inp->i_number == LFS_IFILE_INUM ||
49 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE))
51 if (statemap[inp->i_number] == DCLEAR)
53 if (statemap[inp->i_number] == FCLEAR)
56 orphan = inp->i_number;
57 if (inp
[all...]
H A Dpass2.c66 struct inoinfo **inpp, *inp; local in function:pass2
136 inp = *inpp;
137 if (inp->i_isize == 0)
139 if (inp->i_isize < MINDIRSIZE(fs)) {
140 direrror(inp->i_number, "DIRECTORY TOO SHORT");
141 inp->i_isize = roundup(MINDIRSIZE(fs), LFS_DIRBLKSIZ);
143 vp = vget(fs, inp->i_number);
145 lfs_dino_setsize(fs, dp, inp->i_isize);
148 } else if ((inp->i_isize & (LFS_DIRBLKSIZ - 1)) != 0) {
149 getpathname(pathbuf, sizeof(pathbuf), inp
217 struct inoinfo *inp; local in function:pass2check
[all...]
/src/sbin/fsck_ext2fs/
H A Dpass3.c75 struct inoinfo **inpp, *inp; local in function:pass3
80 inp = *inpp;
81 if (inp->i_number == EXT2_ROOTINO ||
82 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE))
84 if (statemap[inp->i_number] == DCLEAR)
87 orphan = inp->i_number;
88 if (inp->i_parent == 0 ||
89 statemap[inp->i_parent] != DSTATE ||
92 inp
[all...]
H A Dpass2.c91 struct inoinfo **inpp, *inp; local in function:pass2
154 inp = *inpp;
155 if (inp->i_isize == 0)
157 if (inp->i_isize < MINDIRSIZE) {
158 direrror(inp->i_number, "DIRECTORY TOO SHORT");
159 inp->i_isize = roundup(MINDIRSIZE, sblock.e2fs_bsize);
161 dp = ginode(inp->i_number);
162 inossize(dp, inp->i_isize);
165 } else if ((inp->i_isize & (sblock.e2fs_bsize - 1)) != 0) {
166 getpathname(pathbuf, sizeof(pathbuf), inp
226 struct inoinfo *inp; local in function:pass2check
[all...]
/src/sys/netinet/
H A Din_pcb.c203 struct inpcb *inp; local in function:inpcb_create
210 inp = pool_cache_get(in4pcb_pool_cache, PR_NOWAIT);
212 inp = pool_cache_get(in6pcb_pool_cache, PR_NOWAIT);
215 inp = pool_cache_get(in4pcb_pool_cache, PR_NOWAIT);
217 if (inp == NULL)
220 memset(inp, 0, sizeof(struct in4pcb));
223 memset(inp, 0, sizeof(struct in6pcb));
225 inp->inp_af = soaf(so);
226 inp->inp_table = table;
227 inp
271 inpcb_set_port(struct sockaddr_in * sin,struct inpcb * inp,kauth_cred_t cred) argument
317 inpcb_bindableaddr(const struct inpcb * inp,struct sockaddr_in * sin,kauth_cred_t cred) argument
356 inpcb_bind_addr(struct inpcb * inp,struct sockaddr_in * sin,kauth_cred_t cred) argument
367 inpcb_bind_port(struct inpcb * inp,struct sockaddr_in * sin,kauth_cred_t cred) argument
480 struct inpcb *inp = v; local in function:inpcb_bind
525 struct inpcb *inp = v; local in function:inpcb_connect
662 struct inpcb *inp = v; local in function:inpcb_disconnect
684 struct inpcb *inp = v; local in function:inpcb_destroy
734 inpcb_fetch_sockaddr(struct inpcb * inp,struct sockaddr_in * sin) argument
747 inpcb_fetch_peeraddr(struct inpcb * inp,struct sockaddr_in * sin) argument
774 struct inpcb *inp; local in function:inpcb_notify
802 struct inpcb *inp; local in function:inpcb_notifyall
850 struct inpcb *inp; local in function:inpcb_purgeif0
875 struct inpcb *inp; local in function:inpcb_purgeif
896 inpcb_losing(struct inpcb * inp) argument
937 inpcb_rtchange(struct inpcb * inp,int errno) argument
958 struct inpcb *inp; local in function:inpcb_lookup_local
1072 struct inpcb *inp; local in function:inpcb_lookup
1122 struct inpcb *inp; local in function:inpcb_lookup_bound
1161 inpcb_set_state(struct inpcb * inp,int state) argument
1195 inpcb_rtentry(struct inpcb * inp) argument
1217 inpcb_rtentry_unref(struct rtentry * rt,struct inpcb * inp) argument
[all...]
H A Dsctp_usrreq.c236 sctp_notify_mbuf(struct sctp_inpcb *inp, argument
248 if ((inp == NULL) || (stcb == NULL) || (net == NULL) ||
284 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL);
337 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL);
343 sctp_notify(struct sctp_inpcb *inp, argument
351 if ((inp == NULL) || (stcb == NULL) || (net == NULL) ||
400 sctp_free_assoc(inp, stcb);
405 if (inp->sctp_socket) {
406 inp->sctp_socket->so_error = errno;
407 sctp_sowwakeup(inp, in
433 struct sctp_inpcb *inp; local in function:sctp_ctlinput
496 struct sctp_inpcb *inp; local in function:sctp_abort
509 struct sctp_inpcb *inp; local in function:sctp_attach
554 struct sctp_inpcb *inp; local in function:sctp_bind
577 struct sctp_inpcb *inp; local in function:sctp_detach
604 struct sctp_inpcb *inp; local in function:sctp_send
691 struct sctp_inpcb *inp; local in function:sctp_disconnect
808 struct sctp_inpcb *inp; local in function:sctp_shutdown
908 sctp_fill_up_addresses(struct sctp_inpcb * inp,struct sctp_tcb * stcb,int limit,struct sockaddr_storage * sas) argument
1094 sctp_count_max_addresses(struct sctp_inpcb * inp) argument
1145 struct sctp_inpcb *inp; local in function:sctp_do_connect_x
1329 struct sctp_inpcb *inp; local in function:sctp_optsget
2382 struct sctp_inpcb *inp; local in function:sctp_optsset
3237 struct inpcb *inp; local in function:sctp_ctloutput
3302 struct sctp_inpcb *inp; local in function:sctp_connect
3431 struct sctp_inpcb *inp; local in function:sctp_rcvd
3572 struct sctp_inpcb *inp; local in function:sctp_listen
3627 struct sctp_inpcb *inp; local in function:sctp_accept
3706 struct sctp_inpcb *inp; local in function:sctp_sockaddr
3780 struct sctp_inpcb *inp; local in function:sctp_peeraddr
[all...]
H A Dportalgo.c154 pcb_getports(struct inpcb *inp, uint16_t *lastport, argument
157 struct inpcbtable * const table = inp->inp_table;
163 so = inp->inp_socket;
176 switch (inp->inp_af) {
180 if (inp->inp_flags & INP_LOWPORT) {
197 if (inp->inp_flags & IN6P_LOWPORT) {
240 check_suitable_port(uint16_t port, struct inpcb *inp, kauth_cred_t cred) argument
242 struct inpcbtable * const table = inp->inp_table;
254 switch (inp->inp_af) {
263 sin.sin_addr = in4p_laddr(inp);
374 algo_bsd(int algo,uint16_t * port,struct inpcb * inp,kauth_cred_t cred) argument
410 algo_random_start(int algo,uint16_t * port,struct inpcb * inp,kauth_cred_t cred) argument
464 algo_random_pick(int algo,uint16_t * port,struct inpcb * inp,kauth_cred_t cred) argument
510 Fhash(const struct inpcb * inp) argument
562 iscompletetuple(struct inpcb * inp) argument
602 algo_hash(int algo,uint16_t * port,struct inpcb * inp,kauth_cred_t cred) argument
651 algo_doublehash(int algo,uint16_t * port,struct inpcb * inp,kauth_cred_t cred) argument
704 algo_randinc(int algo,uint16_t * port,struct inpcb * inp,kauth_cred_t cred) argument
747 portalgo_randport(uint16_t * port,struct inpcb * inp,kauth_cred_t cred) argument
844 portalgo_algo_index_select(struct inpcb * inp,int algo) argument
[all...]
H A Dsctp_peeloff.c89 struct sctp_inpcb *inp; local in function:sctp_can_peel_off
91 inp = (struct sctp_inpcb *)head->so_pcb;
92 if (inp == NULL) {
95 stcb = sctp_findassociation_ep_asocid(inp, assoc_id);
106 struct sctp_inpcb *inp, *n_inp; local in function:sctp_do_peeloff
109 inp = (struct sctp_inpcb *)head->so_pcb;
110 if (inp == NULL)
112 stcb = sctp_findassociation_ep_asocid(inp, assoc_id);
120 (SCTP_PCB_COPY_FLAGS & inp->sctp_flags));
127 sctp_move_pcb_and_assoc(inp, n_in
141 struct sctp_inpcb *inp, *n_inp; local in function:sctp_get_peeloff
[all...]
H A Draw_ip.c167 struct inpcb *inp; local in function:rip_input
184 TAILQ_FOREACH(inp, &rawcbtable.inpt_queue, inp_queue) {
185 if (inp->inp_af != AF_INET)
187 if (in4p_ip(inp).ip_p && in4p_ip(inp).ip_p != proto)
189 if (!in_nullhost(in4p_laddr(inp)) &&
190 !in_hosteq(in4p_laddr(inp), ip->ip_dst))
192 if (!in_nullhost(in4p_faddr(inp)) &&
193 !in_hosteq(in4p_faddr(inp), ip->ip_src))
208 last = inp;
241 struct inpcb *inp; local in function:rip_pcbnotify
295 rip_output(struct mbuf * m,struct inpcb * inp,struct mbuf * control,struct lwp * l) argument
405 struct inpcb *inp = sotoinpcb(so); local in function:rip_ctloutput
489 rip_connect_pcb(struct inpcb * inp,struct sockaddr_in * addr) argument
503 rip_disconnect1(struct inpcb * inp) argument
512 struct inpcb *inp; local in function:rip_attach
539 struct inpcb *inp; local in function:rip_detach
567 struct inpcb *inp = sotoinpcb(so); local in function:rip_bind
623 struct inpcb *inp = sotoinpcb(so); local in function:rip_connect
651 struct inpcb *inp = sotoinpcb(so); local in function:rip_disconnect
759 struct inpcb *inp = sotoinpcb(so); local in function:rip_send
[all...]
H A Dsctp_pcb.c127 SCTP_INP_RLOCK(struct sctp_inpcb *inp) argument
130 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) {
134 if (mtx_owned(&(inp)->inp_mtx))
136 mtx_lock(&(inp)->inp_mtx);
140 SCTP_INP_WLOCK(struct sctp_inpcb *inp) argument
142 SCTP_INP_RLOCK(inp);
148 struct sctp_inpcb *inp; local in function:SCTP_INP_INFO_RLOCK
150 LIST_FOREACH(inp, &sctppcbinfo.listhead, sctp_list) {
151 if (mtx_owned(&(inp)->inp_mtx))
152 panic("info-lock and own inp loc
172 struct sctp_inpcb *inp; local in function:sctp_validate_no_locks
244 struct sctp_inpcb *inp; local in function:sctp_tcb_special_locate
485 struct sctp_inpcb *inp; local in function:sctp_findassociation_ep_addr
615 sctp_findassociation_ep_asocid(struct sctp_inpcb * inp,vaddr_t asoc_id) argument
664 struct sctp_inpcb *inp; local in function:sctp_endpoint_probe
831 struct sctp_inpcb *inp; local in function:sctp_pcb_findep
929 struct sctp_inpcb *inp; local in function:sctp_findassociation_addr_sa
1133 struct sctp_inpcb *inp; local in function:sctp_findassociation_addr
1301 struct sctp_inpcb *inp; local in function:sctp_inpcb_alloc
1572 sctp_isport_inuse(struct sctp_inpcb * inp,uint16_t lport) argument
1617 struct sctp_inpcb *inp, *inp_tmp; local in function:sctp_inpcb_bind
1938 sctp_iterator_inp_being_freed(struct sctp_inpcb * inp,struct sctp_inpcb * inp_next) argument
1988 sctp_inpcb_free(struct sctp_inpcb * inp,int immediate) argument
2612 sctp_aloc_assoc(struct sctp_inpcb * inp,struct sockaddr * firstaddr,int for_a_init,int * error,uint32_t override_tag) argument
2919 sctp_add_vtag_to_timewait(struct sctp_inpcb * inp,u_int32_t tag) argument
2977 sctp_iterator_asoc_being_freed(struct sctp_inpcb * inp,struct sctp_tcb * stcb) argument
3021 sctp_free_assoc(struct sctp_inpcb * inp,struct sctp_tcb * stcb) argument
3347 struct sctp_inpcb *inp; local in function:sctp_destination_is_reachable
3387 sctp_update_ep_vflag(struct sctp_inpcb * inp) argument
3419 sctp_add_local_addr_ep(struct sctp_inpcb * inp,struct ifaddr * ifa) argument
3491 sctp_del_local_addr_ep(struct sctp_inpcb * inp,struct ifaddr * ifa) argument
3641 struct sctp_inpcb *inp; local in function:sctp_del_local_addr_assoc
3688 struct sctp_inpcb *inp; local in function:sctp_del_local_addr_assoc_sa
3906 struct sctp_inpcb *inp, *l_inp; local in function:sctp_load_addresses_from_init
4337 sctp_is_vtag_good(struct sctp_inpcb * inp,u_int32_t tag,struct timeval * now) argument
4411 sctp_del_local_addr_ep_sa(struct sctp_inpcb * inp,struct sockaddr * sa) argument
4486 sctp_drain_mbufs(struct sctp_inpcb * inp,struct sctp_tcb * stcb) argument
4611 struct sctp_inpcb *inp; local in function:sctp_drain
4630 sctp_add_to_socket_q(struct sctp_inpcb * inp,struct sctp_tcb * stcb) argument
4656 sctp_remove_from_socket_q(struct sctp_inpcb * inp) argument
[all...]
H A Dudp_usrreq.c446 struct inpcb *inp; local in function:udp4_sendup
450 inp = sotoinpcb(so);
451 KASSERT(inp != NULL);
454 if (ipsec_used && ipsec_in_reject(m, inp)) {
463 if (inp->inp_flags & INP_CONTROLOPTS ||
466 ip_savecontrol(inp, &opts, ip, n);
489 struct inpcb *inp; local in function:udp4_realinput
528 TAILQ_FOREACH(inp, &udbtable.inpt_queue, inp_queue) {
529 if (inp->inp_af != AF_INET)
532 if (inp
645 udp_notify(struct inpcb * inp,int errno) argument
694 struct inpcb *inp; local in function:udp_ctloutput
766 udp_output(struct mbuf * m,struct inpcb * inp,struct mbuf * control,struct lwp * l) argument
858 struct inpcb *inp; local in function:udp_attach
892 struct inpcb *inp; local in function:udp_detach
913 struct inpcb *inp = sotoinpcb(so); local in function:udp_bind
940 struct inpcb *inp = sotoinpcb(so); local in function:udp_connect
967 struct inpcb *inp = sotoinpcb(so); local in function:udp_disconnect
1075 struct inpcb *inp = sotoinpcb(so); local in function:udp_send
[all...]
H A Ddccp_usrreq.c190 struct inpcb *inp = NULL, *oinp = NULL; local in function:dccp_input
340 inp = in6pcb_lookup(&dccpbtable, &ip6->ip6_src,
342 if (inp == NULL) {
344 inp = in6pcb_lookup_bound(&dccpbtable, &ip6->ip6_dst,
350 inp = inpcb_lookup(&dccpbtable, ip->ip_src,
352 if (inp == NULL) {
354 inp = inpcb_lookup_bound(&dccpbtable, ip->ip_dst,
359 DCCP_DEBUG((LOG_INFO, "in6p=%p\n", inp));
361 DCCP_DEBUG((LOG_INFO, "inp=%p\n", inp));
916 dccp_notify(struct inpcb * inp,int errno) argument
935 struct inpcb *inp = NULL; local in function:dccp_ctlinput
1051 struct inpcb *inp; local in function:dccp_ctloutput
1111 struct inpcb *inp; local in function:dccp_output
1551 struct inpcb *inp = NULL; local in function:dccp_abort
1573 struct inpcb *inp = dp->d_inpcb; local in function:dccp_close
1603 struct inpcb *inp = NULL; local in function:dccp_attach
1654 struct inpcb *inp; local in function:dccp_bind
1689 struct inpcb *inp; local in function:dccp_connect
1768 struct inpcb *inp; local in function:dccp_doconnect
1814 struct inpcb *inp; local in function:dccp_detach
1837 struct inpcb *inp; local in function:dccp_disconnect
1910 struct inpcb *inp; local in function:dccp_send
1998 struct inpcb *inp; local in function:dccp_shutdown
2017 struct inpcb *inp; local in function:dccp_listen
2048 struct inpcb *inp = NULL; local in function:dccp_accept
2081 struct inpcb *inp; local in function:dccp_newdccpcb
2459 struct inpcb *inp, **inp_list; local in function:dccp_pcblist
[all...]
/src/sys/netinet6/
H A Din6_pcb.c141 * Bind address from sin6 to inp.
144 in6pcb_bind_addr(struct inpcb *inp, struct sockaddr_in6 *sin6, struct lwp *l) argument
166 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) {
182 (inp->inp_flags & IN6P_BINDANY) == 0) {
193 if ((inp->inp_flags & IN6P_FAITH) == 0) {
196 (inp->inp_flags & IN6P_BINDANY) == 0) {
222 in6p_laddr(inp) = sin6->sin6_addr;
230 * Bind port from sin6 to inp.
233 in6pcb_bind_port(struct inpcb *inp, struct sockaddr_in6 *sin6, struct lwp *l) argument
235 struct inpcbtable *table = inp
328 struct inpcb *inp = v; local in function:in6pcb_bind
388 struct inpcb *inp = v; local in function:in6pcb_connect
551 in6pcb_disconnect(struct inpcb * inp) argument
566 in6pcb_fetch_sockaddr(struct inpcb * inp,struct sockaddr_in6 * sin6) argument
577 in6pcb_fetch_peeraddr(struct inpcb * inp,struct sockaddr_in6 * sin6) argument
606 struct inpcb *inp; local in function:in6pcb_notify
750 struct inpcb *inp; local in function:in6pcb_purgeif0
801 struct inpcb *inp; local in function:in6pcb_purgeif
820 in6pcb_rtchange(struct inpcb * inp,int errno) argument
837 struct inpcb *inp, *match = NULL; local in function:in6pcb_lookup_local
969 in6pcb_rtentry(struct inpcb * inp) argument
1036 in6pcb_rtentry_unref(struct rtentry * rt,struct inpcb * inp) argument
1049 struct inpcb *inp; local in function:in6pcb_lookup
1093 struct inpcb *inp; local in function:in6pcb_lookup_bound
1166 in6pcb_set_state(struct inpcb * inp,int state) argument
[all...]
H A Dsctp6_usrreq.c251 if ((in6p->ip_inp.inp.inp_flags & INP_CONTROLOPTS)
280 /* inp's ref-count reduced && stcb unlocked */
313 sctp6_notify_mbuf(struct sctp_inpcb *inp, argument
321 if ((inp == NULL) || (stcb == NULL) || (net == NULL) ||
342 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL);
389 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL);
391 if (inp) {
392 /* reduce inp's ref-count */
393 SCTP_INP_WLOCK(inp);
394 SCTP_INP_DECR_REF(inp);
435 struct sctp_inpcb *inp; local in function:sctp6_ctlinput
506 struct sctp_inpcb *inp; local in function:sctp6_getcred
560 struct sctp_inpcb *inp; local in function:sctp6_abort
579 struct sctp_inpcb *inp; local in function:sctp6_attach
628 struct sctp_inpcb *inp; local in function:sctp6_bind
686 struct sctp_inpcb *inp; local in function:sctp6_detach
703 struct sctp_inpcb *inp; local in function:sctp6_disconnect
795 struct sctp_inpcb *inp; local in function:sctp6_send
918 struct sctp_inpcb *inp; local in function:sctp6_connect
1050 struct sctp_inpcb *inp; local in function:sctp6_getaddr
1129 struct sctp_inpcb *inp; local in function:sctp6_peeraddr
[all...]
H A Ddccp6_usrreq.c117 struct inpcb *inp; local in function:dccp6_bind
123 inp = sotoinpcb(so);
124 if (inp == 0) {
126 DCCP_DEBUG((LOG_INFO, "dccp6_bind: inp == 0!\n"));
135 INP_LOCK(inp);
137 intodccpcb(inp)->inp_vflag &= ~INP_IPV4;
138 intodccpcb(inp)->inp_vflag |= INP_IPV6;
140 error = in6pcb_bind(inp, sinp, td);
141 INP_UNLOCK(inp);
149 struct inpcb *inp; local in function:dccp6_connect
235 struct inpcb *inp; local in function:dccp6_listen
266 struct inpcb *inp = NULL; local in function:dccp6_accept
[all...]
H A Dudp6_usrreq.c178 udp6_notify(struct inpcb *inp, int errno) argument
180 inp->inp_socket->so_error = errno;
181 sorwakeup(inp->inp_socket);
182 sowwakeup(inp->inp_socket);
305 struct inpcb *inp; local in function:udp6_ctloutput
336 inp = sotoinpcb(so);
346 inp->inp_flags &= ~IN6P_ESPINUDP;
350 inp->inp_flags |= IN6P_ESPINUDP;
381 struct inpcb *inp; local in function:udp6_sendup
385 inp
423 struct inpcb *inp; local in function:udp6_realinput
734 udp6_output(struct inpcb * const inp,struct mbuf * m,struct sockaddr_in6 * const addr6,struct mbuf * const control,struct lwp * const l) argument
1066 struct inpcb *inp; local in function:udp6_attach
1098 struct inpcb *inp = sotoinpcb(so); local in function:udp6_detach
1120 struct inpcb *inp = sotoinpcb(so); local in function:udp6_bind
1145 struct inpcb *inp = sotoinpcb(so); local in function:udp6_connect
1174 struct inpcb *inp = sotoinpcb(so); local in function:udp6_disconnect
1288 struct inpcb *inp = sotoinpcb(so); local in function:udp6_send
[all...]
H A Draw_ip6.c169 struct inpcb *inp; local in function:rip6_input
191 TAILQ_FOREACH(inp, &raw6cbtable.inpt_queue, inp_queue) {
192 if (inp->inp_af != AF_INET6)
194 if (in6p_ip6(inp).ip6_nxt &&
195 in6p_ip6(inp).ip6_nxt != proto)
197 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p_laddr(inp)) &&
198 !IN6_ARE_ADDR_EQUAL(&in6p_laddr(inp), &ip6->ip6_dst))
200 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p_faddr(inp)) &&
201 !IN6_ARE_ADDR_EQUAL(&in6p_faddr(inp), &ip6->ip6_src))
203 if (in6p_cksum(inp) !
309 struct inpcb *inp; local in function:rip6_ctlinput
372 struct inpcb *inp; local in function:rip6_output
589 struct inpcb *inp; local in function:rip6_attach
627 struct inpcb *inp = sotoinpcb(so); local in function:rip6_detach
654 struct inpcb *inp = sotoinpcb(so); local in function:rip6_bind
708 struct inpcb *inp = sotoinpcb(so); local in function:rip6_connect
773 struct inpcb *inp = sotoinpcb(so); local in function:rip6_disconnect
865 struct inpcb *inp = sotoinpcb(so); local in function:rip6_send
[all...]
/src/sbin/fsck_ffs/
H A Dpass3.c57 struct inoinfo *inp, **inpp; local in function:pass3
77 inp = *inpp;
78 state = inoinfo(inp->i_number)->ino_state;
79 if (inp->i_number == UFS_ROOTINO ||
80 (inp->i_parent != 0 && state != DSTATE))
92 if (inp->i_dotdot >= UFS_ROOTINO)
93 inoinfo(inp->i_dotdot)->ino_linkcnt++;
97 orphan = inp->i_number;
98 if (inp->i_parent == 0 ||
99 inoinfo(inp
[all...]
H A Dpass2.c67 struct inoinfo **inpp, *inp, *pinp; local in function:pass2
161 inp = *inpp;
162 if (inp->i_isize == 0)
164 if (inp->i_isize < MINDIRSIZE) {
165 direrror(inp->i_number, "DIRECTORY TOO SHORT");
166 inp->i_isize = roundup(MINDIRSIZE, dirblksiz);
168 dp = ginode(inp->i_number);
169 DIP_SET(dp, size, iswap64(inp->i_isize));
173 } else if ((inp->i_isize & (dirblksiz - 1)) != 0) {
174 getpathname(pathbuf, sizeof(pathbuf), inp
327 struct inoinfo *inp; local in function:pass2check
[all...]
/src/sys/external/isc/libsodium/dist/msvc-scripts/
H A Drep.vbs1 Dim pat, patparts, rxp, inp
9 inp = WScript.StdIn.ReadLine()
10 WScript.Echo rxp.Replace(inp, patparts(2))
/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
[all...]
/src/bin/dd/
H A Dconv.c65 u_char *inp; local in function:def
69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp)
70 *inp = t[*inp];
122 u_char *inp, *outp; local in function:block
132 for (inp = in.db, cnt = in.dbrcnt;
133 cnt && *inp++ != '\n'; --cnt);
142 in.dbp = inp + cnt - 1;
149 for (inp
233 u_char *inp; local in function:unblock
[all...]
/src/usr.bin/patch/
H A DMakefile6 SRCS= patch.c pch.c inp.c util.c backupfile.c mkpath.c
/src/usr.bin/systat/
H A Dnetstat.c218 struct inpcb *inpcbp, *inp; local in function:fetchnetstat4
229 inp = (struct inpcb *)&in4pcb;
230 if (inp->inp_queue.tqe_prev != pprev) {
237 next = inp->inp_queue.tqe_next;
239 if (inp->inp_af != AF_INET)
241 if (!aflag && inet_lnaof(in4p_laddr(inp)) == INADDR_ANY)
243 if (nhosts && !checkhost(inp))
245 if (nports && !checkport(inp))
247 KREAD(inp->inp_socket, &sockb, sizeof (sockb));
249 KREAD(inp
265 struct inpcb *inp, *inpcbp; local in function:fetchnetstat6
303 enter(struct inpcb * inp,struct socket * so,int state,const char * proto) argument
352 enter6(struct inpcb * inp,struct socket * so,int state,const char * proto) argument
[all...]
/src/usr.bin/m4/
H A Dtrace.c152 print_header(struct input_file *inp) argument
156 fprintf(traceout, "%s:", inp->name);
158 fprintf(traceout, "%lu:", TOKEN_LINE(inp));
165 trace(const char *argv[], int argc, struct input_file *inp) argument
169 print_header(inp);
172 print_header(inp);
194 print_header(inp);

Completed in 27 milliseconds

12345