adk_write modified to use data and length from userspace call
Testing for large data sizes