struct proc, write handler arg1,arg2, operation and result read hundler