Home
last modified time | relevance | path

Searched refs:UnitFileList (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/systemctl/
Dsystemctl-list-unit-files.c11 static int compare_unit_file_list(const UnitFileList *a, const UnitFileList *b) { in compare_unit_file_list()
28 static bool output_show_unit_file(const UnitFileList *u, char **states, char **patterns) { in output_show_unit_file()
52 static int output_unit_file_list(const UnitFileList *units, unsigned c) { in output_unit_file_list()
67 for (const UnitFileList *u = units; u < units + c; u++) { in output_unit_file_list()
138 _cleanup_free_ UnitFileList *units = NULL; in verb_list_unit_files()
147 UnitFileList *u; in verb_list_unit_files()
162 units = new(UnitFileList, n_units ?: 1); /* avoid malloc(0) */ in verb_list_unit_files()
239 units[c] = (struct UnitFileList) { in verb_list_unit_files()
266 for (UnitFileList *unit = units; unit < units + c; unit++) in verb_list_unit_files()
/systemd-251/src/shared/
Dinstall.h11 typedef struct UnitFileList UnitFileList; typedef
67 struct UnitFileList { struct
Dinstall.c3536 static UnitFileList* unit_file_list_free_one(UnitFileList *f) { in unit_file_list_free_one()
3548 DEFINE_TRIVIAL_CLEANUP_FUNC(UnitFileList*, unit_file_list_free_one);
3584 _cleanup_(unit_file_list_free_onep) UnitFileList *f = NULL; in unit_file_get_list()
3598 f = new0(UnitFileList, 1); in unit_file_get_list()
/systemd-251/src/test/
Dtest-install.c24 UnitFileList *p; in main()
Dtest-load-fragment.c41 UnitFileList *p; in TEST_RET()
Dtest-install-root.c580 UnitFileList *fl; in TEST()
/systemd-251/src/core/
Ddbus-manager.c2017 UnitFileList *item; in list_unit_files_by_patterns()