Home
last modified time | relevance | path

Searched refs:sfile (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c61 struct statefile sfile; variable
280 if (sfile.fd == -1) { in cb_open_sf()
379 str, alsize, sfile.size, (void *)sfile.buf, phys)); in cb_read_statefile()
382 str, sfile.size, rsvp); in cb_read_statefile()
389 sfile.low_ppn = ADDR_TO_PN(phys); in cb_read_statefile()
390 sfile.high_ppn = sfile.low_ppn + mmu_btop(sfile.size) - 1; in cb_read_statefile()
423 dst_virt = sfile.buf; in cb_read_statefile()
446 if (alsize > sfile.size) { in cb_read_statefile()
447 len = alsize - sfile.size; in cb_read_statefile()
459 sfile.buf_offset = 0; in cb_read_statefile()
[all …]
H A Dpages.c51 low_src_ppn = SF_ORIG_PPN(sfile.buf_offset); in shuffle_pages()
61 if (dst_ppn < sfile.low_ppn || dst_ppn > sfile.high_ppn) { in shuffle_pages()
84 dst_off = mmu_ptob(dst_ppn - sfile.low_ppn); in shuffle_pages()
104 off = sfile.buf_offset; in mapin_buf_pages()
289 while (npages < sfile.kpages) { in cb_restore_kpages()
309 if ((sfile.ngroups++ & 0x1f) == 0) in cb_restore_kpages()
318 "move %d, precede %d\n", sfile.kpages, sfile.outside, in cb_restore_kpages()
319 sfile.move, sfile.precede); in cb_restore_kpages()
321 sfile.ngroups, sfile.recycle); in cb_restore_kpages()
331 if (npages != sfile.kpages) { in cb_restore_kpages()
[all …]
H A Dcprboot.h112 #define SF_BUF_PPN(off) *(sfile.buf_map + mmu_btop(off))
113 #define SF_ORIG_PPN(off) sfile.low_ppn + mmu_btop(off)
117 #define SF_STAT_INC(field) sfile.field++
123 #define SF_DATA() sfile.buf + sfile.buf_offset
128 #define SF_ADV(len) sfile.buf_offset += len
177 extern struct statefile sfile;
H A Dbitmap.c174 src_base = sfile.buf_offset & MMU_PAGEMASK; in search_buf_pages()
386 pages = mmu_btop(sfile.size); in cb_tracking_setup()
391 sfile.buf_map = (uint_t *)newvirt; in cb_tracking_setup()
397 imap = sfile.buf_map; in cb_tracking_setup()
398 lppn = sfile.low_ppn + pages; in cb_tracking_setup()
399 for (ppn = sfile.low_ppn; ppn < lppn; ppn++, imap++) in cb_tracking_setup()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmailstats.c54 char *sfile; variable
73 sfile = NULL;
90 sfile = optarg;
181 if (sfile == NULL)
182 sfile = sfilebuf;
214 if (sfile == NULL)
221 fd = open(sfile, O_RDONLY, 0600);
227 sm_perror(sfile);
239 sm_perror(sfile);
254 sfile);
[all …]
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c909 mesg(MERR, err_fmt, sfile); in check_mount()
944 while (*(sfile + 1) == '/') sfile++; in check_mount()
952 mesg(MERR, err_fmt, sfile); in check_mount()
1079 y = strstr(sfile, "dsk/"); in is_good_slice()
1115 char *sfile, *sp, ch; in sfpath() local
1134 sfile = LINEARG(1); in sfpath()
1135 if (*sfile != '/') { in sfpath()
1139 for (sp = sfile + strlen(sfile) - 1; sp > sfile && *sp == '/'; sp--) in sfpath()
1145 if (stat(sfile, &stbuf) == -1) { in sfpath()
1148 if ((sp = strrchr(sfile, '/')) == sfile) in sfpath()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dstats.c132 poststats(sfile) in poststats() argument
133 char *sfile; in poststats()
141 if (sfile == NULL || *sfile == '\0' || !GotStats || entered)
155 fd = safeopen(sfile, O_RDWR, 0600, sff);
160 sfile, sm_errstring(errno));
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dreport.cc44 static char sfile[MAXPATHLEN]; variable
155 len = strlen(sfile); in close_file()
157 if (strncmp(line, sfile, len) == 0 && line[len] == ':') { in close_file()
219 strcpy(sfile, filename); in report_dep()
223 fprintf(command_output_fp, "%s:", sfile); in report_dep()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_009_pos.ksh62 log_must mkfile $SPA_MINDEVSIZE $TESTDIR/sfile
64 log_must zpool create spool $TESTDIR/sfile
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.c606 FILE *sfile; in dumpsum_ostyle() local
608 if ((sfile = fopen(sumfile, "w")) == NULL) { in dumpsum_ostyle()
616 if (fwrite(&h, sizeof (h), 1, sfile) != 1) { in dumpsum_ostyle()
625 if (fwrite(&hdr, sizeof (hdr), 1, sfile) != 1) { in dumpsum_ostyle()
659 if (fwrite(&arc32, sizeof (arc32), 1, sfile) != in dumpsum_ostyle()
675 (void) fclose(sfile); in dumpsum_ostyle()
684 FILE *sfile; in dumpsum() local
694 if ((sfile = fopen(sumfile, "w")) == NULL) { in dumpsum()
704 dump_gprofhdr(sfile, sumfile); in dumpsum()
714 dump_modules(sfile, sumfile, pathbuf_sz); in dumpsum()
[all …]
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.h155 struct line *sfile[2]; /* shortened by pruning common prefix and suffix */ variable
H A Ddiff.c483 sort(sfile[0], slen[0]); in main()
484 sort(sfile[1], slen[1]); in main()
487 equiv(sfile[0], slen[0], sfile[1], slen[1], member); in main()
491 unsort(sfile[0], slen[0], class); in main()
1997 sfile[j] = file[j] + pref; in prune()
2000 sfile[j][i].serial = i; in prune()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd609 local($sfile) = $pppdir . "dial-in." . $user;
610 $scriptfiles{$sfile} = "#!/bin/sh\n";
611 $scriptfiles{$sfile} .= "exec /usr/bin/pppd @authopts\n";
612 $dialinshell{$user} = $sfile;