Home | History | Annotate | Download | only in IScsiDxe

Lines Matching defs:Heap

84   Add one item into the heap.

86 @param[in, out] Heap On input, the current address of the heap; On output, the address of
87 the heap after the item is added.
88 @param[in] Data The data to add into the heap.
93 IN OUT UINT8 **Heap,
101 *Heap -= Len + 1;
103 CopyMem (*Heap, Data, Len);
104 *(*Heap + Len) = 0;
111 @param[in, out] Heap The heap.
117 IN OUT UINT8 **Heap,
157 // Fill the iSCSI Initiator Name into the heap.
159 IScsiAddHeapItem (Heap, Session->InitiatorName, Session->InitiatorNameLength - 1);
162 Initiator->IScsiNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
247 @param[in, out] Heap The heap buffer used to store the variable length parameters such as iSCSI name.
254 IN OUT UINT8 **Heap,
369 IScsiAddHeapItem (Heap, SessionConfigData->NvData.TargetName, Length);
372 Target->IScsiNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
379 IScsiAddHeapItem (Heap, AuthConfig->CHAPName, Length);
381 Target->CHAPNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
387 IScsiAddHeapItem (Heap, AuthConfig->CHAPSecret, Length);
389 Target->CHAPSecretOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
396 IScsiAddHeapItem (Heap, AuthConfig->ReverseCHAPName, Length);
398 Target->ReverseCHAPNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
404 IScsiAddHeapItem (Heap, AuthConfig->ReverseCHAPSecret, Length);
406 Target->ReverseCHAPSecretOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
437 UINT8 *Heap;
504 Heap = (UINT8 *) Table + IBFT_HEAP_OFFSET;
516 IScsiFillInitiatorSection (Table, &Heap, HandleBuffer[0]);
517 IScsiFillNICAndTargetSections (Table, &Heap, HandleCount, HandleBuffer);