equal
deleted
inserted
replaced
14 // f32\sfile\sf_fmt.cpp |
14 // f32\sfile\sf_fmt.cpp |
15 // |
15 // |
16 // |
16 // |
17 |
17 |
18 #include "sf_std.h" |
18 #include "sf_std.h" |
|
19 |
|
20 #ifdef OST_TRACE_COMPILER_IN_USE |
|
21 #include "sf_fmtTraces.h" |
|
22 #endif |
19 |
23 |
20 LOCAL_C CFormatCB* GetFormatFromHandle(TInt aHandle,CSessionFs* aSession) |
24 LOCAL_C CFormatCB* GetFormatFromHandle(TInt aHandle,CSessionFs* aSession) |
21 // |
25 // |
22 // Get the format control block from aHandle |
26 // Get the format control block from aHandle |
23 // |
27 // |
464 } |
468 } |
465 |
469 |
466 TPtr8 pStep((TUint8*)&format->CurrentStep(),sizeof(TInt)); |
470 TPtr8 pStep((TUint8*)&format->CurrentStep(),sizeof(TInt)); |
467 aRequest->ReadL(KMsgPtr0,pStep); |
471 aRequest->ReadL(KMsgPtr0,pStep); |
468 |
472 |
469 TRACE1(UTF::EBorder, UTraceModuleFileSys::ECFormatCBDoFormatStepL, EF32TraceUidFileSys, format); |
473 OstTrace1(TRACE_FILESYSTEM, FSYS_ECFORMATCBDOFORMATSTEPL, "this %x", format); |
|
474 |
470 TRAP(r,format->DoFormatStepL()); |
475 TRAP(r,format->DoFormatStepL()); |
471 TRACERET2(UTF::EBorder, UTraceModuleFileSys::ECFormatCBDoFormatStepLRet, EF32TraceUidFileSys, r, format->CurrentStep()); |
476 |
|
477 OstTraceExt2(TRACE_FILESYSTEM, FSYS_ECFORMATCBDOFORMATSTEPLRET, "r %d iCurrentStep %d", r, (TUint) format->CurrentStep()); |
472 |
478 |
473 if (r==KErrNone) |
479 if (r==KErrNone) |
474 aRequest->WriteL(KMsgPtr0,pStep); |
480 aRequest->WriteL(KMsgPtr0,pStep); |
475 if (r==KErrNone && format->CurrentStep()==0) |
481 if (r==KErrNone && format->CurrentStep()==0) |
476 { |
482 { |