Searched refs:unit_new (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/test/ |
D | test-watch-pid.c | 32 assert_se(a = unit_new(m, sizeof(Service))); in main() 36 assert_se(b = unit_new(m, sizeof(Service))); in main() 40 assert_se(c = unit_new(m, sizeof(Service))); in main()
|
D | test-bpf-firewall.c | 103 assert_se(u = unit_new(m, sizeof(Service))); in main() 194 assert_se(u = unit_new(m, sizeof(Service))); in main()
|
D | test-bpf-lsm.c | 21 assert_se(u = unit_new(m, sizeof(Service))); in test_restrict_filesystems()
|
D | test-load-fragment.c | 114 assert_se(u = unit_new(m, sizeof(Service))); in TEST() 473 assert_se(u = unit_new(m, sizeof(Service))); in TEST() 834 assert_se(u = unit_new(m, sizeof(Service))); in TEST() 967 assert_se(u = unit_new(m, sizeof(Service))); in TEST()
|
D | test-unit-name.c | 296 assert_se(u = unit_new(m, sizeof(Service))); 358 assert_se(u = unit_new(m, sizeof(Service))); 393 assert_se(u = unit_new(m, sizeof(Slice)));
|
D | test-socket-bind.c | 40 assert_se(u = unit_new(m, sizeof(Service))); in test_socket_bind()
|
D | test-bpf-foreign-programs.c | 197 assert_se(u = unit_new(m, sizeof(Service))); in test_bpf_cgroup_programs()
|
/systemd-251/src/core/ |
D | unit.h | 740 Unit* unit_new(Manager *m, size_t size);
|
D | unit.c | 89 Unit* unit_new(Manager *m, size_t size) { in unit_new() function 138 u = unit_new(m, size); in unit_new_for_name()
|
D | manager.c | 2161 ret = cleanup_ret = unit_new(m, unit_vtable[t]->object_size); in manager_load_unit_prepare()
|