Lines Matching refs:n_changes

2159                 size_t n_changes) {  in install_error()  argument
2163 for (size_t i = 0; i < n_changes; i++) in install_error()
2217 unit_file_changes_free(changes, n_changes); in install_error()
2226 size_t n_changes, in reply_unit_file_changes_and_free() argument
2233 if (unit_file_changes_have_modification(changes, n_changes)) { in reply_unit_file_changes_and_free()
2253 for (size_t i = 0; i < n_changes; i++) { in reply_unit_file_changes_and_free()
2274 return install_error(error, 0, changes, n_changes); in reply_unit_file_changes_and_free()
2280 unit_file_changes_free(changes, n_changes); in reply_unit_file_changes_and_free()
2284 unit_file_changes_free(changes, n_changes); in reply_unit_file_changes_and_free()
2291 …FileFlags flags, const char *root_dir, char *files[], UnitFileChange **changes, size_t *n_changes), in method_enable_unit_files_generic() argument
2297 size_t n_changes = 0; in method_enable_unit_files_generic() local
2332 r = call(m->unit_file_scope, flags, NULL, l, &changes, &n_changes); in method_enable_unit_files_generic()
2334 return install_error(error, r, changes, n_changes); in method_enable_unit_files_generic()
2336 …y_unit_file_changes_and_free(m, message, carries_install_info ? r : -1, changes, n_changes, error); in method_enable_unit_files_generic()
2355 …FileFlags flags, const char *root_dir, char **files, UnitFileChange **changes, size_t *n_changes) { in unit_file_preset_without_mode() argument
2356 … return unit_file_preset(scope, flags, root_dir, files, UNIT_FILE_PRESET_FULL, changes, n_changes); in unit_file_preset_without_mode()
2371 size_t n_changes = 0; in method_preset_unit_files_with_mode() local
2405 r = unit_file_preset(m->unit_file_scope, flags, NULL, l, preset_mode, &changes, &n_changes); in method_preset_unit_files_with_mode()
2407 return install_error(error, r, changes, n_changes); in method_preset_unit_files_with_mode()
2409 return reply_unit_file_changes_and_free(m, message, r, changes, n_changes, error); in method_preset_unit_files_with_mode()
2415 …FileFlags flags, const char *root_dir, char *files[], UnitFileChange **changes, size_t *n_changes), in method_disable_unit_files_generic() argument
2421 size_t n_changes = 0; in method_disable_unit_files_generic() local
2456 r = call(m->unit_file_scope, flags, NULL, l, &changes, &n_changes); in method_disable_unit_files_generic()
2458 return install_error(error, r, changes, n_changes); in method_disable_unit_files_generic()
2460 return reply_unit_file_changes_and_free(m, message, -1, changes, n_changes, error); in method_disable_unit_files_generic()
2478 size_t n_changes = 0; in method_revert_unit_files() local
2495 r = unit_file_revert(m->unit_file_scope, NULL, l, &changes, &n_changes); in method_revert_unit_files()
2497 return install_error(error, r, changes, n_changes); in method_revert_unit_files()
2499 return reply_unit_file_changes_and_free(m, message, -1, changes, n_changes, error); in method_revert_unit_files()
2504 size_t n_changes = 0; in method_set_default_target() local
2526 …ile_set_default(m->unit_file_scope, force ? UNIT_FILE_FORCE : 0, NULL, name, &changes, &n_changes); in method_set_default_target()
2528 return install_error(error, r, changes, n_changes); in method_set_default_target()
2530 return reply_unit_file_changes_and_free(m, message, -1, changes, n_changes, error); in method_set_default_target()
2535 size_t n_changes = 0; in method_preset_all_unit_files() local
2569 … r = unit_file_preset_all(m->unit_file_scope, flags, NULL, preset_mode, &changes, &n_changes); in method_preset_all_unit_files()
2571 return install_error(error, r, changes, n_changes); in method_preset_all_unit_files()
2573 return reply_unit_file_changes_and_free(m, message, -1, changes, n_changes, error); in method_preset_all_unit_files()
2580 size_t n_changes = 0; in method_add_dependency_unit_files() local
2609 … = unit_file_add_dependency(m->unit_file_scope, flags, NULL, l, target, dep, &changes, &n_changes); in method_add_dependency_unit_files()
2611 return install_error(error, r, changes, n_changes); in method_add_dependency_unit_files()
2613 return reply_unit_file_changes_and_free(m, message, -1, changes, n_changes, error); in method_add_dependency_unit_files()
2619 size_t n_changes = 0, i; in method_get_unit_file_links() local
2641 r = unit_file_disable(LOOKUP_SCOPE_SYSTEM, flags, NULL, p, &changes, &n_changes); in method_get_unit_file_links()
2645 for (i = 0; i < n_changes; i++) in method_get_unit_file_links()