Lines Matching refs:Context
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()
499 static int context_write_data_static_hostname(Context *c) { in context_write_data_static_hostname()
525 static int context_write_data_machine_info(Context *c) { in context_write_data_machine_info()
573 Context *c, in property_get_hardware_property()
666 Context *c = userdata; in property_get_static_hostname()
692 static void context_determine_hostname_source(Context *c) { in context_determine_hostname_source()
733 Context *c = userdata; in property_get_hostname_source()
752 Context *c; in property_get_machine_info_field()
781 Context *c; in property_get_os_release_field()
802 Context *c = userdata; in property_get_icon_name()
828 Context *c = userdata; in property_get_chassis()
854 Context *c = userdata; in method_set_hostname()
901 Context *c = userdata; in method_set_static_hostname()
964 static int set_machine_info(Context *c, sd_bus_message *m, int prop, sd_bus_message_handler_t cb, s… in set_machine_info()
1071 Context *c = userdata; in method_get_product_uuid()
1122 Context *c = userdata; in method_get_hardware_serial()
1163 Context *c = userdata; in method_describe()
1270 …SD_BUS_PROPERTY("PrettyHostname", "s", property_get_machine_info_field, offsetof(Context, data) + …
1275 …SD_BUS_PROPERTY("Deployment", "s", property_get_machine_info_field, offsetof(Context, data) + size…
1276 …SD_BUS_PROPERTY("Location", "s", property_get_machine_info_field, offsetof(Context, data) + sizeof…
1280 …OperatingSystemPrettyName", "s", property_get_os_release_field, offsetof(Context, data) + sizeof(c…
1281 …Y("OperatingSystemCPEName", "s", property_get_os_release_field, offsetof(Context, data) + sizeof(c…
1282 …SD_BUS_PROPERTY("HomeURL", "s", property_get_os_release_field, offsetof(Context, data) + sizeof(ch…
1347 static int connect_bus(Context *c, sd_event *event, sd_bus **ret) { in connect_bus()
1380 _cleanup_(context_destroy) Context context = { in run()