• Home
  • Raw
  • Download

Lines Matching refs:Len

72   UINT32      Len;  member
194 IN UINTN Len, in ExtractStrings() argument
201 for (Ptr = Strings; Ptr < Strings + Len; Ptr += AsciiStrSize (Ptr)) { in ExtractStrings()
232 IN UINTN Len, in Split() argument
242 if (Len > 0) { in Split()
243 Strings[Len - 1] = '\0'; in Split()
247 *NumPtr = ExtractStrings (Strings, Len, NULL); in Split()
250 Dst = AllocatePool (*NumPtr * sizeof (CHAR8 *) + Len); in Split()
251 CopyMem ((VOID*)&Dst[*NumPtr], Strings, Len); in Split()
256 ExtractStrings (Strings, Len, Dst); in Split()
368 UINT32 Len; in XenStoreGetOutputChunk() local
369 Len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX (Prod); in XenStoreGetOutputChunk()
370 if ((XENSTORE_RING_SIZE - (Prod - Cons)) < Len) { in XenStoreGetOutputChunk()
371 Len = XENSTORE_RING_SIZE - (Prod - Cons); in XenStoreGetOutputChunk()
373 *LenPtr = Len; in XenStoreGetOutputChunk()
397 UINT32 Len; in XenStoreGetInputChunk() local
399 Len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX (Cons); in XenStoreGetInputChunk()
400 if ((Prod - Cons) < Len) { in XenStoreGetInputChunk()
401 Len = Prod - Cons; in XenStoreGetInputChunk()
403 *LenPtr = Len; in XenStoreGetInputChunk()
462 IN UINT32 Len in XenStoreWriteStore() argument
468 while (Len != 0) { in XenStoreWriteStore()
498 if (Available > Len) { in XenStoreWriteStore()
499 Available = Len; in XenStoreWriteStore()
504 Len -= Available; in XenStoreWriteStore()
541 IN UINT32 Len in XenStoreReadStore() argument
547 while (Len != 0) { in XenStoreReadStore()
577 if (Available > Len) { in XenStoreReadStore()
578 Available = Len; in XenStoreReadStore()
589 Len -= Available; in XenStoreReadStore()
817 Message.len += WriteRequest[Index].Len; in XenStoreTalkv()
827 Status = XenStoreWriteStore (WriteRequest[Index].Data, WriteRequest[Index].Len); in XenStoreTalkv()
888 WriteRequest.Len = (UINT32)AsciiStrSize (Body); in XenStoreSingle()
917 WriteRequest[0].Len = (UINT32)AsciiStrSize (Path); in XenStoreWatch()
919 WriteRequest[1].Len = (UINT32)AsciiStrSize (Token); in XenStoreWatch()
943 WriteRequest[0].Len = (UINT32)AsciiStrSize (Path); in XenStoreUnwatch()
945 WriteRequest[1].Len = (UINT32)AsciiStrSize (Token); in XenStoreUnwatch()
1175 UINT32 Len = 0; in XenStoreListDirectory() local
1179 Status = XenStoreSingle (Transaction, XS_DIRECTORY, Path, &Len, in XenStoreListDirectory()
1186 *DirectoryListPtr = Split (TempStr, Len, DirectoryCountPtr); in XenStoreListDirectory()
1250 WriteRequest[0].Len = (UINT32)AsciiStrSize (Path); in XenStoreWrite()
1252 WriteRequest[1].Len = (UINT32)AsciiStrLen (Str); in XenStoreWrite()