Lines Matching refs:diag204_buf
306 void *diag204_buf; in diag204_get_data() local
316 diag204_buf = __vmalloc_node(array_size(pages, PAGE_SIZE), in diag204_get_data()
319 if (!diag204_buf) in diag204_get_data()
325 rc = diag204(subcode, pages, diag204_buf); in diag204_get_data()
327 vfree(diag204_buf); in diag204_get_data()
330 return diag204_buf; in diag204_get_data()
344 static void fill_diag(struct sthyi_sctns *sctns, void *diag204_buf) in fill_diag() argument
358 ti_hdr = diag204_buf; in fill_diag()
359 part_block = diag204_buf + sizeof(*ti_hdr); in fill_diag()
368 this_lpar = (void *)part_block - diag204_buf == ti_hdr->this_part; in fill_diag()
374 part_block = diag204_buf + ti_hdr->this_part; in fill_diag()
439 void *diag204_buf; in fill_dst() local
456 diag204_buf = diag204_get_data(is_diag204_cached(sctns)); in fill_dst()
457 if (IS_ERR(diag204_buf)) in fill_dst()
458 return PTR_ERR(diag204_buf); in fill_dst()
462 fill_diag(sctns, diag204_buf); in fill_dst()
463 vfree(diag204_buf); in fill_dst()