Home
last modified time | relevance | path

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

/linux-6.6.21/arch/s390/hypfs/
Dhypfs_diag.c29 static void *diag204_buf; /* 4K aligned buffer for diag204 data */ variable
54 vfree(diag204_buf); in diag204_free_buffer()
55 diag204_buf = NULL; in diag204_free_buffer()
60 if (diag204_buf) { in diag204_get_buffer()
62 return diag204_buf; in diag204_get_buffer()
72 diag204_buf = __vmalloc_node(array_size(*pages, PAGE_SIZE), in diag204_get_buffer()
75 if (!diag204_buf) in diag204_get_buffer()
78 return diag204_buf; in diag204_get_buffer()
/linux-6.6.21/arch/s390/kernel/
Dsthyi.c307 void *diag204_buf; in fill_diag() local
320 diag204_buf = __vmalloc_node(array_size(pages, PAGE_SIZE), in fill_diag()
323 if (!diag204_buf) in fill_diag()
327 (unsigned long)DIAG204_INFO_EXT, pages, diag204_buf); in fill_diag()
335 ti_hdr = diag204_buf; in fill_diag()
336 part_block = diag204_buf + sizeof(*ti_hdr); in fill_diag()
345 this_lpar = (void *)part_block - diag204_buf == ti_hdr->this_part; in fill_diag()
351 part_block = diag204_buf + ti_hdr->this_part; in fill_diag()
395 vfree(diag204_buf); in fill_diag()