/systemd-251/src/locale/ |
D | keymap-util.h | 10 typedef struct Context { struct 28 } Context; argument 31 int find_legacy_keymap(Context *c, char **new_keymap); 34 int locale_read_data(Context *c, sd_bus_message *m); 35 int vconsole_read_data(Context *c, sd_bus_message *m); 36 int x11_read_data(Context *c, sd_bus_message *m); 38 void context_clear(Context *c); 39 int vconsole_convert_to_x11(Context *c); 40 int vconsole_write_data(Context *c); 41 int x11_convert_to_vconsole(Context *c); [all …]
|
D | keymap-util.c | 56 static void context_free_x11(Context *c) { in context_free_x11() 63 static void context_free_vconsole(Context *c) { in context_free_vconsole() 68 static void context_free_locale(Context *c) { in context_free_locale() 73 void context_clear(Context *c) { in context_clear() 91 int locale_read_data(Context *c, sd_bus_message *m) { in locale_read_data() 157 int vconsole_read_data(Context *c, sd_bus_message *m) { in vconsole_read_data() 192 int x11_read_data(Context *c, sd_bus_message *m) { in x11_read_data() 283 int locale_write_data(Context *c, char ***settings) { in locale_write_data() 317 int vconsole_write_data(Context *c) { in vconsole_write_data() 352 int x11_write_data(Context *c) { in x11_write_data() [all …]
|
D | localed.c | 36 static int locale_update_system_manager(Context *c, sd_bus *bus) { in locale_update_system_manager() 118 static int vconsole_convert_to_x11_and_emit(Context *c, sd_bus_message *m) { in vconsole_convert_to_x11_and_emit() 144 static int x11_convert_to_vconsole_and_emit(Context *c, sd_bus_message *m) { in x11_convert_to_vconsole_and_emit() 179 Context *c = userdata; in property_get_locale() 219 Context *c = userdata; in property_get_vconsole() 243 Context *c = userdata; in property_get_xkb() 346 Context *c = userdata; in method_set_locale() 476 Context *c = userdata; in method_set_vc_keyboard() 656 Context *c = userdata; in method_set_x11_keyboard() 795 static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) { in connect_bus() [all …]
|
D | test-keymap-util.c | 46 Context c = {}; in TEST() 63 _cleanup_(context_clear) Context c = {}; in TEST() 115 _cleanup_(context_clear) Context c = {}; in TEST()
|
/systemd-251/src/network/generator/ |
D | network-generator.h | 31 typedef struct Context Context; typedef 95 typedef struct Context { struct 99 } Context; argument 102 int context_merge_networks(Context *context); 103 void context_clear(Context *context); 105 Network *network_get(Context *context, const char *ifname); 109 NetDev *netdev_get(Context *context, const char *ifname); 113 Link *link_get(Context *context, const char *filename);
|
D | network-generator.c | 172 static int network_new(Context *context, const char *name, Network **ret) { in network_new() 207 Network *network_get(Context *context, const char *ifname) { in network_get() 222 static int netdev_new(Context *context, const char *_kind, const char *_ifname, NetDev **ret) { in netdev_new() 260 NetDev *netdev_get(Context *context, const char *ifname) { in netdev_get() 278 Context *context, in link_new() 331 Link *link_get(Context *context, const char *filename) { in link_get() 337 static int network_set_dhcp_type(Context *context, const char *ifname, const char *dhcp_type) { in network_set_dhcp_type() 357 static int network_set_hostname(Context *context, const char *ifname, const char *hostname) { in network_set_hostname() 367 static int network_set_mtu(Context *context, const char *ifname, int family, const char *mtu) { in network_set_mtu() 377 static int network_set_mac_address(Context *context, const char *ifname, const char *mac) { in network_set_mac_address() [all …]
|
D | test-network-generator.c | 8 _cleanup_(context_clear) Context context = {}; in test_network_one() 24 _cleanup_(context_clear) Context context = {}; in test_network_two() 40 _cleanup_(context_clear) Context context = {}; in test_netdev_one() 53 _cleanup_(context_clear) Context context = {}; in test_link_one()
|
D | main.c | 83 static int context_save(Context *context) { in context_save() 168 _cleanup_(context_clear) Context context = {}; in run()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 67 typedef struct Context { struct 77 } Context; argument 79 static void context_reset(Context *c, uint64_t mask) { in context_reset() 90 static void context_destroy(Context *c) { in context_destroy() 97 static void context_read_etc_hostname(Context *c) { in context_read_etc_hostname() 116 static void context_read_machine_info(Context *c) { in context_read_machine_info() 149 static void context_read_os_release(Context *c) { in context_read_os_release() 409 static char* context_get_chassis(Context *c) { in context_get_chassis() 428 static char* context_fallback_icon_name(Context *c) { in context_fallback_icon_name() 441 Context *c, in context_update_kernel_hostname() [all …]
|
/systemd-251/src/update-utmp/ |
D | update-utmp.c | 29 typedef struct Context { struct 34 } Context; typedef 36 static void context_clear(Context *c) { in context_clear() 47 static usec_t get_startup_monotonic_time(Context *c) { in get_startup_monotonic_time() 70 static int get_current_runlevel(Context *c) { in get_current_runlevel() 115 static int on_reboot(Context *c) { in on_reboot() 149 static int on_shutdown(Context *c) { in on_shutdown() 171 static int on_runlevel(Context *c) { in on_runlevel() 223 _cleanup_(context_clear) Context c = { in run()
|
/systemd-251/src/timedate/ |
D | timedated.c | 58 typedef struct Context { struct 67 } Context; argument 117 static void context_clear(Context *c) { in context_clear() 134 static int context_add_ntp_service(Context *c, const char *s, const char *source) { in context_add_ntp_service() 164 static int context_parse_ntp_services_from_environment(Context *c) { in context_parse_ntp_services_from_environment() 197 static int context_parse_ntp_services_from_disk(Context *c) { in context_parse_ntp_services_from_disk() 241 static int context_parse_ntp_services(Context *c) { in context_parse_ntp_services() 251 static int context_ntp_service_is_active(Context *c) { in context_ntp_service_is_active() 264 static int context_ntp_service_exists(Context *c) { in context_ntp_service_exists() 277 static int context_read_data(Context *c) { in context_read_data() [all …]
|
/systemd-251/src/sysupdate/ |
D | sysupdate.c | 54 typedef struct Context { struct 64 } Context; argument 66 static Context *context_free(Context *c) { in context_free() 83 DEFINE_TRIVIAL_CLEANUP_FUNC(Context*, context_free); 85 static Context *context_new(void) { in context_new() 87 return new0(Context, 1); in context_new() 91 Context *c, in context_read_definitions() 168 static int context_load_installed_instances(Context *c) { in context_load_installed_instances() 187 static int context_load_available_instances(Context *c) { in context_load_available_instances() 208 static int context_discover_update_sets_by_flag(Context *c, UpdateSetFlags flags) { in context_discover_update_sets_by_flag() [all …]
|
/systemd-251/src/udev/cdrom_id/ |
D | cdrom_id.c | 87 typedef struct Context { struct 103 } Context; argument 111 static void context_clear(Context *c) { in context_clear() 119 static bool drive_has_feature(const Context *c, Feature f) { in drive_has_feature() 129 static int set_drive_feature(Context *c, Feature f) { in set_drive_feature() 251 static int cd_capability_compat(Context *c) { in cd_capability_compat() 299 static int cd_media_compat(Context *c) { in cd_media_compat() 321 static int cd_inquiry(Context *c) { in cd_inquiry() 343 static int feature_profiles(Context *c, const unsigned char *profiles, size_t size) { in feature_profiles() 357 static int cd_profiles_old_mmc(Context *c) { in cd_profiles_old_mmc() [all …]
|
/systemd-251/src/libsystemd/sd-journal/ |
D | mmap-cache.c | 19 typedef struct Context Context; typedef 37 LIST_HEAD(Context, contexts); 40 struct Context { struct 43 LIST_FIELDS(Context, by_window); argument 65 Context contexts[MMAP_CACHE_MAX_CONTEXTS]; 187 static void context_detach_window(MMapCache *m, Context *c) { in context_detach_window() 215 static void context_attach_window(MMapCache *m, Context *c, Window *w) { in context_attach_window() 266 Context *c, in try_context() 302 Context *c, in find_mmap() 365 Context *c, in add_mmap() [all …]
|
/systemd-251/src/rfkill/ |
D | rfkill.c | 40 typedef struct Context { struct 43 } Context; argument 136 static int load_state(Context *c, const struct rfkill_event *event) { in load_state() 190 static void save_state_queue_remove(Context *c, int idx, const char *state_file) { in save_state_queue_remove() 201 static int save_state_queue(Context *c, const struct rfkill_event *event) { in save_state_queue() 229 static int save_state_cancel(Context *c, const struct rfkill_event *event) { in save_state_cancel() 256 static void context_save_and_clear(Context *c) { in context_save_and_clear() 271 _cleanup_(context_save_and_clear) Context c = { .rfkill_fd = -1 }; in run()
|
/systemd-251/src/socket-proxy/ |
D | socket-proxyd.c | 36 typedef struct Context { struct 43 } Context; argument 46 Context *context; 81 Context *c = userdata; in idle_time_cb() 98 Context *context = c->context; in connection_release() 124 static void context_clear(Context *context) { in context_clear() 463 static int add_connection_socket(Context *context, int fd) { in add_connection_socket() 508 Context *context = userdata; in accept_cb() 538 static int add_listen_socket(Context *context, int fd) { in add_listen_socket() 677 _cleanup_(context_clear) Context context = {}; in run()
|
/systemd-251/src/partition/ |
D | repart.c | 123 typedef struct Context Context; typedef 188 struct Context { struct 285 static Partition* partition_unlink_and_free(Context *context, Partition *p) { in partition_unlink_and_free() 299 static Context *context_new(sd_id128_t seed) { in context_new() 300 Context *context; in context_new() 302 context = new(Context, 1); in context_new() 306 *context = (Context) { in context_new() 316 static void context_free_free_areas(Context *context) { in context_free_free_areas() 326 static Context *context_free(Context *context) { in context_free() 342 DEFINE_TRIVIAL_CLEANUP_FUNC(Context*, context_free); [all …]
|
/systemd-251/src/coredump/ |
D | coredump.c | 124 typedef struct Context { struct 129 } Context; argument 207 static int fix_xattr(int fd, const Context *context) { in fix_xattr() 252 const Context *context, in fix_permissions() 294 static int make_filename(const Context *context, char **ret) { in make_filename() 334 const Context *context, in save_external_coredump() 740 static int change_uid_gid(const Context *context) { in change_uid_gid() 767 Context *context, in submit_coredump() 913 static int save_context(Context *context, const struct iovec_wrapper *iovw) { in save_context() 961 Context context = {}; in process_socket() [all …]
|
/systemd-251/src/busctl/ |
D | busctl-introspect.c | 14 typedef struct Context { struct 29 } Context; argument 31 static void context_reset_member(Context *c) { in context_reset_member() 41 static void context_reset_interface(Context *c) { in context_reset_interface() 48 static int parse_xml_annotation(Context *context, uint64_t *flags) { in parse_xml_annotation() 155 static int parse_xml_node(Context *context, const char *prefix, unsigned n_depth) { in parse_xml_node() 681 Context context = { in parse_xml_introspect()
|
/systemd-251/hwdb.d/ |
D | usb.ids | 23882 084 System Context Menu
|