Lines Matching refs:rootbuf
241 static char rootbuf[PATH_MAX] = "/"; variable
699 } else if (realpath(optarg, rootbuf) == NULL) { in parse_args_internal()
706 bam_root = rootbuf; in parse_args_internal()
707 bam_rootlen = strlen(rootbuf); in parse_args_internal()
828 bam_root = rootbuf; in check_subcmd_and_options()
1029 if (realpath(osroot, rootbuf) == NULL) { in bam_menu()
1035 bam_root = rootbuf; in bam_menu()
1036 bam_rootlen = strlen(rootbuf); in bam_menu()
1243 if (rootbuf[strlen(rootbuf) - 1] != '/') in bam_archive()
1244 (void) strcat(rootbuf, "/"); in bam_archive()
1245 bam_rootlen = strlen(rootbuf); in bam_archive()
1255 ret = get_boot_cap(rootbuf); in bam_archive()
1638 strip = (char *)path + strlen(rootbuf); in setup_file()
1642 bam_error(PATH_TOO_LONG, rootbuf); in setup_file()
1783 strip = (char *)path + strlen(rootbuf); in dircache_updatedir()
1789 bam_error(PATH_TOO_LONG, rootbuf); in dircache_updatedir()
1994 strip = (char *)file + strlen(rootbuf); in cmpstat()
2148 bam_error(PATH_TOO_LONG, rootbuf); in set_cache_dir()
2199 bam_error(PATH_TOO_LONG, rootbuf); in set_update_dir()
2236 bam_error(PATH_TOO_LONG, rootbuf); in is_valid_archive()
2263 bam_error(PATH_TOO_LONG, rootbuf); in is_valid_archive()
2344 bam_error(PATH_TOO_LONG, rootbuf); in check_flags_and_files()
2689 bam_error(TIMESTAMP_FAIL, rootbuf); in update_timestamp()
3978 (void) snprintf(rootbuf, sizeof (rootbuf), "%s/", in update_all()
3980 bam_rootlen = strlen(rootbuf); in update_all()
3986 if ((get_boot_cap(rootbuf) != BAM_SUCCESS) || in update_all()
3987 (update_archive(rootbuf, opt) != BAM_SUCCESS)) in update_all()
8129 strcmp(rootbuf, "/") != 0) {