Lines Matching defs:u

77 bool unit_has_startup_cgroup_constraints(Unit *u) {  in unit_has_startup_cgroup_constraints()
96 bool unit_has_host_root_cgroup(Unit *u) { in unit_has_host_root_cgroup()
108 static int set_attribute_and_warn(Unit *u, const char *controller, const char *attribute, const cha… in set_attribute_and_warn()
284 static int unit_get_kernel_memory_limit(Unit *u, const char *file, uint64_t *ret) { in unit_get_kernel_memory_limit()
293 static int unit_compare_memory_limit(Unit *u, const char *property_name, uint64_t *ret_unit_value, … in unit_compare_memory_limit()
386 static char *format_cgroup_memory_limit_comparison(char *buf, size_t l, Unit *u, const char *proper… in format_cgroup_memory_limit_comparison()
415 void cgroup_context_dump(Unit *u, FILE* f, const char *prefix) { in cgroup_context_dump()
730 static void unit_set_xattr_graceful(Unit *u, const char *cgroup_path, const char *name, const void … in unit_set_xattr_graceful()
748 static void unit_remove_xattr_graceful(Unit *u, const char *cgroup_path, const char *name) { in unit_remove_xattr_graceful()
766 void cgroup_oomd_xattr_apply(Unit *u, const char *cgroup_path) { in cgroup_oomd_xattr_apply()
788 static void cgroup_xattr_apply(Unit *u) { in cgroup_xattr_apply()
932 static usec_t cgroup_cpu_adjust_period_and_log(Unit *u, usec_t period, usec_t quota) { in cgroup_cpu_adjust_period_and_log()
956 static void cgroup_apply_unified_cpu_weight(Unit *u, uint64_t weight) { in cgroup_apply_unified_cpu_weight()
963 static void cgroup_apply_unified_cpu_quota(Unit *u, usec_t quota, usec_t period) { in cgroup_apply_unified_cpu_quota()
975 static void cgroup_apply_legacy_cpu_shares(Unit *u, uint64_t shares) { in cgroup_apply_legacy_cpu_shares()
982 static void cgroup_apply_legacy_cpu_quota(Unit *u, usec_t quota, usec_t period) { in cgroup_apply_legacy_cpu_quota()
1007 static void cgroup_apply_unified_cpuset(Unit *u, const CPUSet *cpus, const char *name) { in cgroup_apply_unified_cpuset()
1066 static int set_bfq_weight(Unit *u, const char *controller, dev_t dev, uint64_t io_weight) { in set_bfq_weight()
1110 static void cgroup_apply_io_device_weight(Unit *u, const char *dev_path, uint64_t io_weight) { in cgroup_apply_io_device_weight()
1132 static void cgroup_apply_blkio_device_weight(Unit *u, const char *dev_path, uint64_t blkio_weight) { in cgroup_apply_blkio_device_weight()
1145 static void cgroup_apply_io_device_latency(Unit *u, const char *dev_path, usec_t target) { in cgroup_apply_io_device_latency()
1162 static void cgroup_apply_io_device_limit(Unit *u, const char *dev_path, uint64_t *limits) { in cgroup_apply_io_device_limit()
1182 static void cgroup_apply_blkio_device_limit(Unit *u, const char *dev_path, uint64_t rbps, uint64_t … in cgroup_apply_blkio_device_limit()
1196 static bool unit_has_unified_memory_config(Unit *u) { in unit_has_unified_memory_config()
1208 static void cgroup_apply_unified_memory_limit(Unit *u, const char *file, uint64_t v) { in cgroup_apply_unified_memory_limit()
1217 static void cgroup_apply_firewall(Unit *u) { in cgroup_apply_firewall()
1229 static void cgroup_apply_socket_bind(Unit *u) { in cgroup_apply_socket_bind()
1235 static void cgroup_apply_restrict_network_interfaces(Unit *u) { in cgroup_apply_restrict_network_interfaces()
1241 static int cgroup_apply_devices(Unit *u) { in cgroup_apply_devices()
1329 static void set_io_weight(Unit *u, uint64_t weight) { in set_io_weight()
1340 static void set_blkio_weight(Unit *u, uint64_t weight) { in set_blkio_weight()
1351 static void cgroup_apply_bpf_foreign_program(Unit *u) { in cgroup_apply_bpf_foreign_program()
1358 Unit *u, in cgroup_context_apply()
1663 static bool unit_get_needs_bpf_firewall(Unit *u) { in unit_get_needs_bpf_firewall()
1692 static bool unit_get_needs_bpf_foreign_program(Unit *u) { in unit_get_needs_bpf_foreign_program()
1703 static bool unit_get_needs_socket_bind(Unit *u) { in unit_get_needs_socket_bind()
1714 static bool unit_get_needs_restrict_network_interfaces(Unit *u) { in unit_get_needs_restrict_network_interfaces()
1725 static CGroupMask unit_get_cgroup_mask(Unit *u) { in unit_get_cgroup_mask()
1765 static CGroupMask unit_get_bpf_mask(Unit *u) { in unit_get_bpf_mask()
1786 CGroupMask unit_get_own_mask(Unit *u) { in unit_get_own_mask()
1802 CGroupMask unit_get_delegate_mask(Unit *u) { in unit_get_delegate_mask()
1825 static CGroupMask unit_get_subtree_mask(Unit *u) { in unit_get_subtree_mask()
1833 CGroupMask unit_get_members_mask(Unit *u) { in unit_get_members_mask()
1854 CGroupMask unit_get_siblings_mask(Unit *u) { in unit_get_siblings_mask()
1869 static CGroupMask unit_get_disable_mask(Unit *u) { in unit_get_disable_mask()
1879 CGroupMask unit_get_ancestor_disable_mask(Unit *u) { in unit_get_ancestor_disable_mask()
1896 CGroupMask unit_get_target_mask(Unit *u) { in unit_get_target_mask()
1917 CGroupMask unit_get_enable_mask(Unit *u) { in unit_get_enable_mask()
1932 void unit_invalidate_cgroup_members_masks(Unit *u) { in unit_invalidate_cgroup_members_masks()
1945 const char *unit_get_realized_cgroup_path(Unit *u, CGroupMask mask) { in unit_get_realized_cgroup_path()
1969 char *unit_default_cgroup_path(const Unit *u) { in unit_default_cgroup_path()
1993 int unit_set_cgroup_path(Unit *u, const char *path) { in unit_set_cgroup_path()
2020 int unit_watch_cgroup(Unit *u) { in unit_watch_cgroup()
2071 int unit_watch_cgroup_memory(Unit *u) { in unit_watch_cgroup_memory()
2134 int unit_pick_cgroup_path(Unit *u) { in unit_pick_cgroup_path()
2160 Unit *u, in unit_update_cgroup()
2250 static int unit_attach_pid_to_cgroup_via_bus(Unit *u, pid_t pid, const char *suffix_path) { in unit_attach_pid_to_cgroup_via_bus()
2288 int unit_attach_pids_to_cgroup(Unit *u, Set *pids, const char *suffix_path) { in unit_attach_pids_to_cgroup()
2401 Unit *u, in unit_has_mask_realized()
2429 Unit *u, in unit_has_mask_disables_realized()
2446 Unit *u, in unit_has_mask_enables_realized()
2462 static void unit_add_to_cgroup_realize_queue(Unit *u) { in unit_add_to_cgroup_realize_queue()
2472 static void unit_remove_from_cgroup_realize_queue(Unit *u) { in unit_remove_from_cgroup_realize_queue()
2484 static int unit_realize_cgroup_now_enable(Unit *u, ManagerState state) { in unit_realize_cgroup_now_enable()
2516 static int unit_realize_cgroup_now_disable(Unit *u, ManagerState state) { in unit_realize_cgroup_now_disable()
2599 static int unit_realize_cgroup_now(Unit *u, ManagerState state) { in unit_realize_cgroup_now()
2666 void unit_add_family_to_cgroup_realize_queue(Unit *u) { in unit_add_family_to_cgroup_realize_queue()
2717 int unit_realize_cgroup(Unit *u) { in unit_realize_cgroup()
2742 void unit_release_cgroup(Unit *u) { in unit_release_cgroup()
2770 bool unit_maybe_release_cgroup(Unit *u) { in unit_maybe_release_cgroup()
2793 void unit_prune_cgroup(Unit *u) { in unit_prune_cgroup()
2834 int unit_search_main_pid(Unit *u, pid_t *ret) { in unit_search_main_pid()
2871 static int unit_watch_pids_in_path(Unit *u, const char *path) { in unit_watch_pids_in_path()
2923 int unit_synthesize_cgroup_empty_event(Unit *u) { in unit_synthesize_cgroup_empty_event()
2948 int unit_watch_all_pids(Unit *u) { in unit_watch_all_pids()
2972 Unit *u; in on_cgroup_empty_event() local
3005 void unit_add_to_cgroup_empty_queue(Unit *u) { in unit_add_to_cgroup_empty_queue()
3051 static void unit_remove_from_cgroup_empty_queue(Unit *u) { in unit_remove_from_cgroup_empty_queue()
3061 int unit_check_oomd_kill(Unit *u) { in unit_check_oomd_kill()
3115 int unit_check_oom(Unit *u) { in unit_check_oom()
3153 Unit *u; in on_cgroup_oom_event() local
3178 static void unit_add_to_cgroup_oom_queue(Unit *u) { in unit_add_to_cgroup_oom_queue()
3216 static int unit_check_cgroup_events(Unit *u) { in unit_check_cgroup_events()
3274 Unit *u; in on_cgroup_inotify_event() local
3521 Unit *u; in manager_get_unit_by_cgroup() local
3561 Unit *u, **array; in manager_get_unit_by_pid() local
3591 Unit *u; in manager_notify_cgroup_empty() local
3609 int unit_get_memory_available(Unit *u, uint64_t *ret) { in unit_get_memory_available()
3680 int unit_get_memory_current(Unit *u, uint64_t *ret) { in unit_get_memory_current()
3706 int unit_get_tasks_current(Unit *u, uint64_t *ret) { in unit_get_tasks_current()
3726 static int unit_get_cpu_usage_raw(Unit *u, nsec_t *ret) { in unit_get_cpu_usage_raw()
3769 int unit_get_cpu_usage(Unit *u, nsec_t *ret) { in unit_get_cpu_usage()
3807 Unit *u, in unit_get_ip_accounting()
3844 static int unit_get_io_accounting_raw(Unit *u, uint64_t ret[static _CGROUP_IO_ACCOUNTING_METRIC_MAX… in unit_get_io_accounting_raw()
3928 Unit *u, in unit_get_io_accounting()
3965 int unit_reset_cpu_accounting(Unit *u) { in unit_reset_cpu_accounting()
3981 int unit_reset_ip_accounting(Unit *u) { in unit_reset_ip_accounting()
3997 int unit_reset_io_accounting(Unit *u) { in unit_reset_io_accounting()
4014 int unit_reset_accounting(Unit *u) { in unit_reset_accounting()
4026 void unit_invalidate_cgroup(Unit *u, CGroupMask m) { in unit_invalidate_cgroup()
4049 void unit_invalidate_cgroup_bpf(Unit *u) { in unit_invalidate_cgroup_bpf()
4071 void unit_cgroup_catchup(Unit *u) { in unit_cgroup_catchup()
4086 bool unit_cgroup_delegate(Unit *u) { in unit_cgroup_delegate()
4102 Unit *u; in manager_invalidate_startup_units() local
4110 static int unit_get_nice(Unit *u) { in unit_get_nice()
4117 static uint64_t unit_get_cpu_weight(Unit *u) { in unit_get_cpu_weight()
4149 int unit_cgroup_freezer_action(Unit *u, FreezerAction action) { in unit_cgroup_freezer_action()
4192 int unit_get_cpuset(Unit *u, CPUSet *cpus, const char *name) { in unit_get_cpuset()