114 return(KErrArgument); |
110 return(KErrArgument); |
115 TInt length=aRequest->Message().Int1(); |
111 TInt length=aRequest->Message().Int1(); |
116 const TAny* pDes=aRequest->Message().Ptr0(); |
112 const TAny* pDes=aRequest->Message().Ptr0(); |
117 |
113 |
118 TRACETHREADID(aRequest->Message()); |
114 TRACETHREADID(aRequest->Message()); |
119 OstTraceExt5(TRACE_FILESYSTEM, FSYS_ECMOUNTCBRAWREADL, "drive %d clientThreadId %x aPos %x:%x aLength %d", (TUint) aRequest->DriveNumber(), (TUint) threadId, (TUint) I64HIGH(pos), (TUint) I64LOW(pos), (TUint) length); |
115 TRACE7(UTF::EBorder, UTraceModuleFileSys::ECMountCBRawReadL, EF32TraceUidFileSys, |
120 |
116 aRequest->DriveNumber(), I64LOW(pos), I64HIGH(pos), length, pDes, 0, I64LOW(threadId)); |
121 TRAP(r,rawDisk->Mount().RawReadL(pos,length,pDes,0,aRequest->Message())); |
117 TRAP(r,rawDisk->Mount().RawReadL(pos,length,pDes,0,aRequest->Message())); |
122 |
118 TRACERET1(UTF::EBorder, UTraceModuleFileSys::ECMountCBRawReadLRet, EF32TraceUidFileSys, r); |
123 OstTrace1(TRACE_FILESYSTEM, FSYS_ECMOUNTCBRAWREADLRET, "r %d", r); |
|
124 |
119 |
125 return(r); |
120 return(r); |
126 } |
121 } |
127 |
122 |
128 TInt TFsRawDiskRead::Initialise(CFsRequest* aRequest) |
123 TInt TFsRawDiskRead::Initialise(CFsRequest* aRequest) |
162 return(KErrArgument); |
157 return(KErrArgument); |
163 TInt length=aRequest->Message().Int1(); |
158 TInt length=aRequest->Message().Int1(); |
164 const TAny* pDes=aRequest->Message().Ptr0(); |
159 const TAny* pDes=aRequest->Message().Ptr0(); |
165 |
160 |
166 TRACETHREADID(aRequest->Message()); |
161 TRACETHREADID(aRequest->Message()); |
167 OstTraceExt5(TRACE_FILESYSTEM, FSYS_ECMOUNTCBRAWWRITEL, "drive %d clientThreadId %x aPos %x:%x aLength %d", (TUint) aRequest->DriveNumber(), (TUint) threadId, (TUint) I64HIGH(pos), (TUint) I64LOW(pos), (TUint) length); |
162 TRACE7(UTF::EBorder, UTraceModuleFileSys::ECMountCBRawWriteL, EF32TraceUidFileSys, |
168 |
163 aRequest->DriveNumber(), I64LOW(pos), I64HIGH(pos), length, pDes, 0, I64LOW(threadId)); |
169 TRAP(r,rawDisk->Mount().RawWriteL(pos,length,pDes,0,aRequest->Message())); |
164 TRAP(r,rawDisk->Mount().RawWriteL(pos,length,pDes,0,aRequest->Message())); |
170 |
165 TRACERET1(UTF::EBorder, UTraceModuleFileSys::ECMountCBRawWriteLRet, EF32TraceUidFileSys, r); |
171 OstTrace1(TRACE_FILESYSTEM, FSYS_ECMOUNTCBRAWWRITELRET, "r %d", r); |
|
172 |
166 |
173 rawDisk->SetChanged(); |
167 rawDisk->SetChanged(); |
174 return(r); |
168 return(r); |
175 } |
169 } |
176 |
170 |