Searched refs:diag204_buf (Results 1 – 2 of 2) sorted by relevance
29 static void *diag204_buf; /* 4K aligned buffer for diag204 data */ variable52 vfree(diag204_buf); in diag204_free_buffer()53 diag204_buf = NULL; in diag204_free_buffer()58 if (diag204_buf) { in diag204_get_buffer()60 return diag204_buf; in diag204_get_buffer()70 diag204_buf = __vmalloc_node(array_size(*pages, PAGE_SIZE), in diag204_get_buffer()73 if (!diag204_buf) in diag204_get_buffer()76 return diag204_buf; in diag204_get_buffer()
306 void *diag204_buf; in diag204_get_data() local316 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() argument358 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()[all …]