Home
last modified time | relevance | path

Searched refs:unit_new (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/test/
Dtest-watch-pid.c32 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()
Dtest-bpf-firewall.c103 assert_se(u = unit_new(m, sizeof(Service))); in main()
194 assert_se(u = unit_new(m, sizeof(Service))); in main()
Dtest-bpf-lsm.c21 assert_se(u = unit_new(m, sizeof(Service))); in test_restrict_filesystems()
Dtest-load-fragment.c114 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()
Dtest-unit-name.c296 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)));
Dtest-socket-bind.c40 assert_se(u = unit_new(m, sizeof(Service))); in test_socket_bind()
Dtest-bpf-foreign-programs.c197 assert_se(u = unit_new(m, sizeof(Service))); in test_bpf_cgroup_programs()
/systemd-251/src/core/
Dunit.h740 Unit* unit_new(Manager *m, size_t size);
Dunit.c89 Unit* unit_new(Manager *m, size_t size) { in unit_new() function
138 u = unit_new(m, size); in unit_new_for_name()
Dmanager.c2161 ret = cleanup_ret = unit_new(m, unit_vtable[t]->object_size); in manager_load_unit_prepare()