Home
last modified time | relevance | path

Searched refs:dfile (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/rt/
H A Dpos4obj.c129 char *dfile; in __pos4obj_name() local
193 free(dfile); in __pos4obj_name()
225 free(dfile); in __pos4obj_name()
295 char *dfile; in __pos4obj_open() local
308 free(dfile); in __pos4obj_open()
337 free(dfile); in __pos4obj_open()
346 char *dfile; in __pos4obj_unlink() local
356 free(dfile); in __pos4obj_unlink()
368 char *dfile; in __pos4obj_lock() local
386 free(dfile); in __pos4obj_lock()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/
H A Dusbdevs2h.awk200 printf("\n") > dfile
207 printf("0") > dfile
208 printf(",\n") > dfile
216 printf(" ") > dfile
228 printf(" ") > dfile
269 dfile="/dev/stdout"
285 if (dfile)
286 header(dfile)
306 print $0 > dfile
316 if (dfile)
[all …]
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c94 FILE *dfile; /* debug file */ variable
136 DPRINT((dfile, "low on buffer\n")); in get_port_default()
224 DPRINT((dfile, "parsing %s\n", hosts_str)); in parsehosts()
319 DPRINT((dfile, "port: %d\n", port)); in parsehosts()
329 DPRINT((dfile, "mechanism: %s\n", mech_str)); in parsehosts()
607 DPRINT((dfile, "success\n")); in auditd_plugin()
719 dfile = __auditd_debug_file_open(); in auditd_plugin_open()
731 DPRINT((dfile, "val_str=%s\n", val_str)); in auditd_plugin_open()
750 DPRINT((dfile, "val_str=%s\n", val_str)); in auditd_plugin_open()
762 DPRINT((dfile, "qsize=%s\n", val_str)); in auditd_plugin_open()
[all …]
H A Dtransport.c354 DPRINT((dfile, in establish_context()
384 DPRINT((dfile, "continue needed... ")); in establish_context()
395 DPRINT((dfile, "context established\n")); in establish_context()
409 DPRINT((dfile, "context deleted\n")); in delete_context()
788 DPRINT((dfile, in send_record()
999 DPRINT((dfile, "poll() failed: %s\n", in recv_record()
1187 DPRINT((dfile, "Bad signature " in recv_record()
1292 DPRINT((dfile, "Wait for sync\n")); in reset_transport()
1294 DPRINT((dfile, "Synced\n")); in reset_transport()
1379 DPRINT((dfile, "Deleting context: ")); in do_cleanup()
[all …]
H A Daudit_remote.h124 #define DPRINT(x) { (void) fprintf x; (void) fflush(dfile); }
130 extern FILE *dfile;
/illumos-gate/usr/src/cmd/bnu/
H A Duux.c456 ASSERT(access(dfile, 0) != 0, Fl_EXISTS, dfile, errno);
466 dfile, errno);
476 GENSEND(fpc, dfile, dfile, dfile);
486 wfcommit(dfile, dfile, xsys);
672 GENSEND(fpc, rest, dfile, dfile);
674 GENSEND(fpc, rest, dfile, dfile);
697 dfile, BASENAME(rest, '/'));
755 GENRCV(fp, rest, dfile);
768 syspart, dfile);
830 GENRCV(fp, rest, dfile);
[all …]
H A Duucp.c488 char dfile[NAMESIZE]; local
586 gename(DATAPRE, s2, Grade, dfile);
596 0777, Nuser, dfile);
638 gename(DATAPRE, s2, Grade, dfile);
642 if (uidxcp(file1, dfile))
645 (void) chmod(dfile, DFILEMODE);
650 file1, file2, User, Optns, dfile,
H A Duuxqt.c831 char dfile[MAXFULLNAME], cfile[MAXFULLNAME], incmd[BUFSIZ]; local
1032 (void) strcpy(dfile, "/dev/null");
1035 (void) snprintf(dfile, sizeof (dfile), "%s/%s", WORKSPACE,
1134 ret = shio(_Cmd, fin, dfile, errDfile);
1188 if ((xmv(dfile, fout)) != 0) {
1194 if (putinpub(fout, dfile, origuser) == 0)
1214 bname = BASENAME(dfile, '/');
1221 wfcommit(dfile, BASENAME(dfile, '/'), sendsys);
H A Dcntrl.c200 Pname(fileid, dfile, direct) in Pname() argument
202 char *dfile;
218 if (p = strrchr(dfile, '/')) { /* find the last slash */
223 DEBUG(7, "Point file (direct) =%s\n", dfile);
227 strcpy(dfile, RemSpool);
228 strcat(dfile, "/");
229 p = dfile + strlen(Dfile);
230 strcat(dfile, fileid);
232 DEBUG(7, "Point file=%s\n", dfile);
/illumos-gate/usr/src/cmd/look/
H A Dlook.c19 FILE *dfile; variable
72 dfile = fopen(filenam,"r"); in main()
73 if(dfile==NULL) { in main()
85 fseek(dfile,0L,2); in main()
86 top = ftell(dfile); in main()
89 fseek(dfile,mid,0); in main()
91 c = getc(dfile); in main()
112 fseek(dfile,bot,0); in main()
113 while(ftell(dfile)<top) { in main()
162 c = getc(dfile); in getword()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dlegal.c53 char dfile[MAXFILENAME]; local
66 strcpy(dfile, ".");
68 strcpy(dfile, "/");
72 strncpy(dfile, file, sp - file);
73 dfile[sp - file] = '\0';
75 if (access(dfile, A_WRITE) == CERROR)
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c141 char *dfile; in main() local
154 dfile = NULL; in main()
191 dfile = optarg; in main()
261 if (eflag && ((dfile == NULL) || qflag)) { in main()
294 if (!dfile && !vname) in main()
300 if (dfile) { in main()
301 if (strcmp(dfile, "-") == 0) { in main()
308 if ((fp = fopen(dfile, "r")) == NULL) { in main()
310 dfile); in main()
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.c540 char *dfile = NULL, *plugin_path = NULL; in main() local
583 dfile = optarg; in main()
594 if (dfile != NULL) { in main()
595 if (strcmp(dfile, "-") == 0) { in main()
601 dfp = fopen(dfile, "a"); in main()
604 dfile, strerror(errno)); in main()
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c582 static char dfile[BUFSIZ]; in cat() local
589 (void) strcpy(dfile, file); in cat()
590 return (dfile); in cat()
592 (void) strcpy(dfile, dir); in cat()
594 (void) strcat(dfile, "/"); in cat()
595 (void) strcat(dfile, file); in cat()
596 return (dfile); in cat()
/illumos-gate/usr/src/cmd/file/
H A Dfile.c105 static char *dfile; variable
242 add_to_mlist(dfile, 0); in main()
304 if (f_mkmtab(dfile, cflg, 0) == -1) { in main()
325 if (f_mkmtab(dfile, cflg, 0) == -1) { in main()
1809 if ((dfile = malloc(strlen(msg_locale) + 35)) == NULL) { in default_magic()
1815 (void) snprintf(dfile, strlen(msg_locale) + 35, in default_magic()
1817 if (stat(dfile, &statbuf) != 0) { in default_magic()
1818 (void) strcpy(dfile, "/etc/magic"); in default_magic()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dbindings.c202 Dbg_bind_pltpad_to(Rt_map *lmp, Addr pltpad, const char *dfile, in Dbg_bind_pltpad_to() argument
211 NAME(lmp), dfile, sname); in Dbg_bind_pltpad_to()
H A Drelocate.c442 const char *dfile, const char *symname) in Dbg64_pltpad_to() argument
450 dfile, symname); in Dbg64_pltpad_to()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.glob.c927 static char dfile[MAXNAMLEN]; in makename() local
931 dp = dfile; in makename()
935 if (dp > dfile && *(dp - 1) != '/') in makename()
945 return (rindex(dfile, '/') + 1); in makename()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcollect.c748 char *dfile; local
752 dfile = queuename(e, DATAFL_LETTER);
753 if (stat(dfile, &st) < 0)
757 dfile, (long) st.st_size);
/illumos-gate/usr/src/cmd/units/
H A Dunits.c21 char *dfile = "/usr/share/lib/unittab"; variable
106 file = dfile; in main()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c2177 static char dfile[PATH_MAX + 1 + MAXNAMLEN + 1]; in makename() local
2180 dp = dfile; in makename()
2184 if (dp > dfile && *(dp - 1) != '/') in makename()
2190 return (dfile); in makename()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c15636 int dfile = un->un_pos.fileno; /* save current file */ in st_space_records() local
15644 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD))) { in st_space_records()
15660 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD) || in st_space_records()