Lines Matching refs:d2fc
249 struct dbfs_d2fc *d2fc; in dbfs_diag2fc_create() local
252 d2fc = diag2fc_store(guest_query, &count, sizeof(d2fc->hdr)); in dbfs_diag2fc_create()
253 if (IS_ERR(d2fc)) in dbfs_diag2fc_create()
254 return PTR_ERR(d2fc); in dbfs_diag2fc_create()
255 get_tod_clock_ext(d2fc->hdr.tod_ext); in dbfs_diag2fc_create()
256 d2fc->hdr.len = count * sizeof(struct diag2fc_data); in dbfs_diag2fc_create()
257 d2fc->hdr.version = DBFS_D2FC_HDR_VERSION; in dbfs_diag2fc_create()
258 d2fc->hdr.count = count; in dbfs_diag2fc_create()
259 memset(&d2fc->hdr.reserved, 0, sizeof(d2fc->hdr.reserved)); in dbfs_diag2fc_create()
260 *data = d2fc; in dbfs_diag2fc_create()
261 *data_free_ptr = d2fc; in dbfs_diag2fc_create()
262 *size = d2fc->hdr.len + sizeof(struct dbfs_d2fc_hdr); in dbfs_diag2fc_create()