/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_open.c | 1256 * '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 D | bootp.c | 134 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 D | globals.c | 23 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
|
H A D | net.h | 72 extern char bootfile[FNAME_SIZE];
|
/freebsd-9.3-release/libexec/bootpd/ |
H A D | bootpd.c | 640 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 D | bootpd.h | 96 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 D | dumptab.c | 62 #\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 D | readfile.c | 880 PARSE_STR(bootfile); 1461 DUP_LINK(bootfile); 1950 del_string(hostptr->bootfile);
|
/freebsd-9.3-release/sbin/geom/class/part/ |
H A D | geom_part.c | 1040 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 D | loader.conf | 18 bootfile="kernel" # Kernel name (possibly absolute path)
|
/freebsd-9.3-release/sys/boot/i386/libi386/ |
H A D | pxe.c | 362 bootplayer.bootfile); 365 bootplayer.bootfile);
|
H A D | pxe.h | 491 uint8_t bootfile[128]; /* boot filename */ member in struct:__anon5753
|
/freebsd-9.3-release/sys/boot/ia64/ski/ |
H A D | main.c | 89 bootfile = GetEnvironmentVariable(ARCENV_BOOTFILE); 90 if (bootfile) 91 setenv("bootfile", bootfile, 1);
|
/freebsd-9.3-release/sys/conf/ |
H A D | kern.post.mk | 248 -thiskernel=`sysctl -n kern.bootfile` ; \ 258 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
|
/freebsd-9.3-release/sys/fs/ntfs/ |
H A D | ntfs.h | 221 struct bootfile { struct 244 struct bootfile ntm_bootfile;
|
H A D | ntfs_vfsops.c | 313 bcopy( bp->b_data, &ntmp->ntm_bootfile, sizeof(struct bootfile) );
|
/freebsd-9.3-release/sys/geom/label/ |
H A D | g_label_ntfs.c | 47 struct bootfile *bf; 61 bf = (struct bootfile *)g_read_data(cp, 0, pp->sectorsize, NULL);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_mib.c | 147 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW,
|
/freebsd-9.3-release/usr.sbin/crashinfo/ |
H A D | crashinfo.sh | 57 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
|
/freebsd-9.3-release/usr.sbin/freebsd-update/ |
H A D | freebsd-update.sh | 636 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 D | syslogd.c | 290 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);
|