Home
last modified time | relevance | path

Searched refs:bootfd (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/libexec/rbootd/
H A Dutils.c384 rtmp->bootfd = -1; in NewConn()
409 if (rtmp->bootfd >= 0) { in FreeConn()
410 (void) close(rtmp->bootfd); in FreeConn()
411 rtmp->bootfd = -1; in FreeConn()
H A Drmpproto.c361 if ((rconn->bootfd = open(filename, O_RDONLY, 0600)) < 0) { in SendBootRepl()
450 if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) < 0) { in SendReadRepl()
461 if ((size = read(oldconn->bootfd, &rpl->r_rrpl.rmp_data, in SendReadRepl()
H A Ddefs.h122 int bootfd; /* open boot file */ member
/freebsd-12.1/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c380 int bootfd; in gpart_bootcode() local
397 bootfd = open(bootcode, O_RDONLY); in gpart_bootcode()
398 if (bootfd < 0) { in gpart_bootcode()
404 bootsize = lseek(bootfd, 0, SEEK_END); in gpart_bootcode()
406 lseek(bootfd, 0, SEEK_SET); in gpart_bootcode()
409 bytes += read(bootfd, boot + bytes, bootsize - bytes); in gpart_bootcode()
410 close(bootfd); in gpart_bootcode()