Home
last modified time | relevance | path

Searched refs:fi (Results 1 – 25 of 239) sorted by relevance

12345678910

/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcfilter.c56 if(fi->next && fi->next >= fi->endb )
57 { if((r = sfrd(f,fi->raw,sizeof(fi->raw),disc)) > 0)
58 { fi->next = fi->raw;
59 fi->endb = fi->raw+r;
66 fi->next = fi->endb = NIL(char*);
70 if(fi->next && (w = fi->endb - fi->next) > 0 )
78 if((w = sfwr(fi->filter, fi->next, w, 0)) > 0)
87 w = sfpoll(&fi->filter, 1, fi->next ? 1 : -1);
177 fi->next = fi->endb = fi->raw;
179 if(sfdisc(f,(Sfdisc_t*)fi) != (Sfdisc_t*)fi)
[all …]
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c1245 for (fi = fihead; fi != NULL; fi = fi->next) { in forward_register()
1253 fi = malloc(sizeof (*fi)); in forward_register()
1261 free(fi); in forward_register()
1279 fihead = fi; in forward_register()
1281 fitail = fi; in forward_register()
1283 fi->flag = 0; in forward_register()
1304 return (fi); in forward_register()
1317 fi->prev->next = fi->next; in forward_destroy()
1324 fi->next->prev = fi->prev; in forward_destroy()
1333 free(fi); in forward_destroy()
[all …]
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_flow.c72 dld_flowinfo_t *fi; in dld_walk_flow_cb() local
77 fi = kmem_zalloc(sizeof (*fi), KM_SLEEP); in dld_walk_flow_cb()
78 (void) strlcpy(fi->fi_flowname, finfo->fi_flow_name, in dld_walk_flow_cb()
79 sizeof (fi->fi_flowname)); in dld_walk_flow_cb()
80 fi->fi_linkid = finfo->fi_link_id; in dld_walk_flow_cb()
81 fi->fi_flow_desc = finfo->fi_flow_desc; in dld_walk_flow_cb()
82 fi->fi_resource_props = finfo->fi_resource_props; in dld_walk_flow_cb()
84 if (copyout(fi, statep->fi_fl, sizeof (*fi)) != 0) { in dld_walk_flow_cb()
85 kmem_free(fi, sizeof (*fi)); in dld_walk_flow_cb()
88 kmem_free(fi, sizeof (*fi)); in dld_walk_flow_cb()
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dfunction-ptr.c14 fi(a); in arg()
17 fi(123); in arg()
20 fi(123L); in arg()
23 fi(ival); in arg()
62 fi(a); in glb()
65 fi(123); in glb()
68 fi(123L); in glb()
71 fi(ival); in glb()
115 ops->fi(a); in ops()
118 ops->fi(123); in ops()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dgetpass.c46 static FILE *fi; variable
53 (void) tcsetattr(fileno(fi), TCSADRAIN, &termios_b); in intfix()
66 if ((fi = fopen("/dev/tty", "r")) == NULL) in mygetpass()
67 fi = stdin; in mygetpass()
69 setbuf(fi, (char *)NULL); in mygetpass()
71 if (tcgetattr(fileno(fi), &termios_b) < 0) in mygetpass()
78 (void) tcsetattr(fileno(fi), TCSADRAIN, &termios_b); in mygetpass()
82 while ((c = getc(fi)) != '\n' && c != EOF) { in mygetpass()
90 (void) tcsetattr(fileno(fi), TCSADRAIN, &termios_b); in mygetpass()
92 if (fi != stdin) in mygetpass()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_ipsec_pxy.c118 fr_info_t fi; local
176 bcopy((char *)fin, (char *)&fi, sizeof(fi));
179 fi.fin_data[0] = 0;
180 fi.fin_data[1] = 0;
204 fi.fin_data[0] = 0;
205 fi.fin_data[1] = 0;
225 fr_info_t fi; local
244 bcopy((char *)fin, (char *)&fi, sizeof(fi));
247 fi.fin_data[0] = 0;
248 fi.fin_data[1] = 0;
[all …]
H A Dip_rcmd_pxy.c130 fr_info_t fi; local
177 bcopy((char *)fin, (char *)&fi, sizeof(fi));
178 fi.fin_flx |= FI_IGNORE;
179 fi.fin_data[0] = sp;
180 fi.fin_data[1] = 0;
198 fi.fin_dp = (char *)tcp2;
199 fi.fin_fr = &ifsrcmd->rcmdfr;
200 fi.fin_dlen = sizeof(*tcp2);
201 fi.fin_plen = fi.fin_hlen + sizeof(*tcp2);
220 (void) nat_proto(&fi, nat2, IPN_TCP);
[all …]
H A Dip_raudio_pxy.c216 fr_info_t fi; local
301 bcopy((char *)fin, (char *)&fi, sizeof(fi));
304 fi.fin_flx |= FI_IGNORE;
305 fi.fin_dp = (char *)tcp2;
308 fi.fin_plen = fi.fin_hlen + sizeof(*tcp2);
319 fi.fin_data[0] = dp;
320 fi.fin_data[1] = sp;
321 fi.fin_out = 0;
337 fi.fin_data[0] = sp;
338 fi.fin_data[1] = 0;
[all …]
H A Dip_irc_pxy.c283 fr_info_t fi; local
414 bcopy((caddr_t)fin, (caddr_t)&fi, sizeof(fi));
415 fi.fin_data[0] = sp;
420 bcopy((caddr_t)fin, (caddr_t)&fi, sizeof(fi));
425 fi.fin_data[0] = ntohs(sp);
426 fi.fin_data[1] = 0;
427 fi.fin_dp = (char *)tcp2;
428 fi.fin_fr = &ifsirc->ircnatfr;
429 fi.fin_dlen = sizeof(*tcp2);
430 fi.fin_plen = fi.fin_hlen + sizeof(*tcp2);
[all …]
H A Dip_pptp_pxy.c176 fr_info_t fi; local
188 bcopy((char *)fin, (char *)&fi, sizeof(fi));
190 fi.fin_fi.fi_p = IPPROTO_GRE;
191 fi.fin_fr = &ifspptp->pptpfr;
194 fi.fin_data[0] = pptp->pptp_call[0];
195 fi.fin_data[1] = pptp->pptp_call[1];
197 fi.fin_data[0] = pptp->pptp_call[1];
203 fi.fin_flx |= FI_IGNORE;
204 fi.fin_dp = &gre;
225 (void) nat_proto(&fi, nat2, 0);
[all …]
H A Dip_ftp_pxy.c200 fr_info_t fi; local
347 bcopy((char *)fin, (char *)&fi, sizeof(fi));
349 fi.fin_data[0] = sp;
372 fi.fin_data[1] = 0;
374 fi.fin_plen = fi.fin_hlen + sizeof(*tcp2);
397 fi.fin_ifp = NULL;
653 fr_info_t fi; local
705 bcopy((char *)fin, (char *)&fi, sizeof(fi));
707 fi.fin_data[0] = 0;
731 fi.fin_data[0] = 0;
[all …]
/illumos-gate/usr/src/grub/grub-0.97/
H A Dconfigure.ac41 fi
42 fi
47 fi
51 fi
76 fi
116 fi
147 fi
151 fi
158 fi
165 fi
[all …]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dgetpass.c76 FILE *fi; in __getpass() local
81 (fi = fopen("/dev/tty", "r+F")) == NULL) in __getpass()
83 setbuf(fi, NULL); in __getpass()
92 (void) ioctl(fileno(fi), TCGETA, &ttyb); in __getpass()
95 (void) ioctl(fileno(fi), TCSETAF, &ttyb); in __getpass()
97 (void) fputs(prompt, fi); in __getpass()
100 (c = GETC(fi)) != '\n' && c != '\r' && c != EOF) { in __getpass()
105 (void) PUTC('\n', fi); in __getpass()
108 (void) ioctl(fileno(fi), TCSETAW, &ttyb); in __getpass()
111 (void) fclose(fi); in __getpass()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_vnops.c133 failinfo_t fi; in acl_getacl2() local
153 fi.vp = vp; in acl_getacl2()
244 failinfo_t fi; in acl_getattr2_otw() local
248 fi.vp = vp; in acl_getattr2_otw()
288 failinfo_t fi; in acl_access2() local
318 fi.vp = vp; in acl_access2()
427 failinfo_t fi; in acl_getxattrdir2() local
433 fi.vp = vp; in acl_getxattrdir2()
513 failinfo_t fi; in acl_getacl3() local
533 fi.vp = vp; in acl_getacl3()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dshtests213 fi
214 fi
225 fi
236 fi
240 fi
258 fi
262 fi
265 fi
275 fi
285 fi
[all …]
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrortouch.c63 #define FILEITERATE(fi, lb) for (fi = lb; fi <= nfiles; fi++) argument
75 int fi; in findfiles() local
100 fi = 1; in findfiles()
108 fi++; in findfiles()
155 int fi; in filenames() local
175 files[fi+1] - files[fi]); in filenames()
225 int fi; in touchfiles() local
232 FILEITERATE(fi, 1) { in touchfiles()
234 spread = files[fi+1] - files[fi]; in touchfiles()
477 int fi; in execvarg() local
[all …]
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dblkdev.shlib52 fi
53 fi
64 fi
82 fi
97 fi
112 fi
134 fi
163 fi
193 fi
213 fi
[all …]
H A Dlibtest.shlib46 fi
72 fi
144 fi
149 fi
168 fi
175 fi
176 fi
229 fi
275 fi
316 fi
[all …]
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c75 FILE *fi; in main() local
237 fi = stdin; in main()
257 if (fstat(fileno(fi), &source) < 0) { in main()
283 if (fclose(fi) != 0) in main()
298 estatus = vncat(fi); in main()
300 estatus = cat(fi, &source, &target, in main()
310 if (fi != stdin) { in main()
311 if (fclose(fi) != 0) in main()
346 fi_desc = fileno(fi); in cat()
507 vncat(fi) in vncat() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dmake.probe194 fi
216 fi
297 fi
323 fi
430 fi
550 fi
564 fi
592 fi
614 fi
646 fi
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dmailst.c51 register FILE *fp, *fi; local
74 if (*errfile != '\0' && NOTEMPTY(errfile) && (fi = fopen(errfile, "r")) != NULL) {
76 if (xfappend(fi, fp) != SUCCESS)
78 (void) fclose(fi);
93 else if ((fi = fopen(infile, "r")) == NULL) {
102 if (xfappend(fi, fp) != SUCCESS)
105 (void) fclose(fi);
H A Dshio.c48 shio(cmd, fi, fo, fe) in shio() argument
49 char *cmd, *fi, *fo, *fe; in shio()
54 if (fi == NULL)
55 fi = "/dev/null";
70 if (open(fi, 0) != 0)
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dwritefile.c44 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, in writefile() argument
113 MAP_SHARED, fi, (off_t)0)) == MAP_FAILED) in writefile()
138 (void) close(fi); in writefile()
162 (void) close(fi); in writefile()
180 MAP_FIXED, fi, offset) == MAP_FAILED) { in writefile()
182 (void) close(fi); in writefile()
198 n = read(fi, buf, sizeof (buf)); in writefile()
202 (void) close(fi); in writefile()
212 (void) close(fi); in writefile()
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c642 struct fil_info *fi; in show_sockfilters() local
647 fi = calloc(nalloc, sizeof (*fi)); in show_sockfilters()
648 if (fi == NULL) { in show_sockfilters()
660 if (fi->fi_pos >= nalloc) { in show_sockfilters()
663 nalloc = fi->fi_pos + 1; in show_sockfilters()
666 len = nalloc * sizeof (*fi); in show_sockfilters()
667 new = realloc(fi, nalloc * sizeof (*fi)); in show_sockfilters()
672 fi = new; in show_sockfilters()
684 if (fi[i].fi_flags != 0) { in show_sockfilters()
686 if (fi[i].fi_flags & FILF_AUTO) in show_sockfilters()
[all …]
/illumos-gate/usr/src/cmd/lp/model/
H A Dtsol_netstandard95 fi
153 fi
158 fi
163 fi
168 fi
173 fi
422 fi
503 fi
553 fi
558 fi
[all …]

12345678910