Searched refs:kern_buf (Results 1 – 4 of 4) sorted by relevance
157 void *kern_buf; in qedf_dbg_debug_cmd_write() local165 kern_buf = memdup_user(buffer, count); in qedf_dbg_debug_cmd_write()166 if (IS_ERR(kern_buf)) in qedf_dbg_debug_cmd_write()167 return PTR_ERR(kern_buf); in qedf_dbg_debug_cmd_write()169 rval = kstrtouint(kern_buf, 10, &val); in qedf_dbg_debug_cmd_write()170 kfree(kern_buf); in qedf_dbg_debug_cmd_write()207 void *kern_buf; in qedf_dbg_stop_io_on_error_cmd_write() local218 kern_buf = memdup_user(buffer, 6); in qedf_dbg_stop_io_on_error_cmd_write()219 if (IS_ERR(kern_buf)) in qedf_dbg_stop_io_on_error_cmd_write()220 return PTR_ERR(kern_buf); in qedf_dbg_stop_io_on_error_cmd_write()[all …]
251 void *kern_buf; in bfad_debugfs_write_regrd() local253 kern_buf = memdup_user(buf, nbytes); in bfad_debugfs_write_regrd()254 if (IS_ERR(kern_buf)) in bfad_debugfs_write_regrd()255 return PTR_ERR(kern_buf); in bfad_debugfs_write_regrd()262 kfree(kern_buf); in bfad_debugfs_write_regrd()266 kfree(kern_buf); in bfad_debugfs_write_regrd()318 void *kern_buf; in bfad_debugfs_write_regwr() local321 if (IS_ERR(kern_buf)) in bfad_debugfs_write_regwr()322 return PTR_ERR(kern_buf); in bfad_debugfs_write_regwr()329 kfree(kern_buf); in bfad_debugfs_write_regwr()[all …]
312 void *kern_buf; in bnad_debugfs_write_regrd() local315 kern_buf = memdup_user(buf, nbytes); in bnad_debugfs_write_regrd()316 if (IS_ERR(kern_buf)) in bnad_debugfs_write_regrd()317 return PTR_ERR(kern_buf); in bnad_debugfs_write_regrd()322 kfree(kern_buf); in bnad_debugfs_write_regrd()326 kfree(kern_buf); in bnad_debugfs_write_regrd()372 void *kern_buf; in bnad_debugfs_write_regwr() local376 if (IS_ERR(kern_buf)) in bnad_debugfs_write_regwr()377 return PTR_ERR(kern_buf); in bnad_debugfs_write_regwr()382 kfree(kern_buf); in bnad_debugfs_write_regwr()[all …]
92 void *kern_buf; /* Buffer address in kernel space */ member156 image_ptr = image[minor].kern_buf + *ppos; in buffer_to_user()168 image_ptr = image[minor].kern_buf + *ppos; in buffer_from_user()535 image[i].kern_buf = NULL; in vme_user_probe()579 image[i].kern_buf = vme_alloc_consistent(image[i].resource, in vme_user_probe()582 if (!image[i].kern_buf) { in vme_user_probe()609 if (!image[i].kern_buf) { in vme_user_probe()668 kfree(image[i].kern_buf); in vme_user_probe()680 image[i].kern_buf, image[i].pci_buf); in vme_user_probe()704 kfree(image[i].kern_buf); in vme_user_remove()[all …]
Completed in 11 milliseconds