Lines Matching defs:pRegRec
75 RTDECL(int) RTVfsChainElementRegisterProvider(PRTVFSCHAINELEMENTREG pRegRec, bool fFromCtor)
82 AssertPtrReturn(pRegRec, VERR_INVALID_POINTER);
83 AssertMsgReturn(pRegRec->uVersion == RTVFSCHAINELEMENTREG_VERSION, ("%#x", pRegRec->uVersion), VERR_INVALID_POINTER);
84 AssertMsgReturn(pRegRec->uEndMarker == RTVFSCHAINELEMENTREG_VERSION, ("%#zx", pRegRec->uEndMarker), VERR_INVALID_POINTER);
85 AssertReturn(pRegRec->fReserved == 0, VERR_INVALID_POINTER);
86 AssertPtrReturn(pRegRec->pszName, VERR_INVALID_POINTER);
87 AssertPtrNullReturn(pRegRec->pfnOpenVfs, VERR_INVALID_POINTER);
88 AssertPtrNullReturn(pRegRec->pfnOpenDir, VERR_INVALID_POINTER);
89 AssertPtrNullReturn(pRegRec->pfnOpenFile, VERR_INVALID_POINTER);
90 AssertPtrNullReturn(pRegRec->pfnOpenIoStream, VERR_INVALID_POINTER);
91 AssertPtrNullReturn(pRegRec->pfnOpenFsStream, VERR_INVALID_POINTER);
113 if (!strcmp(pIterator->pszName, pRegRec->pszName))
115 AssertMsgFailed(("duplicate name '%s' old=%p new=%p\n", pIterator->pszName, pIterator, pRegRec));
125 RTListAppend(&g_rtVfsChainElementProviderList, &pRegRec->ListEntry);
524 RTDECL(int) RTVfsChainElementDeregisterProvider(PRTVFSCHAINELEMENTREG pRegRec, bool fFromDtor)
529 if (pRegRec == NULL)
531 AssertPtrReturn(pRegRec, VERR_INVALID_POINTER);
532 AssertMsgReturn(pRegRec->uVersion == RTVFSCHAINELEMENTREG_VERSION, ("%#x", pRegRec->uVersion), VERR_INVALID_POINTER);
533 AssertMsgReturn(pRegRec->uEndMarker == RTVFSCHAINELEMENTREG_VERSION, ("%#zx", pRegRec->uEndMarker), VERR_INVALID_POINTER);
534 AssertPtrReturn(pRegRec->pszName, VERR_INVALID_POINTER);
549 if (pIterator == pRegRec)
551 RTListNodeRemove(&pRegRec->ListEntry);