Home | History | Annotate | Download | only in raidframe

Lines Matching defs:pda_p

563   pda_p->col = asmap->if->col; \
564 pda_p->startSector = ((asmap->if->startSector / secPerSU) * secPerSU) + start; \
565 pda_p->numSector = num; \
566 pda_p->next = NULL; \
567 pda_p->bufPtr = BUF_ALLOC(num)
587 RF_PhysDiskAddr_t *pda_p;
600 pda_p = *pqpdap;
603 pda_p->type = RF_PDA_TYPE_PARITY;
604 pda_p++;
607 pda_p->type = RF_PDA_TYPE_Q;
615 pda_p = *pqpdap;
617 pda_p->type = RF_PDA_TYPE_PARITY;
618 pda_p++;
620 pda_p->type = RF_PDA_TYPE_Q;
627 pda_p = *pqpdap;
629 pda_p->type = RF_PDA_TYPE_PARITY;
630 pda_p++;
632 pda_p->type = RF_PDA_TYPE_Q;
633 pda_p++;
635 pda_p->type = RF_PDA_TYPE_PARITY;
636 pda_p++;
638 pda_p->type = RF_PDA_TYPE_Q;
651 pda_p = RF_MallocAndAdd(napdas * sizeof(*pda_p), allocList);
652 *pdap = pda_p;
656 pda_p[i].next = pda_p + (i + 1);
660 if ((pda_p - (*pdap)) == napdas)
662 pda_p->type = RF_PDA_TYPE_DATA;
663 pda_p->raidAddress = sosAddr + (i * secPerSU);
664 (raidPtr->Layout.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
666 if (RF_DEAD_DISK(raidPtr->Disks[pda_p->col].status))
670 pda_p->numSector = fone->numSector;
671 pda_p->raidAddress += fone_start;
672 pda_p->startSector += fone_start;
673 pda_p->bufPtr = BUF_ALLOC(pda_p->numSector);
676 pda_p->numSector = secPerSU;
677 pda_p->bufPtr = BUF_ALLOC(secPerSU);
680 pda_p->numSector = fone->numSector;
681 pda_p->raidAddress += fone_start;
682 pda_p->startSector += fone_start;
683 pda_p->bufPtr = BUF_ALLOC(pda_p->numSector);
684 pda_p++;
685 pda_p->type = RF_PDA_TYPE_DATA;
686 pda_p->raidAddress = sosAddr + (i * secPerSU);
687 (raidPtr->Layout.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
688 pda_p->numSector = ftwo->numSector;
689 pda_p->raidAddress += ftwo_start;
690 pda_p->startSector += ftwo_start;
691 pda_p->bufPtr = BUF_ALLOC(pda_p->numSector);
696 pda_p++;
699 RF_ASSERT(pda_p - *pdap == napdas);