Lines Matching refs:kh
968 KdumpSubHeader32 *kh = NULL; in create_header32() local
1016 kh = g_malloc0(size); in create_header32()
1019 kh->max_mapnr_64 = cpu_to_dump64(s, s->max_mapnr); in create_header32()
1020 kh->phys_base = cpu_to_dump32(s, s->dump_info.phys_base); in create_header32()
1021 kh->dump_level = cpu_to_dump32(s, DUMP_LEVEL); in create_header32()
1032 kh->offset_vmcoreinfo = cpu_to_dump64(s, offset_vmcoreinfo); in create_header32()
1033 kh->size_vmcoreinfo = cpu_to_dump32(s, size_vmcoreinfo_desc); in create_header32()
1036 kh->offset_note = cpu_to_dump64(s, offset_note); in create_header32()
1037 kh->note_size = cpu_to_dump32(s, s->note_size); in create_header32()
1040 block_size, kh, size) < 0) { in create_header32()
1070 g_free(kh); in create_header32()
1079 KdumpSubHeader64 *kh = NULL; in create_header64() local
1127 kh = g_malloc0(size); in create_header64()
1130 kh->max_mapnr_64 = cpu_to_dump64(s, s->max_mapnr); in create_header64()
1131 kh->phys_base = cpu_to_dump64(s, s->dump_info.phys_base); in create_header64()
1132 kh->dump_level = cpu_to_dump32(s, DUMP_LEVEL); in create_header64()
1143 kh->offset_vmcoreinfo = cpu_to_dump64(s, offset_vmcoreinfo); in create_header64()
1144 kh->size_vmcoreinfo = cpu_to_dump64(s, size_vmcoreinfo_desc); in create_header64()
1147 kh->offset_note = cpu_to_dump64(s, offset_note); in create_header64()
1148 kh->note_size = cpu_to_dump64(s, s->note_size); in create_header64()
1151 block_size, kh, size) < 0) { in create_header64()
1182 g_free(kh); in create_header64()