Home
last modified time | relevance | path

Searched refs:bootdir (Results 1 – 2 of 2) sorted by relevance

/boot/
A Dbootmeth_pxe.c66 char *bootdir; in extlinux_pxe_read_bootflow() local
82 ret = pxe_get(addr, &bootdir, &size, false); in extlinux_pxe_read_bootflow()
89 if (bootdir) { in extlinux_pxe_read_bootflow()
93 last_slash = strrchr(bootdir, '/'); in extlinux_pxe_read_bootflow()
95 path_len = (last_slash - bootdir) + 1; in extlinux_pxe_read_bootflow()
97 memcpy(bflow->subdir, bootdir, path_len); in extlinux_pxe_read_bootflow()
A Dpxe_utils.c113 strncpy(relfile, ctx->bootdir, MAX_TFTP_PATH_LEN); in get_relfile()
1616 ctx->bootdir = strdup(bootfile ? bootfile : ""); in pxe_setup_ctx()
1617 if (!ctx->bootdir) in pxe_setup_ctx()
1625 ctx->bootdir[path_len] = '\0'; in pxe_setup_ctx()
1632 free(ctx->bootdir); in pxe_destroy_ctx()

Completed in 13 milliseconds