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

/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c61 struct statefile sfile; variable in typeref:struct:statefile
279 sfile.fd = cpr_statefile_open(cpr_statefile, cpr_filesystem);
280 if (sfile.fd == -1) {
292 (void) cpr_fs_seek(sfile.fd, CPR_SPEC_OFFSET);
294 (void) prom_seek(sfile.fd, CPR_SPEC_OFFSET);
307 (void) cpr_statefile_close(sfile.fd);
335 * sfile.kpages
336 * sfile.size
337 * sfile.buf
338 * sfile
[all...]
H A Dpages.c51 low_src_ppn = SF_ORIG_PPN(sfile.buf_offset);
61 if (dst_ppn < sfile.low_ppn || dst_ppn > sfile.high_ppn) {
84 dst_off = mmu_ptob(dst_ppn - sfile.low_ppn);
104 off = sfile.buf_offset;
289 while (npages < sfile.kpages) {
309 if ((sfile.ngroups++ & 0x1f) == 0)
318 "move %d, precede %d\n", sfile.kpages, sfile.outside,
319 sfile
[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;
372 * sfile.buf_map
386 pages = mmu_btop(sfile.size);
391 sfile.buf_map = (uint_t *)newvirt;
395 * create identity map of sfile.buf phys pages
397 imap = sfile.buf_map;
398 lppn = sfile.low_ppn + pages;
399 for (ppn = sfile.low_ppn; ppn < lppn; ppn++, imap++)
/illumos-gate/usr/src/tools/scripts/
H A Dsccscheck.sh70 sfile="${file%/*}/SCCS/s.${file##*/}"
72 if [ "$sfile" -nt "$file" ]; then
76 ls -E $sfile
H A Dbringovercheck.sh75 sfile="${file%/*}/SCCS/s.${file##*/}"
76 if isnewer "$sfile" "$file"; then
77 ls -E "$sfile"
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dstats.c124 ** sfile -- the name of the statistics file.
130 ** merges the Stat structure with the sfile file.
134 poststats(sfile)
135 char *sfile;
143 if (sfile == NULL || *sfile == '\0' || !GotStats || entered)
157 fd = safeopen(sfile, O_RDWR, 0600, sff);
162 sfile, sm_errstring(errno));
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmailstats.c56 char *sfile; local
75 sfile = NULL;
92 sfile = optarg;
183 if (sfile == NULL)
184 sfile = sfilebuf;
215 if (sfile == NULL)
222 fd = open(sfile, O_RDONLY, 0600);
228 sm_perror(sfile);
240 sm_perror(sfile);
255 sfile);
[all...]
/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/power/
H A Dhandlers.c889 check_mount(char *sfile, dev_t sfdev, int ufs) argument
909 mesg(MERR, err_fmt, sfile);
938 STRCPYLIM(new_cc.cf_devfs, sfile, "block statefile");
944 while (*(sfile + 1) == '/') sfile++;
945 src = sfile + strlen(ent.mnt_mountp);
952 mesg(MERR, err_fmt, sfile);
1067 is_good_slice(char *sfile, char **err) argument
1077 STRCPYLIM(rdskname, sfile, "disk name");
1079 y = strstr(sfile, "ds
1115 char *sfile, *sp, ch; local
[all...]
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dreport.cc44 static char sfile[MAXPATHLEN]; variable
155 len = strlen(sfile);
157 if (strncmp(line, sfile, len) == 0 && line[len] == ':') {
219 strcpy(sfile, filename);
223 fprintf(command_output_fp, "%s:", sfile);
/illumos-gate/usr/src/lib/librdc/common/
H A Dlibrdc.h53 char sfile[NSC_MAXPATH]; member in struct:rdcconfig_s
78 const char *pbmp, const char *shost, const char *sfile, const char *sbmp,
H A Drdcpersist.c62 rdc->phost, rdc->pfile, rdc->pbmp, rdc->shost, rdc->sfile,
193 strncpy(vol, rdc->sfile, NSC_MAXPATH);
278 strncpy(vol, rdc->sfile, NSC_MAXPATH);
322 strncpy(vol, rdc->sfile, NSC_MAXPATH);
508 cfg_lookup(CFGFILE *cfg, char *shost, char *sfile) argument
532 if (strncmp(buf, sfile, strlen(sfile)))
552 cfg_lookup(cfg, rdcp->shost, rdcp->sfile));
611 if ((setnum = cfg_lookup(cfg, rdcp->shost, rdcp->sfile)) < 0) {
664 if ((setnum = cfg_lookup(cfg, rdcp->shost, rdcp->sfile)) <
[all...]
H A Drdcrules.c296 tofile = rdc->sfile;
463 (strcmp(rdc->sfile, rdc->sbmp) == 0)) {
487 if (stat(rdc->sfile, &stb) != 0) {
490 rdc->sfile, strerror(errno));
495 "%s is not a character device"), rdc->sfile);
533 strncpy(rc->set.sfile, rdc->sfile, NSC_MAXPATH);
H A Drdcconfig.c138 strncpy(urdc.secondary.file, rdc->sfile, NSC_MAXPATH);
181 strncpy(rc.set.sfile, set->secondary.file, NSC_MAXPATH);
218 strncpy(rc[0]->set.sfile, set->secondary.file, NSC_MAXPATH);
330 const char *pbmp, const char *shost, const char *sfile, const char *sbmp,
349 if (sfile)
350 strncpy(rc->sfile, sfile, NSC_MAXPATH);
378 strncpy(rcp->set.sfile, rdcp->sfile, NSC_MAXPATH);
329 rdc_alloc_config(const char *phost, const char *pfile, const char *pbmp, const char *shost, const char *sfile, const char *sbmp, const char *mode, const char *group, const char *ctag, const char *options, int persist) argument
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.h153 struct line *sfile[2]; /* shortened by pruning common prefix and suffix */ variable in typeref:struct:line
H A Ddiff.c470 sort(sfile[0], slen[0]);
471 sort(sfile[1], slen[1]);
474 equiv(sfile[0], slen[0], sfile[1], slen[1], member);
478 unsort(sfile[0], slen[0], class);
1987 sfile[j] = file[j] + pref;
1990 sfile[j][i].serial = i;
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_prot.x89 opaque sfile[RDC_MAXNAMLEN];
101 string sfile<RDC_XDR_MAXNAMLEN>;
H A Drdc_svc.c1491 (void) strncpy(rdc_set.secondary.file, state.sfile,
1738 (void) strncpy(rdc_set.secondary.file, state.sfile,
1976 (void) strncpy(rdc_set.secondary.file, state.sfile,
2014 state.sfile = sstr;
2032 * strncpy(rdc_set.secondary.file, state.sfile, RDC_MAXNAMLEN);
2035 bcopy(state.sfile, rdc_set.secondary.file, RDC_MAXNAMLEN);
H A Drdc_clnt.c179 (void) strncpy(s4.sfile, urdc->secondary.file, RDC_MAXNAMLEN);
201 s.sfile = urdc->secondary.file;
291 s.sfile = urdc->secondary.file;
331 (void) strncpy(s4.sfile, urdc->secondary.file,
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.c570 FILE *sfile; local
572 if ((sfile = fopen(sumfile, "w")) == NULL) {
580 if (fwrite(&h, sizeof (h), 1, sfile) != 1) {
589 if (fwrite(&hdr, sizeof (hdr), 1, sfile) != 1) {
597 if (fwrite(samples, sizeof (unsigned_UNIT), nsamples, sfile) !=
613 if (fwrite(&arc, sizeof (arc), 1, sfile) != 1) {
623 if (fwrite(&arc32, sizeof (arc32), 1, sfile) !=
639 (void) fclose(sfile);
648 FILE *sfile; local
658 if ((sfile
[all...]
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_trace.c544 char *sfile; local
636 sfile = rdc_info[rdcindex].secondary.file;
682 if ((len = strlen(sfile)) > DISPLEN) {
684 sfile + len - DISPLEN + 3);
686 (void) mvprintw(4 + k, 39, "%-16s", sfile);
/illumos-gate/usr/src/cmd/lms/
H A DProtocol.cpp1766 std::ifstream sfile(outFileName, std::ios_base::in);
1767 if (!sfile.is_open()) {
1773 sfile.close();
1777 dfile << sfile.rdbuf();
1779 sfile.close();
1788 sfile.close();
/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;
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndradm.c292 /* get sndr entries until shost, sfile match */
1549 setp->shost, setp->sfile, setp->sbmp);
1555 setp->shost, setp->sfile, setp->sbmp);
2945 /* get sndr entries until shost, sfile match */
3053 /* get sndr entries until shost, sfile match */
3335 rcp->set.shost, rcp->set.sfile, rcp->set.sbmp);

Completed in 192 milliseconds