Lines Matching refs:opt_chroot
122 static char *opt_chroot; variable
279 opt_chroot = arg; in parse_opt()
512 if (opt_chroot != NULL) in add_dir_1()
513 path = chroot_canon (opt_chroot, path); in add_dir_1()
533 if (opt_chroot != NULL) in add_dir_1()
549 if (!opt_chroot) in chroot_stat()
556 canon_path = chroot_canon (opt_chroot, path); in chroot_stat()
582 if (opt_chroot != NULL) in create_links()
693 if (opt_chroot != NULL) in manual_link()
695 real_path = chroot_canon (opt_chroot, path); in manual_link()
809 if (opt_chroot != NULL) in search_dir()
811 dir_name = chroot_canon (opt_chroot, entry->path); in search_dir()
827 if (opt_chroot != NULL && dir_name != NULL) in search_dir()
871 if (!opt_chroot) in search_dir()
875 if (opt_chroot != NULL) in search_dir()
905 if (opt_chroot != NULL) in search_dir()
907 target_name = chroot_canon (opt_chroot, file_name); in search_dir()
924 if (opt_chroot != NULL) in search_dir()
930 if (opt_chroot != NULL) in search_dir()
967 if (opt_chroot != NULL && is_link) in search_dir()
969 real_name = chroot_canon (opt_chroot, file_name); in search_dir()
1175 if (opt_chroot != NULL && dir_name != NULL) in search_dir()
1212 if (do_chroot && opt_chroot) in parse_conf()
1214 canon = chroot_canon (opt_chroot, filename); in parse_conf()
1294 if (opt_chroot != NULL && pattern[0] != '/') in parse_conf_include()
1309 if (do_chroot && opt_chroot) in parse_conf_include()
1311 char *canon = chroot_canon (opt_chroot, pattern); in parse_conf_include()
1392 if (opt_chroot != NULL) in main()
1395 char *endp = rawmemchr (opt_chroot, '\0'); in main()
1396 while (endp > opt_chroot && endp[-1] == '/') in main()
1399 if (endp == opt_chroot) in main()
1400 opt_chroot = NULL; in main()
1402 if (opt_chroot != NULL) in main()
1405 if (!chroot (opt_chroot)) in main()
1409 opt_chroot = NULL; in main()
1425 if (opt_chroot != NULL) in main()
1427 char *p = chroot_canon (opt_chroot, cache_file); in main()
1434 if (opt_chroot != NULL) in main()
1439 if (opt_chroot != NULL) in main()
1444 char *canon = chroot_canon (opt_chroot, in main()
1488 if (opt_chroot != NULL) in main()
1489 aux_cache_file = chroot_canon (opt_chroot, aux_cache_file); in main()