Lines Matching +full:diag +full:- +full:version
1 // SPDX-License-Identifier: GPL-2.0
5 * Diag 0C implementation
12 #include <asm/diag.h>
27 * Allocate buffer and store diag 0c data
41 /* Note: Diag 0c needs 8 byte alignment and real storage */ in diag0c_store()
49 diag0c_data->entry[i].cpu = cpu; in diag0c_store()
50 cpu_vec[cpu] = &diag0c_data->entry[i++]; in diag0c_store()
63 return ERR_PTR(-ENOMEM); in diag0c_store()
67 * Hypfs DBFS callback: Free diag 0c data
75 * Hypfs DBFS callback: Create diag 0c data
85 memset(&diag0c_data->hdr, 0, sizeof(diag0c_data->hdr)); in dbfs_diag0c_create()
86 store_tod_clock_ext((union tod_clock *)diag0c_data->hdr.tod_ext); in dbfs_diag0c_create()
87 diag0c_data->hdr.len = count * sizeof(struct hypfs_diag0c_entry); in dbfs_diag0c_create()
88 diag0c_data->hdr.version = DBFS_D0C_HDR_VERSION; in dbfs_diag0c_create()
89 diag0c_data->hdr.count = count; in dbfs_diag0c_create()
92 *size = diag0c_data->hdr.len + sizeof(struct hypfs_diag0c_hdr); in dbfs_diag0c_create()
106 * Initialize diag 0c interface for z/VM
117 * Shutdown diag 0c interface for z/VM