Lines Matching refs:os_info
24 static struct os_info os_info __page_aligned_data;
29 u32 os_info_csum(struct os_info *os_info) in os_info_csum() argument
31 int size = sizeof(*os_info) - offsetof(struct os_info, version_major); in os_info_csum()
32 return (__force u32)csum_partial(&os_info->version_major, size, 0); in os_info_csum()
40 os_info.crashkernel_addr = (u64)(unsigned long)base; in os_info_crashkernel_add()
41 os_info.crashkernel_size = (u64)(unsigned long)size; in os_info_crashkernel_add()
42 os_info.csum = os_info_csum(&os_info); in os_info_crashkernel_add()
50 os_info.entry[nr].addr = __pa(ptr); in os_info_entry_add()
51 os_info.entry[nr].size = size; in os_info_entry_add()
52 os_info.entry[nr].csum = (__force u32)csum_partial(ptr, size, 0); in os_info_entry_add()
53 os_info.csum = os_info_csum(&os_info); in os_info_entry_add()
63 os_info.version_major = OS_INFO_VERSION_MAJOR; in os_info_init()
64 os_info.version_minor = OS_INFO_VERSION_MINOR; in os_info_init()
65 os_info.magic = OS_INFO_MAGIC; in os_info_init()
66 os_info.csum = os_info_csum(&os_info); in os_info_init()
68 abs_lc->os_info = __pa(&os_info); in os_info_init()
74 static struct os_info *os_info_old;