Home
last modified time | relevance | path

Searched refs:diag204_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/s390/hypfs/
Dhypfs_diag.c29 static void *diag204_buf; /* 4K aligned buffer for diag204 data */ variable
52 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()
/linux-6.12.1/arch/s390/kernel/
Dsthyi.c306 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()
[all …]