Home
last modified time | relevance | path

Searched refs:in_initrd (Results 1 – 25 of 26) sorted by relevance

12

/systemd-251/src/gpt-auto-generator/
Dgpt-auto-generator.c487 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/
Dtest-proc-cmdline.c76 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/
Dgenerator.c156 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()
Dswitch-root.c45 old_root_remove = in_initrd(); in switch_root()
Dkillall.c211 if (ignore_proc(pid, sig == SIGKILL && !in_initrd())) in killall()
Dfstab-util.c56 if (opts && fstab_test_option(opts, "x-initrd.mount\0") && !in_initrd()) in fstab_is_extrinsic()
Dcondition.c721 if (in_initrd()) { in condition_test_needs_update()
/systemd-251/src/basic/
Dproc-cmdline.c59 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()
Dutil.h26 bool in_initrd(void);
Dutil.c53 bool in_initrd(void) { in in_initrd() function
Dunit-file.c810 if (in_initrd()) { in runlevel_to_target()
816 rlmap_ptr = in_initrd() ? rlmap_initrd : rlmap; in runlevel_to_target()
/systemd-251/src/boot/
Dbless-boot-generator.c35 if (in_initrd() > 0) { in main()
/systemd-251/src/hibernate-resume/
Dhibernate-resume.c28 if (!in_initrd()) in main()
Dhibernate-resume-generator.c125 if (!in_initrd()) { in run()
/systemd-251/src/core/
Dselinux-setup.c44 if (in_initrd() && access(selinux_path(), F_OK) < 0) in mac_selinux_setup()
Dmain.c253 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()
Dimport-creds.c152 if (!in_initrd()) in import_credentials_boot()
Dmanager-serialize.c36 if (!in_initrd()) in manager_timestamp_shall_serialize()
Dmanager.c978 !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/
Ddebug-generator.c126 else if (in_initrd()) in generate_wants_symlinks()
/systemd-251/src/fstab-generator/
Dfstab-generator.c1125 if (in_initrd()) { in run()
1140 if (in_initrd()) in run()
/systemd-251/src/shutdown/
Dshutdown.c422 can_initrd = !in_container && !in_initrd() && access("/run/initramfs/shutdown", X_OK) == 0; in main()
/systemd-251/src/sysext/
Dsysext.c437 in_initrd() ? "initrd" : "system", in validate_version()
/systemd-251/src/network/
Dnetworkd-manager.c426 if (in_initrd()) { in manager_set_keep_configuration()
/systemd-251/src/partition/
Drepart.c4377 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