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

12345678

/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/
H A Dpass3.c75 struct inoinfo **inpp, *inp; local
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
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
[all...]
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/
H A Dpass3.c43 struct inoinfo **inpp, *inp; local
48 inp = *inpp;
49 if (inp->i_number == ROOTINO || inp->i_number == LFS_IFILE_INUM ||
50 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE))
52 if (statemap[inp->i_number] == DCLEAR)
54 if (statemap[inp->i_number] == FCLEAR)
57 orphan = inp->i_number;
58 if (inp
[all...]
H A Dpass2.c65 struct inoinfo **inpp, *inp; local
131 inp = *inpp;
132 if (inp->i_isize == 0)
134 if (inp->i_isize < MINDIRSIZE) {
135 direrror(inp->i_number, "DIRECTORY TOO SHORT");
136 inp->i_isize = roundup(MINDIRSIZE, DIRBLKSIZ);
138 vp = vget(fs, inp->i_number);
140 dp->di_size = inp->i_isize;
143 } else if ((inp->i_isize & (DIRBLKSIZ - 1)) != 0) {
144 getpathname(pathbuf, sizeof(pathbuf), inp
205 struct inoinfo *inp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Din_pcb.c195 struct inpcb *inp; local
202 inp = pool_get(&inpcb_pool, PR_NOWAIT);
204 if (inp == NULL)
206 memset(inp, 0, sizeof(*inp));
207 inp->inp_af = AF_INET;
208 inp->inp_table = table;
209 inp->inp_socket = so;
210 inp->inp_errormtu = -1;
211 inp
234 in_pcbsetport(struct sockaddr_in *sin, struct inpcb *inp, kauth_cred_t cred) argument
280 in_pcbbind_addr(struct inpcb *inp, struct sockaddr_in *sin, kauth_cred_t cred) argument
304 in_pcbbind_port(struct inpcb *inp, struct sockaddr_in *sin, kauth_cred_t cred) argument
412 struct inpcb *inp = v; local
460 struct inpcb *inp = v; local
567 struct inpcb *inp = v; local
585 struct inpcb *inp = v; local
612 in_setsockaddr(struct inpcb *inp, struct mbuf *nam) argument
625 in_setpeeraddr(struct inpcb *inp, struct mbuf *nam) argument
654 struct inpcb *inp, *ninp; local
682 struct inpcb *inp, *ninp; local
701 struct inpcb *inp, *ninp; local
742 struct inpcb *inp, *ninp; local
763 in_losing(struct inpcb *inp) argument
795 in_rtchange(struct inpcb *inp, int errno) argument
812 struct inpcb *inp, *match = 0; local
913 struct inpcb *inp; local
962 struct inpcb *inp; local
1004 in_pcbstate(struct inpcb *inp, int state) argument
1031 in_pcbrtentry(struct inpcb *inp) argument
[all...]
H A Draw_ip.c175 struct inpcb *inp; local
198 inp = (struct inpcb *)inph;
199 if (inp->inp_af != AF_INET)
201 if (inp->inp_ip.ip_p && inp->inp_ip.ip_p != proto)
203 if (!in_nullhost(inp->inp_laddr) &&
204 !in_hosteq(inp->inp_laddr, ip->ip_dst))
206 if (!in_nullhost(inp->inp_faddr) &&
207 !in_hosteq(inp->inp_faddr, ip->ip_src))
223 last = inp;
255 struct inpcb *inp, *ninp; local
314 struct inpcb *inp; local
394 struct inpcb *inp = sotoinpcb(so); local
478 rip_bind(struct inpcb *inp, struct mbuf *nam) argument
497 rip_connect(struct inpcb *inp, struct mbuf *nam) argument
513 rip_disconnect(struct inpcb *inp) argument
527 struct inpcb *inp; local
[all...]
H A Dudp_usrreq.c621 struct inpcb *inp = NULL; local
627 inp = sotoinpcb(so);
649 if (inp && (inp->inp_flags & INP_CONTROLOPTS
655 ip_savecontrol(inp, &opts, ip, n);
730 struct inpcb *inp; local
770 inp = (struct inpcb *)inph;
771 if (inp->inp_af != AF_INET)
774 if (inp->inp_lport != *dport)
776 if (!in_nullhost(inp
984 udp_notify(struct inpcb *inp, int errno) argument
1028 struct inpcb *inp; local
1119 struct inpcb *inp; local
1202 struct inpcb *inp; local
1491 struct inpcb *inp; local
[all...]
/netbsd-6-1-5-RELEASE/sbin/fsck_ffs/
H A Dpass3.c57 struct inoinfo *inp, **inpp; local
77 inp = *inpp;
78 state = inoinfo(inp->i_number)->ino_state;
79 if (inp->i_number == ROOTINO ||
80 (inp->i_parent != 0 && state != DSTATE))
92 if (inp->i_dotdot >= 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
159 inp = *inpp;
160 if (inp->i_isize == 0)
162 if (inp->i_isize < MINDIRSIZE) {
163 direrror(inp->i_number, "DIRECTORY TOO SHORT");
164 inp->i_isize = roundup(MINDIRSIZE, dirblksiz);
166 dp = ginode(inp->i_number);
167 DIP_SET(dp, size, iswap64(inp->i_isize));
171 } else if ((inp->i_isize & (dirblksiz - 1)) != 0) {
172 getpathname(pathbuf, sizeof(pathbuf), inp
325 struct inoinfo *inp; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/pgp2ssh/
H A Db64.c240 const char *inp; local
250 for (blocksout = 0, inp = in, outp = out; (size_t)(inp - in) < insize && (size_t)(outp - out) < outsize;) {
252 wordin[i] = (uint8_t) *inp++;
253 if ((size_t)(inp - in) <= insize) {
268 (size_t)(inp - in) >= insize) {
301 const char *inp; local
310 for (inp = in, outp = out ; (size_t)(inp - in) < insize && (size_t)(outp - out) < outsize ; ) {
311 for (wordlen = 0, i = 0 ; i < sizeof(wordin) && (size_t)(inp
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/cli/
H A Dcli-utils.h95 extern char *skip_spaces (char *inp);
100 extern char *skip_to_space (char *inp);
/netbsd-6-1-5-RELEASE/sys/coda/
H A Dcoda_venus.c65 struct coda_in_hdr *inp; \
73 struct name ## _in *inp; \
81 struct name ## _in *inp; \
91 CODA_ALLOC(inp, struct coda_in_hdr *, name ## _size);\
92 outp = (struct name ## _out *) inp
97 CODA_ALLOC(inp, struct name ## _in *, name ## _size);\
98 outp = (struct name ## _out *) inp
103 CODA_ALLOC(inp, struct name ## _in *, name ## _size);\
104 outp = (struct coda_out_hdr *) inp
107 memcpy((char *)inp
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/whrlpool/
H A Dwhrlpool.h31 int WHIRLPOOL_Update (WHIRLPOOL_CTX *c,const void *inp,size_t bytes);
32 void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *inp,size_t bits);
34 unsigned char *WHIRLPOOL(const void *inp,size_t bytes,unsigned char *md);
H A Dwp_dgst.c71 const unsigned char *inp = _inp; local
75 WHIRLPOOL_BitUpdate(c,inp,chunk*8);
77 inp += chunk;
80 WHIRLPOOL_BitUpdate(c,inp,bytes*8);
91 const unsigned char *inp=_inp; local
113 whirlpool_block(c,inp,n);
114 inp += n*WHIRLPOOL_BBLOCK/8;
126 memcpy(c->data+byteoff,inp,bitrem);
127 inp += bitrem;
133 memcpy(c->data+byteoff,inp,bit
255 WHIRLPOOL(const void *inp, size_t bytes,unsigned char *md) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/netiso/
H A Dtp_inet.c114 * Get a transport suffix from an inpcb structure (inp).
127 struct inpcb *inp = v; local
131 *(u_short *) data_out = inp->inp_lport;
135 *(u_short *) data_out = inp->inp_fport;
147 * Put a transport suffix (found in name) into an inpcb structure (inp).
160 struct inpcb *inp = v; local
162 memcpy((void *) & inp->inp_fport, sufxloc, sizeof(inp->inp_fport));
173 * (inp) is the net level pcb.
187 struct inpcb *inp local
212 struct inpcb *inp = v; local
250 struct inpcb *inp = v; local
282 struct inpcb *inp = v; local
323 struct inpcb *inp = (struct inpcb *) tpcb->tp_npcb; local
359 struct inpcb *inp; local
599 tpin_quench(struct inpcb *inp, int dummy) argument
690 tpin_abort(struct inpcb *inp, int n) argument
[all...]
/netbsd-6-1-5-RELEASE/bin/dd/
H A Dconv.c65 u_char *inp; local
69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp)
70 *inp = t[*inp];
122 u_char *inp, *outp; local
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
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/patch/
H A DMakefile6 SRCS= patch.c pch.c inp.c util.c backupfile.c mkpath.c
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rc4/asm/
H A Drc4-586.pl69 $inp="esi";
119 &movq ("mm2",&QWP(0,$inp)) if ($i==1);
120 &movq (&QWP(-8,(@XX[0],$inp)),"mm1") if ($i==0);
141 &movq ("mm0",&QWP(0,$inp)) if ($i<=0);
142 &movq (&QWP(-8,($out,$inp)),"mm2") if ($i==0);
155 # void RC4(RC4_KEY *key,size_t len,const unsigned char *inp,unsigned char *out);
159 &mov ($inp,&wparam(2)); # load inp
172 &lea ($tx,&DWP(0,$inp,$ty));
173 &sub ($out,$inp); # r
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/aes/asm/
H A Daesni-x86.pl63 $inp="esi";
163 # void $PREFIX_encrypt (const void *inp,void *out,const AES_KEY *key);
179 # void $PREFIX_decrypt (const void *inp,void *out,const AES_KEY *key);
362 &mov ($inp,&wparam(0));
378 &movdqu ($inout0,&QWP(0,$inp));
379 &movdqu ($inout1,&QWP(0x10,$inp));
380 &movdqu ($inout2,&QWP(0x20,$inp));
381 &movdqu ($inout3,&QWP(0x30,$inp));
382 &movdqu ($inout4,&QWP(0x40,$inp));
383 &movdqu ($inout5,&QWP(0x50,$inp));
[all...]
H A Daesni-x86_64.pl186 $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
544 movdqu ($inp),$inout0
545 movdqu 0x10($inp),$inout1
546 movdqu 0x20($inp),$inout2
547 movdqu 0x30($inp),$inout3
548 movdqu 0x40($inp),
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/modes/asm/
H A Dghash-x86.pl126 $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...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-inp_str.c41 const char *inp; member in struct:__anon2586
101 fputs (data[i].inp, fp);
116 printf (" inp \"%s\"\n", data[i].inp);
126 /* if data[i].inp is a whole string to read and there's no post
128 if (post == 0 && data[i].want_nread == strlen(data[i].inp))
134 printf (" inp \"%s\"\n", data[i].inp);
151 printf (" inp \"%s\"\n", data[i].inp);
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpq/
H A Dt-inp_str.c41 const char *inp; member in struct:__anon2600
95 fputs (data[i].inp, fp);
110 printf (" inp \"%s\"\n", data[i].inp);
118 if (post == 0 && data[i].want_nread == strlen(data[i].inp))
124 printf (" inp \"%s\"\n", data[i].inp);
134 printf (" inp \"%s\"\n", data[i].inp);
146 printf (" inp \"
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-inp_str.c41 const char *inp; member in struct:__anon2617
98 fputs (data[i].inp, fp);
113 printf (" inp \"%s\"\n", data[i].inp);
123 /* if data[i].inp is a whole string to read and there's no post
125 if (post == 0 && data[i].want_nread == strlen(data[i].inp))
131 printf (" inp \"%s\"\n", data[i].inp);
148 printf (" inp \"%s\"\n", data[i].inp);
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/m4/
H A Dtrace.c140 print_header(struct input_file *inp) argument
144 fprintf(traceout, "%s:", inp->name);
146 fprintf(traceout, "%lu:", TOKEN_LINE(inp));
153 trace(const char *argv[], int argc, struct input_file *inp) argument
157 print_header(inp);
160 print_header(inp);
182 print_header(inp);

Completed in 333 milliseconds

12345678