Searched defs:fi (Results 26 - 50 of 70) sorted by relevance

123

/illumos-gate/usr/src/common/fs/
H A Dufsops.c72 fileid_t *fi; member in struct:dirinfo
90 * fi[] array. We can have more than one file open at once,
91 * so there is no global fd for the fi[].
302 dirp.fi = filep;
328 filep = dstuff->fi;
545 * We must not dork with any fi[]'s here. Save that for later.
/illumos-gate/usr/src/cmd/mailx/
H A Dsend.c50 static FILE *infix(struct header *hp, FILE *fi);
52 static int savemail(char name[], struct header *hp, FILE *fi);
595 infix(struct header *hp, FILE *fi) argument
602 rewind(fi);
606 return(fi);
611 return(fi);
625 puthead(hp, nfo, (GMASK & ~GBCC) | GCLEN, fsize(fi));
627 while ((c = getc(fi)) != EOF)
629 if (ferror(fi)) {
631 return(fi);
728 savemail(char name[], struct header *hp, FILE *fi) argument
[all...]
H A Daux.c327 register FILE *fi; local
332 if ((fi = fopen(cp, "r")) == NULL) {
347 fclose(fi);
357 input = fi;
H A Dcollect.c795 lcwrite(char *fn, FILE *fi, FILE *fo, int addnl) argument
803 while ((c = getc(fi)) != EOF) {
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c116 FILE *fi; local
143 if ((fi = fopen(cp, "r")) == NULL) {
148 fmt(fi);
149 fclose(fi);
165 fmt(FILE *fi) argument
173 c = getwc(fi);
185 c = getwc(fi);
189 c = getwc(fi);
193 c = getwc(fi);
202 c = getwc(fi);
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dg721.c180 long fi; /* FUNCTF */ local
340 fi = _fitab[i]; /* FUNCTF */
341 state_ptr->dms += (fi - state_ptr->dms) >> 5; /* FILTA */
342 state_ptr->dml += (((fi << 2) - state_ptr->dml) >> 7); /* FILTB */
H A Dg723.c186 long fi; /* Adaptation speed control, FUNCTF */ local
339 fi = _fitab[i]; /* FUNCTF */
340 state_ptr->dms += (fi - state_ptr->dms) >> 5; /* FILTA */
341 state_ptr->dml += (((fi << 2) - state_ptr->dml) >> 7); /* FILTB */
/illumos-gate/usr/src/cmd/sulogin/
H A Dsulogin.c658 FILE *fi; local
664 if ((fi = fopen(devname, "r")) == NULL) {
665 fi = stdin;
673 (void) ioctl(fileno(fi), TCSETAF, &ttyb);
677 while ((c = getc(fi)) != '\n' && (c != '\r')) {
687 (void) fputc('\n', fi);
689 (void) ioctl(fileno(fi), TCSETAW, &ttymodes);
790 FILE *fi; local
794 if ((fi = fopen("/dev/tty", "r+")) == NULL)
795 fi
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rpcb_pxy.c1182 fr_info_t fi; local
1190 bcopy((char *)fin, (char *)&fi, sizeof(fi));
1191 fi.fin_out = 0;
1192 fi.fin_src = fin->fin_dst;
1193 fi.fin_dst = nat->nat_outip;
1194 fi.fin_p = proto;
1195 fi.fin_sport = 0;
1196 fi.fin_dport = port & 0xffff;
1197 fi
[all...]
H A Dip_ftp_pxy.c200 fr_info_t fi; local
347 bcopy((char *)fin, (char *)&fi, sizeof(fi));
348 fi.fin_flx |= FI_IGNORE;
349 fi.fin_data[0] = sp;
350 fi.fin_data[1] = fin->fin_data[1] - 1;
356 nat2 = nat_outlookup(&fi, NAT_SEARCH|IPN_TCP, nat->nat_p,
359 nat2 = nat_inlookup(&fi, NAT_SEARCH|IPN_TCP, nat->nat_p,
372 fi.fin_data[1] = 0;
373 fi
653 fr_info_t fi; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_ofile.c1226 smb_netfileinfo_t fi; local
1229 rc = smb_ofile_netinfo_init(of, &fi);
1231 rc = smb_netfileinfo_encode(&fi, buf, buflen, nbytes);
1232 smb_ofile_netinfo_fini(&fi);
1239 smb_ofile_netinfo_init(smb_ofile_t *of, smb_netfileinfo_t *fi) argument
1261 fi->fi_permissions = of->f_granted_access;
1262 fi->fi_numlocks = smb_lock_get_lock_count(node, of);
1280 fi->fi_permissions = FILE_READ_DATA | FILE_WRITE_DATA |
1282 fi->fi_numlocks = 0;
1292 fi
1306 smb_ofile_netinfo_fini(smb_netfileinfo_t *fi) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrortouch.c64 #define FILEITERATE(fi, lb) for (fi = lb; fi <= nfiles; fi++)
75 int fi; local
100 fi = 1;
106 touchedfiles[fi] = FALSE;
107 files[fi] = &errors[ei];
108 fi++;
112 files[fi]
155 int fi; local
225 int fi; local
477 int fi; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duucleanup.c904 FILE *fp, *fi; local
935 if ((fi= fopen(file, "r")) == NULL)
939 xfappend(fi, fp);
940 (void) fclose(fi);
954 FILE *fp, *fi; local
963 if ( (fi = fopen(file, "r")) == NULL) /* never happen - I read once */
965 xfappend(fi, fp);
966 (void) fclose(fi);
H A Duuxqt.c762 FILE *fp, *fi; local
775 (fi = fopen(errfile, "r")) != NULL) {
777 if (xfappend(fi, fp) != SUCCESS)
779 (void) fclose(fi);
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c116 int fi; variable
240 fi = open64(file, 0);
241 if (fi < 0) {
367 (void) close(fi);
586 if (llseek(fi, (offset_t)bno * DEV_BSIZE, 0) == -1) {
597 got = read((int)fi, buf, cnt);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c89 int fi; variable
449 fi = open64(rawdisk, 0);
450 if (fi < 0) {
457 close(fi);
463 close(fi);
470 close(fi);
477 close(fi);
503 close(fi);
588 close(fi);
651 if (llseek(fi, po
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_vfsops.c1504 failinfo_t fi; local
1519 fi.vp = vp;
1520 fi.fhp = (caddr_t)&args.fsroot;
1521 fi.copyproc = nfs3copyfh;
1522 fi.lookupproc = nfs3lookup;
1523 fi.xattrdirproc = acl_getxattrdir3;
1532 &douprintf, &res.status, 0, &fi);
H A Dnfs_vfsops.c1498 failinfo_t fi; local
1507 fi.vp = vp;
1508 fi.fhp = NULL; /* no need to update, filehandle not copied */
1509 fi.copyproc = nfscopyfh;
1510 fi.lookupproc = nfslookup;
1511 fi.xattrdirproc = acl_getxattrdir2;
1515 &fi);
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c1901 fr_info_t fi; local
1904 bzero((char *)&fi, sizeof (fi));
1906 fi.fin_data[0] = ntohs(np->nl_realport);
1907 fi.fin_data[1] = ntohs(np->nl_outport);
1909 fi.fin_data[0] = ntohs(np->nl_inport);
1910 fi.fin_data[1] = ntohs(np->nl_outport);
1913 fi.fin_p = IPPROTO_TCP;
1915 fi.fin_p = IPPROTO_UDP;
1917 fi
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_recv.c340 int fi; /* frame index */ local
403 fi = 0;
420 av1394_ir_ixl_label_init(&irp->ir_ixl_data[fi],
428 &irp->ir_ixl_data[fi].rd_cb;
476 &irp->ir_ixl_data[fi], fi);
478 &irp->ir_ixl_data[fi], fi);
479 ++fi;
481 av1394_ir_ixl_label_init(&irp->ir_ixl_data[fi],
[all...]
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c60 fileid_t *fi; member in struct:dirinfo
107 * fi[] array. We can have more than one file open at once,
108 * so there is no global fd for the fi[].
358 dirp.fi = filep;
412 filep = dstuff->fi;
594 * We must not dork with any fi[]'s here. Save that for later.
910 dir.fi = fp;
/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c1105 int fi, fo; local
1124 if ((fi = open(file, O_RDWR)) < 0) {
1129 if (fstat(fi, &s) < 0) {
1131 (void) close(fi);
1138 (void) close(fi);
1163 if (fstat(fi, &s) < 0) {
1165 (void) close(fi);
1182 (void) lseek(fi, 0, SEEK_SET);
1198 if ((len = read(fi, buf, MIN(sizeof (buf), rem))) <= 0)
1208 (void) close(fi);
[all...]
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c688 struct fil_info *fi; local
689 int i = 0, nalloc = 2, len = nalloc * sizeof (*fi);
692 fi = calloc(nalloc, sizeof (*fi));
693 if (fi == NULL) {
699 if (pr_getsockopt(Pr, fd, SOL_FILTER, FIL_LIST, fi, &len) != 0)
705 if (fi->fi_pos >= nalloc) {
708 nalloc = fi->fi_pos + 1;
711 len = nalloc * sizeof (*fi);
712 new = realloc(fi, nallo
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/sctp/
H A Dsctp.c1094 fanout_init_t *fi = wsp->walk_arg; local
1099 wsp->walk_addr + fi->offset) == -1) {
1101 wsp->walk_addr + fi->offset);
1107 lw->size = fi->getsize(sctps);
1110 lw->getnext = fi->getnext;
1164 fanout_init_t *fi = wsp->walk_arg; local
1166 if (mdb_pwalk(fi->nested_walker_name, wsp->walk_callback,
1169 fi->nested_walker_name, wsp->walk_addr);
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c716 struct finfo *fi; local
963 fi = forward_register(bd->su_xid, caller, fd, ma.m_uaddr);
964 if (fi == NULL) {
976 if (fi->flag & FINFO_ACTIVE) {
988 fi->flag |= FINFO_ACTIVE;
990 call_msg.rm_xid = fi->forward_xid;
999 forward_destroy(fi);
1015 forward_destroy(fi);
1026 forward_destroy(fi);
1048 forward_destroy(fi);
1224 struct finfo *fi; local
1305 forward_destroy(struct finfo *fi) argument
1342 struct finfo *fi; local
1398 struct finfo *fi; local
[all...]

Completed in 133 milliseconds

123