Searched refs:kern_buff (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/firmware/xilinx/ |
D | zynqmp-debug.c | 150 char *kern_buff, *tmp_buff; in zynqmp_pm_debugfs_api_write() local 165 kern_buff = memdup_user_nul(ptr, len); in zynqmp_pm_debugfs_api_write() 166 if (IS_ERR(kern_buff)) in zynqmp_pm_debugfs_api_write() 167 return PTR_ERR(kern_buff); in zynqmp_pm_debugfs_api_write() 168 tmp_buff = kern_buff; in zynqmp_pm_debugfs_api_write() 171 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write() 178 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write() 181 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write()
|
/linux-6.12.1/drivers/dma/xilinx/ |
D | xilinx_dpdma.c | 362 char *kern_buff; in xilinx_dpdma_debugfs_read() local 368 kern_buff = kzalloc(XILINX_DPDMA_DEBUGFS_READ_MAX_SIZE, GFP_KERNEL); in xilinx_dpdma_debugfs_read() 369 if (!kern_buff) { in xilinx_dpdma_debugfs_read() 376 ret = dpdma_debugfs_reqs[testcase].read(kern_buff); in xilinx_dpdma_debugfs_read() 380 strscpy(kern_buff, "No testcase executed", in xilinx_dpdma_debugfs_read() 384 size = min(size, strlen(kern_buff)); in xilinx_dpdma_debugfs_read() 385 if (copy_to_user(buf, kern_buff, size)) in xilinx_dpdma_debugfs_read() 389 kfree(kern_buff); in xilinx_dpdma_debugfs_read() 401 char *kern_buff, *kern_buff_start; in xilinx_dpdma_debugfs_write() local 413 kern_buff = kzalloc(size, GFP_KERNEL); in xilinx_dpdma_debugfs_write() [all …]
|