Home
last modified time | relevance | path

Searched defs:u (Results 1 – 25 of 235) sorted by relevance

12345678910

/systemd-251/src/core/
Dunit.c90 Unit *u; in unit_new() local
151 bool unit_has_name(const Unit *u, const char *name) { in unit_has_name()
159 static void unit_init(Unit *u) { in unit_init()
216 static int unit_add_alias(Unit *u, char *donated_name) { in unit_add_alias()
229 int unit_add_name(Unit *u, const char *text) { in unit_add_name()
324 int unit_choose_id(Unit *u, const char *name) { in unit_choose_id()
364 int unit_set_description(Unit *u, const char *description) { in unit_set_description()
392 bool unit_may_gc(Unit *u) { in unit_may_gc()
462 void unit_add_to_load_queue(Unit *u) { in unit_add_to_load_queue()
473 void unit_add_to_cleanup_queue(Unit *u) { in unit_add_to_cleanup_queue()
[all …]
Dslice.c23 static void slice_init(Unit *u) { in slice_init()
50 Unit *u = UNIT(s); in slice_add_parent_slice() local
105 static int slice_load_root_slice(Unit *u) { in slice_load_root_slice()
126 static int slice_load_system_slice(Unit *u) { in slice_load_system_slice()
149 static int slice_load(Unit *u) { in slice_load()
194 static int slice_coldplug(Unit *u) { in slice_coldplug()
206 static void slice_dump(Unit *u, FILE *f, const char *prefix) { in slice_dump()
219 static int slice_start(Unit *u) { in slice_start()
237 static int slice_stop(Unit *u) { in slice_stop()
250 static int slice_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { in slice_kill()
[all …]
Dcgroup.c77 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()
[all …]
Dtarget.c72 static int target_load(Unit *u) { in target_load()
89 static int target_coldplug(Unit *u) { in target_coldplug()
101 static void target_dump(Unit *u, FILE *f, const char *prefix) { in target_dump()
112 static int target_start(Unit *u) { in target_start()
127 static int target_stop(Unit *u) { in target_stop()
137 static int target_serialize(Unit *u, FILE *f, FDSet *fds) { in target_serialize()
148 static int target_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in target_deserialize_item()
172 _pure_ static UnitActiveState target_active_state(Unit *u) { in target_active_state()
178 _pure_ static const char *target_sub_state_to_string(Unit *u) { in target_sub_state_to_string()
Dscope.c33 static void scope_init(Unit *u) { in scope_init()
44 static void scope_done(Unit *u) { in scope_done()
156 static int scope_load_init_scope(Unit *u) { in scope_load_init_scope()
193 static int scope_load(Unit *u) { in scope_load()
239 static int scope_coldplug(Unit *u) { in scope_coldplug()
272 static void scope_dump(Unit *u, FILE *f, const char *prefix) { in scope_dump()
356 static int scope_start(Unit *u) { in scope_start()
419 static int scope_stop(Unit *u) { in scope_stop()
433 static void scope_reset_failed(Unit *u) { in scope_reset_failed()
444 static int scope_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { in scope_kill()
[all …]
Dunit-printf.h12 static inline int unit_full_printf(const Unit *u, const char *text, char **ret) { in unit_full_printf()
15 static inline int unit_path_printf(const Unit *u, const char *text, char **ret) { in unit_path_printf()
18 static inline int unit_fd_printf(const Unit *u, const char *text, char **ret) { in unit_fd_printf()
21 static inline int unit_cred_printf(const Unit *u, const char *text, char **ret) { in unit_cred_printf()
24 static inline int unit_env_printf(const Unit *u, const char *text, char **ret) { in unit_env_printf()
Dtimer.c37 static void timer_init(Unit *u) { in timer_init()
61 static void timer_done(Unit *u) { in timer_done()
204 static int timer_load(Unit *u) { in timer_load()
234 static void timer_dump(Unit *u, FILE *f, const char *prefix) { in timer_dump()
306 static int timer_coldplug(Unit *u) { in timer_coldplug()
614 static int timer_start(Unit *u) { in timer_start()
662 static int timer_stop(Unit *u) { in timer_stop()
672 static int timer_serialize(Unit *u, FILE *f, FDSet *fds) { in timer_serialize()
691 static int timer_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in timer_deserialize_item()
727 _pure_ static UnitActiveState timer_active_state(Unit *u) { in timer_active_state()
[all …]
Drestrict-ifaces.c23 Unit* u, in prepare_restrict_ifaces_bpf()
106 static int restrict_network_interfaces_install_impl(Unit *u) { in restrict_network_interfaces_install_impl()
152 int restrict_network_interfaces_install(Unit *u) { in restrict_network_interfaces_install()
158 int serialize_restrict_network_interfaces(Unit *u, FILE *f, FDSet *fds) { in serialize_restrict_network_interfaces()
170 int restrict_network_interfaces_add_initial_link_fd(Unit *u, int fd) { in restrict_network_interfaces_add_initial_link_fd()
193 int restrict_network_interfaces_install(Unit *u) { in restrict_network_interfaces_install()
198 int serialize_restrict_network_interfaces(Unit *u, FILE *f, FDSet *fds) { in serialize_restrict_network_interfaces()
202 int restrict_network_interfaces_add_initial_link_fd(Unit *u, int fd) { in restrict_network_interfaces_add_initial_link_fd()
Dunit-printf.c16 const Unit *u = ASSERT_PTR(userdata); in specifier_prefix_and_instance() local
22 const Unit *u = ASSERT_PTR(userdata); in specifier_prefix() local
29 const Unit *u = ASSERT_PTR(userdata); in specifier_prefix_unescaped() local
40 const Unit *u = ASSERT_PTR(userdata); in specifier_instance_unescaped() local
46 const Unit *u = ASSERT_PTR(userdata); in specifier_last_component() local
75 const Unit *u = ASSERT_PTR(userdata); in specifier_filename() local
83 static void bad_specifier(const Unit *u, char specifier) { in bad_specifier()
88 const Unit *u = ASSERT_PTR(userdata); in specifier_cgroup() local
105 const Unit *u = ASSERT_PTR(userdata); in specifier_cgroup_root() local
119 const Unit *u = ASSERT_PTR(userdata), *slice; in specifier_cgroup_slice() local
[all …]
Dbpf-socket-bind.c52 Unit *u, in prepare_socket_bind_bpf()
144 int bpf_socket_bind_add_initial_link_fd(Unit *u, int fd) { in bpf_socket_bind_add_initial_link_fd()
162 static int socket_bind_install_impl(Unit *u) { in socket_bind_install_impl()
209 int bpf_socket_bind_install(Unit *u) { in bpf_socket_bind_install()
222 int bpf_serialize_socket_bind(Unit *u, FILE *f, FDSet *fds) { in bpf_serialize_socket_bind()
239 int bpf_socket_bind_add_initial_link_fd(Unit *u, int fd) { in bpf_socket_bind_add_initial_link_fd()
243 int bpf_socket_bind_install(Unit *u) { in bpf_socket_bind_install()
247 int bpf_serialize_socket_bind(Unit *u, FILE *f, FDSet *fds) { in bpf_serialize_socket_bind()
Ddbus-unit.c32 static bool unit_can_start_refuse_manual(Unit *u) { in unit_can_start_refuse_manual()
36 static bool unit_can_stop_refuse_manual(Unit *u) { in unit_can_stop_refuse_manual()
40 static bool unit_can_isolate_refuse_manual(Unit *u) { in unit_can_isolate_refuse_manual()
69 Unit *u = userdata; in property_get_can_clean() local
105 Unit *u = userdata; in property_get_names() local
139 Unit *u = userdata, *f; in property_get_following() local
158 Unit *u = userdata, *other; in property_get_dependencies() local
226 Unit *u = userdata; in property_get_unit_file_preset() local
318 Unit *u = userdata; in property_get_load_error() local
375 Unit *u, in bus_unit_method_start_generic()
[all …]
Dswap.c58 _pure_ static UnitActiveState swap_active_state(Unit *u) { in swap_active_state()
64 _pure_ static const char *swap_sub_state_to_string(Unit *u) { in swap_sub_state_to_string()
70 _pure_ static bool swap_may_gc(Unit *u) { in swap_may_gc()
81 _pure_ static bool swap_is_extrinsic(Unit *u) { in swap_is_extrinsic()
136 static void swap_init(Unit *u) { in swap_init()
161 static void swap_done(Unit *u) { in swap_done()
383 static int swap_load(Unit *u) { in swap_load()
418 Unit *u = NULL; in swap_setup_unit() local
571 static int swap_coldplug(Unit *u) { in swap_coldplug()
609 static void swap_dump(Unit *u, FILE *f, const char *prefix) { in swap_dump()
[all …]
Ddevice.c94 static void device_init(Unit *u) { in device_init()
112 static void device_done(Unit *u) { in device_done()
121 static int device_load(Unit *u) { in device_load()
159 static int device_coldplug(Unit *u) { in device_coldplug()
220 static void device_catchup(Unit *u) { in device_catchup()
289 static int device_serialize(Unit *u, FILE *f, FDSet *fds) { in device_serialize()
306 static int device_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in device_deserialize_item()
336 static void device_dump(Unit *u, FILE *f, const char *prefix) { in device_dump()
357 _pure_ static UnitActiveState device_active_state(Unit *u) { in device_active_state()
363 _pure_ static const char *device_sub_state_to_string(Unit *u) { in device_sub_state_to_string()
[all …]
Dpath.c260 static void path_init(Unit *u) { in path_init()
285 static void path_done(Unit *u) { in path_done()
378 static int path_load(Unit *u) { in path_load()
399 static void path_dump(Unit *u, FILE *f, const char *prefix) { in path_dump()
470 static int path_coldplug(Unit *u) { in path_coldplug()
595 static int path_start(Unit *u) { in path_start()
618 static int path_stop(Unit *u) { in path_stop()
628 static int path_serialize(Unit *u, FILE *f, FDSet *fds) { in path_serialize()
656 static int path_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in path_deserialize_item()
720 _pure_ static UnitActiveState path_active_state(Unit *u) { in path_active_state()
[all …]
Dmount.c171 static void mount_init(Unit *u) { in mount_init()
243 static void mount_done(Unit *u) { in mount_done()
430 static bool mount_is_extrinsic(Unit *u) { in mount_is_extrinsic()
611 Unit *u = UNIT(m); in mount_add_extras() local
659 static void mount_load_root_mount(Unit *u) { in mount_load_root_mount()
676 static int mount_load(Unit *u) { in mount_load()
730 static int mount_coldplug(Unit *u) { in mount_coldplug()
768 static void mount_dump(Unit *u, FILE *f, const char *prefix) { in mount_dump()
1147 static int mount_start(Unit *u) { in mount_start()
1178 static int mount_stop(Unit *u) { in mount_stop()
[all …]
Dautomount.c69 static void automount_init(Unit *u) { in automount_init()
106 static void automount_done(Unit *u) { in automount_done()
244 static int automount_load(Unit *u) { in automount_load()
288 static int automount_coldplug(Unit *u) { in automount_coldplug()
327 static void automount_dump(Unit *u, FILE *f, const char *prefix) { in automount_dump()
513 static void automount_trigger_notify(Unit *u, Unit *other) { in automount_trigger_notify()
827 static int automount_start(Unit *u) { in automount_start()
850 static int automount_stop(Unit *u) { in automount_stop()
860 static int automount_serialize(Unit *u, FILE *f, FDSet *fds) { in automount_serialize()
885 static int automount_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { in automount_deserialize_item()
[all …]
Ddbus-util.c22 Unit *u = userdata, *trigger; in bus_property_get_triggered_unit() local
36 static inline bool valid_user_group_name_or_id_relaxed(const char *u) { in valid_user_group_name_or_id_relaxed()
44 Unit *u, in bus_set_transient_string()
73 Unit *u, in bus_set_transient_bool()
97 Unit *u, in bus_set_transient_usec_internal()
128 Unit *u, in bus_verify_manage_units_async_full()
Ddbus-mount.c71 Unit *u = UNIT(m); in bus_mount_set_transient_property() local
113 Unit *u, in bus_mount_set_property()
149 int bus_mount_commit_properties(Unit *u) { in bus_mount_commit_properties()
/systemd-251/src/login/
Dlogind-user.c107 User *user_free(User *u) { in user_free()
143 static int user_save_internal(User *u) { in user_save_internal()
297 int user_save(User *u) { in user_save()
306 int user_load(User *u) { in user_load()
341 static void user_start_service(User *u) { in user_start_service()
382 static int user_update_slice(User *u) { in user_update_slice()
445 int user_start(User *u) { in user_start()
483 static void user_stop_service(User *u, bool force) { in user_stop_service()
500 int user_stop(User *u, bool force) { in user_stop()
535 int user_finalize(User *u) { in user_finalize()
[all …]
Dlogind-user-dbus.c29 User *u = userdata; in property_get_uid() local
47 User *u = userdata; in property_get_gid() local
65 User *u = userdata; in property_get_name() local
86 User *u = userdata; in property_get_display() local
108 User *u = userdata; in property_get_sessions() local
144 User *u = userdata; in property_get_idle_hint() local
162 User *u = userdata; in property_get_idle_since_hint() local
185 User *u = userdata; in property_get_linger() local
198 User *u = userdata; in bus_user_method_terminate() local
226 User *u = userdata; in bus_user_method_kill() local
[all …]
/systemd-251/src/journal-remote/
Djournal-upload-journal.c19 static ssize_t write_entry(char *buf, size_t size, Uploader *u) { in write_entry()
237 static void check_update_watchdog(Uploader *u) { in check_update_watchdog()
254 Uploader *u = userp; in journal_input_callback() local
308 void close_journal_input(Uploader *u) { in close_journal_input()
320 static int process_journal_input(Uploader *u, int skip) { in process_journal_input()
337 int check_journal_input(Uploader *u) { in check_journal_input()
359 Uploader *u = userp; in dispatch_journal_input() local
370 int open_journal_for_upload(Uploader *u, in open_journal_for_upload()
Djournal-upload.c82 Uploader *u = userp; in output_callback() local
98 static int check_cursor_updating(Uploader *u) { in check_cursor_updating()
120 static int update_cursor_state(Uploader *u) { in update_cursor_state()
157 static int load_cursor_state(Uploader *u) { in load_cursor_state()
175 int start_upload(Uploader *u, in start_upload()
294 Uploader *u = userp; in fd_input_callback() local
321 static void close_fd_input(Uploader *u) { in close_fd_input()
332 Uploader *u = userp; in dispatch_fd_input() local
356 static int open_file_for_upload(Uploader *u, const char *filename) { in open_file_for_upload()
387 Uploader *u = userdata; in dispatch_sigterm() local
[all …]
/systemd-251/src/basic/
Dunaligned.h10 const struct __attribute__((__packed__, __may_alias__)) { uint16_t x; } *u = _u; in unaligned_read_be16() local
16 const struct __attribute__((__packed__, __may_alias__)) { uint32_t x; } *u = _u; in unaligned_read_be32() local
22 const struct __attribute__((__packed__, __may_alias__)) { uint64_t x; } *u = _u; in unaligned_read_be64() local
28 struct __attribute__((__packed__, __may_alias__)) { uint16_t x; } *u = _u; in unaligned_write_be16() local
34 struct __attribute__((__packed__, __may_alias__)) { uint32_t x; } *u = _u; in unaligned_write_be32() local
40 struct __attribute__((__packed__, __may_alias__)) { uint64_t x; } *u = _u; in unaligned_write_be64() local
48 const struct __attribute__((__packed__, __may_alias__)) { uint16_t x; } *u = _u; in unaligned_read_le16() local
54 const struct __attribute__((__packed__, __may_alias__)) { uint32_t x; } *u = _u; in unaligned_read_le32() local
60 const struct __attribute__((__packed__, __may_alias__)) { uint64_t x; } *u = _u; in unaligned_read_le64() local
66 struct __attribute__((__packed__, __may_alias__)) { uint16_t x; } *u = _u; in unaligned_write_le16() local
[all …]
Dpercent-util.h35 uint32_t u; in UINT32_SCALE_TO_PERCENT() local
45 uint32_t u; in UINT32_SCALE_TO_PERMILLE() local
55 uint32_t u; in UINT32_SCALE_TO_PERMYRIAD() local
/systemd-251/src/network/netdev/
Dbareudp.c24 BareUDP *u; in netdev_bare_udp_fill_message_create() local
46 BareUDP *u; in netdev_bare_udp_verify() local
67 BareUDP *u; in bare_udp_init() local

12345678910