Searched refs:type_or_errno (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/test/ |
D | test-install-root.c | 62 assert_se(changes[0].type_or_errno == UNIT_FILE_SYMLINK); in TEST() 82 assert_se(changes[0].type_or_errno == UNIT_FILE_UNLINK); in TEST() 90 assert_se(changes[0].type_or_errno == UNIT_FILE_SYMLINK); in TEST() 110 assert_se(changes[0].type_or_errno == UNIT_FILE_UNLINK); in TEST() 130 assert_se(changes[0].type_or_errno == UNIT_FILE_SYMLINK); in TEST() 146 assert_se(changes[0].type_or_errno == UNIT_FILE_UNLINK); in TEST() 149 assert_se(changes[1].type_or_errno == UNIT_FILE_SYMLINK); in TEST() 188 assert_se(changes[0].type_or_errno == UNIT_FILE_SYMLINK); in TEST() 192 assert_se(changes[1].type_or_errno == UNIT_FILE_DESTINATION_NOT_PRESENT); in TEST() 256 assert_se(changes[0].type_or_errno == UNIT_FILE_SYMLINK); in TEST() [all …]
|
D | test-install.c | 15 if (c[i].type_or_errno == UNIT_FILE_UNLINK) in dump_changes() 17 else if (c[i].type_or_errno == UNIT_FILE_SYMLINK) in dump_changes()
|
/systemd-251/src/shared/ |
D | install.c | 265 …int type_or_errno, /* UNIT_FILE_SYMLINK, _UNLINK, _IS_MASKED, _IS_DANGLING if positive or errno if… in unit_file_changes_add() argument 274 if (type_or_errno >= 0) in unit_file_changes_add() 275 assert(type_or_errno < _UNIT_FILE_CHANGE_TYPE_MAX); in unit_file_changes_add() 277 assert(type_or_errno >= -ERRNO_MAX); in unit_file_changes_add() 304 .type_or_errno = type_or_errno, in unit_file_changes_add() 331 assert(verb || changes[i].type_or_errno >= 0); in unit_file_dump_changes() 333 switch (changes[i].type_or_errno) { in unit_file_dump_changes() 365 err = log_error_errno(changes[i].type_or_errno, in unit_file_dump_changes() 369 err = log_error_errno(changes[i].type_or_errno, in unit_file_dump_changes() 374 … err = log_error_errno(changes[i].type_or_errno, "Failed to %s unit, unit %s is masked.", in unit_file_dump_changes() [all …]
|
D | install.h | 55 int type_or_errno; /* UNIT_FILE_SYMLINK, … if positive, errno if negative */ member 62 if (IN_SET(changes[i].type_or_errno, UNIT_FILE_SYMLINK, UNIT_FILE_UNLINK)) in unit_file_changes_have_modification()
|
/systemd-251/src/portable/ |
D | portable.c | 822 … int type_or_errno, /* PORTABLE_COPY, PORTABLE_SYMLINK, … if positive, or errno if negative */ in portable_changes_add() argument 832 if (type_or_errno >= 0) in portable_changes_add() 833 assert(type_or_errno < _PORTABLE_CHANGE_TYPE_MAX); in portable_changes_add() 835 assert(type_or_errno >= -ERRNO_MAX); in portable_changes_add() 860 .type_or_errno = type_or_errno, in portable_changes_add() 871 int type_or_errno, in portable_changes_add_with_prefix() argument 889 return portable_changes_add(changes, n_changes, type_or_errno, path, source); in portable_changes_add_with_prefix()
|
D | portable.h | 58 int type_or_errno; /* PORTABLE_COPY, PORTABLE_SYMLINK, … if positive, errno if negative */ member
|
D | portabled-bus.c | 557 if (changes[i].type_or_errno < 0) in reply_portable_compose_message() 561 portable_change_type_to_string(changes[i].type_or_errno), in reply_portable_compose_message()
|
D | portabled-image-bus.c | 625 .type_or_errno = changes_detached[i].type_or_errno, in normalize_portable_changes()
|
/systemd-251/src/systemctl/ |
D | systemctl-is-enabled.c | 26 if (changes[i].type_or_errno == UNIT_FILE_UNLINK) in show_installation_targets_client_side()
|
/systemd-251/src/core/ |
D | dbus-manager.c | 2165 switch (changes[i].type_or_errno) { in install_error() 2209 assert(changes[i].type_or_errno < 0); /* other errors */ in install_error() 2210 … r = sd_bus_error_set_errnof(error, changes[i].type_or_errno, "File %s: %m", changes[i].path); in install_error() 2255 if (changes[i].type_or_errno < 0) { in reply_unit_file_changes_and_free() 2262 unit_file_change_type_to_string(changes[i].type_or_errno), in reply_unit_file_changes_and_free() 2646 if (changes[i].type_or_errno == UNIT_FILE_UNLINK) { in method_get_unit_file_links()
|