Searched refs:bootfile (Results 1 - 21 of 21) sorted by path

/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.c1256 * 'kern.bootfile' sysctl value tells us exactly which file is being
1261 char bootfile[MAXPATHLEN]; local
1264 size_t len = sizeof(bootfile);
1267 if (sysctlbyname("kern.bootfile", bootfile, &len, NULL, 0) != 0)
1268 strlcpy(bootfile, "kernel", sizeof(bootfile));
1270 if ((p = strrchr(bootfile, '/')) != NULL)
1273 p = bootfile;
/freebsd-9.3-release/lib/libstand/
H A Dbootp.c134 strncpy(bp->bp_file, bootfile, sizeof(bp->bp_file));
212 bcopy(rbuf.rbootp.bp_file, bootfile, sizeof(bootfile));
213 bootfile[sizeof(bootfile) - 1] = '\0';
571 {67, __TXT, "bootfile-name"},
H A Dglobals.c23 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
H A Dnet.h72 extern char bootfile[FNAME_SIZE];
/freebsd-9.3-release/libexec/bootpd/
H A Dbootpd.c640 char *homedir, *bootfile;
804 * Fill in the client's proper bootfile.
822 * Yes Yes Null Send home/boot or bootfile
851 * Determine client's requested homedir and bootfile.
854 bootfile = NULL;
857 bootfile = strrchr(homedir, '/');
858 if (bootfile) {
859 if (homedir == bootfile)
861 *bootfile++ = '\0';
864 bootfile
636 char *homedir, *bootfile; local
[all...]
H A Dbootpd.h96 unsigned bootfile :1, member in struct:flag
146 * The hostname, home directory, and bootfile are all shared strings.
171 struct shared_string *bootfile,
170 struct shared_string *bootfile, member in struct:host
H A Ddumptab.c62 #\tbf -- bootfile\n\
63 #\tbs -- bootfile size in 512-octet blocks\n\
142 if (hp->flags.bootfile) {
143 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string);
H A Dreadfile.c880 PARSE_STR(bootfile);
1461 DUP_LINK(bootfile);
1950 del_string(hostptr->bootfile);
/freebsd-9.3-release/sbin/geom/class/part/
H A Dgeom_part.c1040 gpart_bootfile_read(const char *bootfile, ssize_t *size) argument
1046 if (stat(bootfile, &sb) == -1)
1047 err(EXIT_FAILURE, "%s", bootfile);
1049 errx(EXIT_FAILURE, "%s: not a regular file", bootfile);
1051 errx(EXIT_FAILURE, "%s: empty file", bootfile);
1053 errx(EXIT_FAILURE, "%s: file too big (%zu limit)", bootfile,
1058 fd = open(bootfile, O_RDONLY);
1060 err(EXIT_FAILURE, "%s", bootfile);
1065 err(EXIT_FAILURE, "%s", bootfile);
/freebsd-9.3-release/sys/boot/forth/
H A Dloader.conf18 bootfile="kernel" # Kernel name (possibly absolute path)
/freebsd-9.3-release/sys/boot/i386/libi386/
H A Dpxe.c362 bootplayer.bootfile);
365 bootplayer.bootfile);
H A Dpxe.h491 uint8_t bootfile[128]; /* boot filename */ member in struct:__anon5753
/freebsd-9.3-release/sys/boot/ia64/ski/
H A Dmain.c89 bootfile = GetEnvironmentVariable(ARCENV_BOOTFILE);
90 if (bootfile)
91 setenv("bootfile", bootfile, 1);
/freebsd-9.3-release/sys/conf/
H A Dkern.post.mk248 -thiskernel=`sysctl -n kern.bootfile` ; \
258 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
/freebsd-9.3-release/sys/fs/ntfs/
H A Dntfs.h221 struct bootfile { struct
244 struct bootfile ntm_bootfile;
H A Dntfs_vfsops.c313 bcopy( bp->b_data, &ntmp->ntm_bootfile, sizeof(struct bootfile) );
/freebsd-9.3-release/sys/geom/label/
H A Dg_label_ntfs.c47 struct bootfile *bf;
61 bf = (struct bootfile *)g_read_data(cp, 0, pp->sectorsize, NULL);
/freebsd-9.3-release/sys/kern/
H A Dkern_mib.c147 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW,
/freebsd-9.3-release/usr.sbin/crashinfo/
H A Dcrashinfo.sh57 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
/freebsd-9.3-release/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh636 BOOTFILE=`sysctl -n kern.bootfile`
776 BOOTFILE=`sysctl -n kern.bootfile`
870 BOOTFILE=`sysctl -n kern.bootfile`
1428 # replaced by ${KERNELDIR} (which is `sysctl -n kern.bootfile` minus the
/freebsd-9.3-release/usr.sbin/syslogd/
H A Dsyslogd.c290 static int use_bootfile; /* log entire bootfile for every kern msg */
294 static char bootfile[MAXLINE+1]; /* booted kernel file */ variable
506 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile));
969 use_bootfile ? bootfile : "kernel", msg);
1763 "syslogd: kernel boot file is %s", bootfile);

Completed in 214 milliseconds