Lines Matching refs:HostInfo
30 typedef struct HostInfo { struct
38 } HostInfo; argument
40 static HostInfo* free_host_info(HostInfo *hi) { in free_host_info()
54 DEFINE_TRIVIAL_CLEANUP_FUNC(HostInfo *, free_host_info);
56 static int acquire_host_info(sd_bus *bus, HostInfo **hi) { in acquire_host_info()
58 { "Hostname", "s", NULL, offsetof(HostInfo, hostname) }, in acquire_host_info()
59 { "KernelName", "s", NULL, offsetof(HostInfo, kernel_name) }, in acquire_host_info()
60 { "KernelRelease", "s", NULL, offsetof(HostInfo, kernel_release) }, in acquire_host_info()
61 { "KernelVersion", "s", NULL, offsetof(HostInfo, kernel_version) }, in acquire_host_info()
62 { "OperatingSystemPrettyName", "s", NULL, offsetof(HostInfo, os_pretty_name) }, in acquire_host_info()
67 { "Virtualization", "s", NULL, offsetof(HostInfo, virtualization) }, in acquire_host_info()
68 { "Architecture", "s", NULL, offsetof(HostInfo, architecture) }, in acquire_host_info()
74 _cleanup_(free_host_infop) HostInfo *host = NULL; in acquire_host_info()
77 host = new0(HostInfo, 1); in acquire_host_info()
182 _cleanup_(free_host_infop) HostInfo *host = NULL; in verb_plot()