Home
last modified time | relevance | path

Searched refs:wanted_by (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/fstab-generator/
Dfstab-generator.c358 _cleanup_strv_free_ char **wanted_by = NULL, **required_by = NULL; in add_mount() local
380 r = fstab_filter_options(opts, "x-systemd.wanted-by\0", NULL, NULL, &wanted_by, NULL); in add_mount()
395 if (!strv_isempty(wanted_by)) in add_mount()
401 wanted_by = strv_free(wanted_by); in add_mount()
514 … if (!FLAGS_SET(flags, MOUNT_NOAUTO) && strv_isempty(wanted_by) && strv_isempty(required_by)) { in add_mount()
520 STRV_FOREACH(s, wanted_by) { in add_mount()
/systemd-251/src/sysv-generator/
Dsysv-generator.c56 char **wanted_by; member
73 strv_free(s->wanted_by); in free_sysvstub()
195 STRV_FOREACH(p, s->wanted_by) in generate_unit_file()
870 r = strv_extend(&service->wanted_by, rcnd_table[i].target); in set_dependencies_from_rcnd()
/systemd-251/src/shared/
Dinstall.h87 char **wanted_by; member
Dinstall.c71 !strv_isempty(i->wanted_by) || in unit_file_install_info_has_rules()
1044 strv_free(i->wanted_by); in install_info_free()
1309 … { "Install", "WantedBy", config_parse_strv, 0, &info->wanted_by }, in unit_file_load()
1413 (int) strv_length(info->wanted_by) + in unit_file_load()
2074 …q = install_info_symlink_wants(scope, file_flags, info, lp, config_path, info->wanted_by, ".wants/… in install_info_apply()
2662 l = &info->wanted_by; in unit_file_add_dependency()