Home
last modified time | relevance | path

Searched refs:UNIT_VTABLE (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/core/
Dunit.c212 if (UNIT_VTABLE(u)->init) in unit_init()
213 UNIT_VTABLE(u)->init(u); in unit_init()
413 UNIT_VTABLE(u)->release_resources) in unit_may_gc()
414 UNIT_VTABLE(u)->release_resources(u); in unit_may_gc()
456 if (UNIT_VTABLE(u)->may_gc && !UNIT_VTABLE(u)->may_gc(u)) in unit_may_gc()
657 if (UNIT_VTABLE(u)->done) in unit_done()
658 UNIT_VTABLE(u)->done(u); in unit_done()
855 return UNIT_VTABLE(u)->active_state(u); in unit_active_state()
861 return UNIT_VTABLE(u)->sub_state_to_string(u); in unit_sub_state_to_string()
1194 if (UNIT_VTABLE(other)->done) in unit_merge()
[all …]
Dunit-serialize.c100 if (switching_root && UNIT_VTABLE(u)->exclude_from_switch_root_serialization) { in unit_serialize()
112 assert(!!UNIT_VTABLE(u)->serialize == !!UNIT_VTABLE(u)->deserialize_item); in unit_serialize()
114 if (UNIT_VTABLE(u)->serialize) { in unit_serialize()
115 r = UNIT_VTABLE(u)->serialize(u, f, fds); in unit_serialize()
533 if (UNIT_VTABLE(u)->deserialize_item) { in unit_deserialize()
534 r = UNIT_VTABLE(u)->deserialize_item(u, l, v, fds); in unit_deserialize()
841 if (UNIT_VTABLE(u)->dump) in unit_dump()
842 UNIT_VTABLE(u)->dump(u, f, prefix2); in unit_dump()
Dunit.h700 static inline const UnitVTable* UNIT_VTABLE(const Unit *u) { in UNIT_VTABLE() function
721 #define UNIT_HAS_EXEC_CONTEXT(u) (UNIT_VTABLE(u)->exec_context_offset > 0)
722 #define UNIT_HAS_CGROUP_CONTEXT(u) (UNIT_VTABLE(u)->cgroup_context_offset > 0)
723 #define UNIT_HAS_KILL_CONTEXT(u) (UNIT_VTABLE(u)->kill_context_offset > 0)
762 (UNIT_VTABLE(u)->is_extrinsic && UNIT_VTABLE(u)->is_extrinsic(u)); in unit_is_extrinsic()
766 if (u && UNIT_VTABLE(u)->status_text) in unit_status_text()
767 return UNIT_VTABLE(u)->status_text(u); in unit_status_text()
Dslice.c364 if (!UNIT_VTABLE(member)->freeze) in slice_freezer_action_supported_by_children()
385 r = UNIT_VTABLE(member)->freeze(member); in slice_freezer_action()
387 r = UNIT_VTABLE(member)->thaw(member); in slice_freezer_action()
Djob.c516 … return UNIT_VTABLE(u)->status_message_formats.starting_stopping[0] ?: "Starting %s..."; in job_start_message_format()
518 … return UNIT_VTABLE(u)->status_message_formats.starting_stopping[1] ?: "Stopping %s..."; in job_start_message_format()
612 const UnitStatusMessageFormats *formats = &UNIT_VTABLE(u)->status_message_formats; in job_done_message_format()
1355 if (UNIT_VTABLE(u)->get_timeout) { in job_get_timeout()
1356 r = UNIT_VTABLE(u)->get_timeout(u, &y); in job_get_timeout()
1377 if (!UNIT_VTABLE(j->unit)->gc_jobs) in job_may_gc()
Dfuzz-unit-file.c76 UNIT_VTABLE(u)->sections, in LLVMFuzzerTestOneInput()
Dload-dropin.c118 UNIT_VTABLE(u)->sections, in unit_load_dropin()
Dmanager.c1663 if (!UNIT_VTABLE(u)->distribute_fds) in manager_distribute_fds()
1666 UNIT_VTABLE(u)->distribute_fds(u, fds); in manager_distribute_fds()
2424 if (UNIT_VTABLE(u)->notify_message) in manager_invoke_notify_message()
2425 UNIT_VTABLE(u)->notify_message(u, ucred, tags, fds); in manager_invoke_notify_message()
2606 if (UNIT_VTABLE(u)->sigchld_event) in manager_invoke_sigchld_event()
2607 UNIT_VTABLE(u)->sigchld_event(u, si->si_pid, si->si_code, si->si_status); in manager_invoke_sigchld_event()
2942 if (UNIT_VTABLE(u)->time_change) in manager_dispatch_time_change_fd()
2943 UNIT_VTABLE(u)->time_change(u); in manager_dispatch_time_change_fd()
2974 if (UNIT_VTABLE(u)->timezone_change) in manager_dispatch_timezone_change()
2975 UNIT_VTABLE(u)->timezone_change(u); in manager_dispatch_timezone_change()
Dcore-varlink.c63 if (!UNIT_VTABLE(u)->can_set_managed_oom) in build_managed_oom_json_array_element()
96 if (!UNIT_VTABLE(u)->can_set_managed_oom || !u->manager || !u->cgroup_path) in manager_varlink_send_managed_oom_update()
Ddbus-cgroup.c526 if (!UNIT_VTABLE(u)->can_delegate) in bus_cgroup_set_transient_property()
545 if (streq(name, "DelegateControllers") && !UNIT_VTABLE(u)->can_delegate) in bus_cgroup_set_transient_property()
1856 if (!UNIT_VTABLE(u)->can_set_managed_oom) in bus_cgroup_set_property()
1879 if (!UNIT_VTABLE(u)->can_set_managed_oom) in bus_cgroup_set_property()
Ddbus-unit.c2442 if (!UNIT_VTABLE(u)->bus_set_property) in bus_unit_set_properties()
2453 r = UNIT_VTABLE(u)->bus_set_property(u, name, message, f, error); in bus_unit_set_properties()
2480 if (commit && n > 0 && UNIT_VTABLE(u)->bus_commit_properties) in bus_unit_set_properties()
2481 UNIT_VTABLE(u)->bus_commit_properties(u); in bus_unit_set_properties()
Dcgroup.c2999 if (UNIT_VTABLE(u)->notify_cgroup_empty) in on_cgroup_empty_event()
3000 UNIT_VTABLE(u)->notify_cgroup_empty(u); in on_cgroup_empty_event()
4091 if (!UNIT_VTABLE(u)->can_delegate) in unit_cgroup_delegate()
Dautomount.c973 return UNIT_VTABLE(t)->may_gc(t); in automount_may_gc()
Dload-fragment.c6116 UNIT_VTABLE(u)->sections, in unit_load_fragment()