Lines Matching refs:length
63 s32 length; // the total transfer bytes for the current command member
202 CardControl.length = CARD_XFER_MOUNT; in DoMount()
263 CardControl.length = CARD_XFER_FORMAT; in DoFormat()
284 CardControl.length = CARD_XFER_DELETE; in DoErase()
346 s32 length; in DoList() local
391 … if (ent->stat.commentAddr <= ent->stat.length - CARD_COMMENT_SIZE && // Comment available? in DoList()
410 if (ent->stat.commentAddr <= ent->stat.length - CARD_COMMENT_SIZE) in DoList()
419 length = (s32) (ent->stat.commentAddr + CARD_COMMENT_SIZE - offset); in DoList()
420 length = (length + (CARD_READ_SIZE - 1)) & ~(CARD_READ_SIZE - 1); in DoList()
421 result = CARDRead(&fileInfo, ent, length, offset); in DoList()
434 ent->stat.offsetData <= ent->stat.length && in DoList()
444 length = (s32) (ent->stat.offsetData - offset); in DoList()
445 length = (length + (CARD_READ_SIZE - 1)) & ~(CARD_READ_SIZE - 1); in DoList()
446 result = CARDRead(&fileInfo, ent, length, offset); in DoList()
531 CardControl.length = (s32) stat.length; in DoOpen()
532 result = CARDRead(&fileInfo, buffer, (s32) stat.length, 0); in DoOpen()
586 …CardControl.length = (s32) stat->length + CARD_XFER_CREATE + CARD_XFER_WRITE + CARD_XFER_SETSTATUS… in DoSave()
589 CardControl.length += CARD_XFER_DELETE; in DoSave()
593 result = CARDCreate(slot, tempName, stat->length, &fileInfo); in DoSave()
605 result = CARDWrite(&fileInfo, buffer, (s32) stat->length, 0); in DoSave()
670 if (stat->commentAddr <= stat->length - CARD_COMMENT_SIZE) in DoSave()
684 ASSERT(stat->iconAddr < stat->length); in DoSave()
685 ASSERT(stat->offsetData < stat->length); in DoSave()
1143 if (CardControl.length) in CardUtilGetProgress()
1145 percent = (100 * percent) / CardControl.length; in CardUtilGetProgress()