Searched refs:in_initrd (Results 1 – 25 of 26) sorted by relevance
12
/systemd-251/src/gpt-auto-generator/ |
D | gpt-auto-generator.c | 487 if (in_initrd()) { in add_xbootldr() 524 if (in_initrd()) { in add_esp() 603 if (in_initrd()) { in add_root_rw() 664 if (in_initrd()) { in add_root_mount() 680 in_initrd() ? "/sysroot" : "/", in add_root_mount() 686 in_initrd() ? SPECIAL_INITRD_ROOT_FS_TARGET : SPECIAL_LOCAL_FS_TARGET); in add_root_mount() 880 if (!in_initrd()) { in run()
|
/systemd-251/src/test/ |
D | test-proc-cmdline.c | 76 else if (in_initrd() && *strip && proc_cmdline_key_streq(key, "zumm")) in parse_item_given() 78 else if (in_initrd() && !*strip && proc_cmdline_key_streq(key, "rd.zumm")) in parse_item_given() 90 in_initrd_force(!in_initrd()); in test_proc_cmdline_given_one() 100 in_initrd_force(!in_initrd()); in test_proc_cmdline_given_one()
|
/systemd-251/src/shared/ |
D | generator.c | 156 if (in_initrd() && PATH_IN_SET(where, "/", "/usr")) { in generator_write_fsck_deps() 195 if (in_initrd() && path_equal(where, "/sysroot")) { in generator_write_fsck_deps() 203 } else if (in_initrd() && path_equal(where, "/sysusr/usr")) { in generator_write_fsck_deps()
|
D | switch-root.c | 45 old_root_remove = in_initrd(); in switch_root()
|
D | killall.c | 211 if (ignore_proc(pid, sig == SIGKILL && !in_initrd())) in killall()
|
D | fstab-util.c | 56 if (opts && fstab_test_option(opts, "x-initrd.mount\0") && !in_initrd()) in fstab_is_extrinsic()
|
D | condition.c | 721 if (in_initrd()) { in condition_test_needs_update()
|
/systemd-251/src/basic/ |
D | proc-cmdline.c | 59 if (!in_initrd()) in proc_cmdline_extract_first() 68 } else if (FLAGS_SET(flags, PROC_CMDLINE_RD_STRICT) && in_initrd()) in proc_cmdline_extract_first()
|
D | util.h | 26 bool in_initrd(void);
|
D | util.c | 53 bool in_initrd(void) { in in_initrd() function
|
D | unit-file.c | 810 if (in_initrd()) { in runlevel_to_target() 816 rlmap_ptr = in_initrd() ? rlmap_initrd : rlmap; in runlevel_to_target()
|
/systemd-251/src/boot/ |
D | bless-boot-generator.c | 35 if (in_initrd() > 0) { in main()
|
/systemd-251/src/hibernate-resume/ |
D | hibernate-resume.c | 28 if (!in_initrd()) in main()
|
D | hibernate-resume-generator.c | 125 if (!in_initrd()) { in run()
|
/systemd-251/src/core/ |
D | selinux-setup.c | 44 if (in_initrd() && access(selinux_path(), F_OK) < 0) in mac_selinux_setup()
|
D | main.c | 253 else if (in_initrd() == !!startswith(key, "rd.")) in parse_proc_cmdline_item() 1549 } else if (!in_initrd()) in initialize_clock() 1725 in_initrd() ? "rd.systemd.unit=" : "systemd.unit=")) in filter_args() 2029 if (in_initrd()) { in log_execution_mode() 2203 else if (in_initrd()) in do_queue_default_job() 2211 if (r < 0 && in_initrd() && !arg_default_unit) { in do_queue_default_job() 2716 if (in_initrd()) in main()
|
D | import-creds.c | 152 if (!in_initrd()) in import_credentials_boot()
|
D | manager-serialize.c | 36 if (!in_initrd()) in manager_timestamp_shall_serialize()
|
D | manager.c | 978 !in_initrd() && in manager_new() 3719 r = strv_env_assign(&nl, "SYSTEMD_IN_INITRD", one_zero(in_initrd())); in build_generator_environment() 4592 if (in_initrd() && in manager_timestamp_initrd_mangle()
|
/systemd-251/src/debug-generator/ |
D | debug-generator.c | 126 else if (in_initrd()) in generate_wants_symlinks()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 1125 if (in_initrd()) { in run() 1140 if (in_initrd()) in run()
|
/systemd-251/src/shutdown/ |
D | shutdown.c | 422 can_initrd = !in_container && !in_initrd() && access("/run/initramfs/shutdown", X_OK) == 0; in main()
|
/systemd-251/src/sysext/ |
D | sysext.c | 437 in_initrd() ? "initrd" : "system", in validate_version()
|
/systemd-251/src/network/ |
D | networkd-manager.c | 426 if (in_initrd()) { in manager_set_keep_configuration()
|
/systemd-251/src/partition/ |
D | repart.c | 4377 else if (!arg_image && !arg_root && in_initrd()) { in parse_argv() 4413 …if (!in_initrd()) /* Never honour kernel command line factory reset request outside of the initrd … in parse_proc_cmdline_factory_reset() 4436 … if (!in_initrd()) /* Never honour EFI variable factory reset request outside of the initrd */ in parse_efi_variable_factory_reset()
|
12