Home
last modified time | relevance | path

Searched refs:bootfile (Results 1 – 25 of 25) sorted by relevance

/freebsd/libexec/bootpd/
H A Dbootpd.c627 char *homedir, *bootfile; in handle_request() local
845 bootfile = NULL; in handle_request()
849 if (bootfile) { in handle_request()
852 *bootfile++ = '\0'; in handle_request()
855 bootfile = homedir; in handle_request()
861 (bootfile) ? bootfile : ""); in handle_request()
870 if (hp->flags.bootfile) in handle_request()
871 bootfile = hp->bootfile->string; in handle_request()
882 if (bootfile) { in handle_request()
883 if (bootfile[0] != '/') in handle_request()
[all …]
H A Dbootpd.h94 unsigned bootfile :1, member
168 struct shared_string *bootfile, member
H A Dbootptab.mcs8 # bf -- bootfile
9 # bs -- bootfile size in 512-octet blocks
H A Ddumptab.c128 if (hp->flags.bootfile) { in dump_host()
129 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string); in dump_host()
H A Dbootptab.cmu8 # bf -- bootfile
9 # bs -- bootfile size in 512-octet blocks
H A DChanges56 Fix code to build bootfile name based on combination of
57 client requested name and bootfile specifications.
93 Improve logic for building bootfile pathname, so a path
271 Add support for rfc1085 "bootfile size" tag.
H A Dreadfile.c855 PARSE_STR(bootfile); in eval_symbol()
1418 DUP_LINK(bootfile); in fill_defaults()
1887 del_string(hostptr->bootfile); in free_host()
/freebsd/stand/lua/
H A Dconfig.lua743 local bootfile = loader.getenv("bootfile")
746 if bootfile == nil then
747 bootfile = "kernel"
749 bootfile = bootfile .. ";kernel"
752 return tryLoad(bootfile)
/freebsd/stand/libsa/
H A Dbootp.c157 strncpy(bp->bp_file, bootfile, sizeof(bp->bp_file)); in bootp()
218 bcopy(rbootp->bp_file, bootfile, sizeof(bootfile)); in bootp()
219 bootfile[sizeof(bootfile) - 1] = '\0'; in bootp()
H A Dglobals.c20 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
H A Dnet.h78 extern char bootfile[FNAME_SIZE];
/freebsd/usr.sbin/bhyve/
H A Dlibslirp.h168 const char *bootfile; member
236 const char *tftp_path, const char *bootfile,
/freebsd/stand/defaults/
H A Dloader.conf14 bootfile="kernel" # Kernel name (possibly absolute path)
/freebsd/lib/geom/part/
H A Dgeom_part.c1074 gpart_bootfile_read(const char *bootfile, ssize_t *size) in gpart_bootfile_read() argument
1080 if (stat(bootfile, &sb) == -1) in gpart_bootfile_read()
1081 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
1083 errx(EXIT_FAILURE, "%s: not a regular file", bootfile); in gpart_bootfile_read()
1085 errx(EXIT_FAILURE, "%s: empty file", bootfile); in gpart_bootfile_read()
1087 errx(EXIT_FAILURE, "%s: file too big (%zu limit)", bootfile, in gpart_bootfile_read()
1092 fd = open(bootfile, O_RDONLY); in gpart_bootfile_read()
1094 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
1099 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
/freebsd/tools/test/stress2/misc/
H A Dzzbuildworld.sh34 kernel=`sysctl -n kern.bootfile`
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.c1315 char bootfile[MAXPATHLEN]; in dt_vopen() local
1318 size_t len = sizeof(bootfile); in dt_vopen()
1321 if (sysctlbyname("kern.bootfile", bootfile, &len, NULL, 0) != 0) in dt_vopen()
1322 strlcpy(bootfile, "kernel", sizeof(bootfile)); in dt_vopen()
1324 if ((p = strrchr(bootfile, '/')) != NULL) in dt_vopen()
1327 p = bootfile; in dt_vopen()
/freebsd/usr.sbin/crashinfo/
H A Dcrashinfo.sh79 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
/freebsd/stand/common/
H A Dhelp.common149 set bootfile=<filename>[;<filename>...]
152 by setting the bootfile variable to a semicolon-separated list of
154 directories. The default bootfile set is "kernel".
/freebsd/sys/conf/
H A Dkern.post.mk411 -thiskernel=`sysctl -n kern.bootfile || echo /boot/kernel/kernel` ; \
427 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
/freebsd/stand/i386/libi386/
H A Dpxe.h477 uint8_t bootfile[128]; /* boot filename */ member
/freebsd/stand/forth/
H A Dsupport.4th1368 \ 1. The "bootfile" environment variable
1382 s" bootfile" getenv dup -1 <> if
1403 \ 1. The "bootfile" environment variable
1485 \ 1. The "bootfile" environment variable
/freebsd/usr.sbin/syslogd/
H A Dsyslogd.c412 static char bootfile[MAXPATHLEN]; /* booted kernel file */ variable
801 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile)); in main()
2697 "kernel boot file is %s", bootfile); in init()
/freebsd/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh789 BOOTFILE=`sysctl -n kern.bootfile`
932 BOOTFILE=`sysctl -n kern.bootfile`
1069 BOOTFILE=`sysctl -n kern.bootfile`
/freebsd/sys/kern/
H A Dkern_mib.c142 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW,
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc550 kern.bootfile