Home
last modified time | relevance | path

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

/linux-6.1.9/arch/s390/hypfs/
Dhypfs_diag.c31 static void *diag204_buf; /* 4K aligned buffer for diag204 data */ variable
223 if (!diag204_buf) in diag204_free_buffer()
229 free_pages((unsigned long) diag204_buf, 0); in diag204_free_buffer()
231 diag204_buf = NULL; in diag204_free_buffer()
245 diag204_buf = page_align_ptr(diag204_buf_vmalloc); in diag204_alloc_vbuf()
247 return diag204_buf; in diag204_alloc_vbuf()
252 diag204_buf = (void*)__get_free_pages(GFP_KERNEL,0); in diag204_alloc_rbuf()
253 if (!diag204_buf) in diag204_alloc_rbuf()
256 return diag204_buf; in diag204_alloc_rbuf()
261 if (diag204_buf) { in diag204_get_buffer()
[all …]
/linux-6.1.9/arch/s390/kernel/
Dsthyi.c307 void *diag204_buf; in fill_diag() local
320 diag204_buf = vmalloc(array_size(pages, PAGE_SIZE)); in fill_diag()
321 if (!diag204_buf) in fill_diag()
325 (unsigned long)DIAG204_INFO_EXT, pages, diag204_buf); in fill_diag()
333 ti_hdr = diag204_buf; in fill_diag()
334 part_block = diag204_buf + sizeof(*ti_hdr); in fill_diag()
343 this_lpar = (void *)part_block - diag204_buf == ti_hdr->this_part; in fill_diag()
349 part_block = diag204_buf + ti_hdr->this_part; in fill_diag()
393 vfree(diag204_buf); in fill_diag()