Lines Matching defs:pBuffer
1485 int vbsfRead (SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, uint64_t offset, uint32_t *pcbBuffer, uint8_t *pBuffer)
1491 if (pHandle == 0 || pcbBuffer == 0 || pBuffer == 0)
1510 rc = RTFileRead(pHandle->file.Handle, pBuffer, *pcbBuffer, &count);
1528 int vbsfWrite(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, uint64_t offset, uint32_t *pcbBuffer, uint8_t *pBuffer)
1534 if (pHandle == 0 || pcbBuffer == 0 || pBuffer == 0)
1559 rc = RTFileWrite(pHandle->file.Handle, pBuffer, *pcbBuffer, &count);
1608 uint32_t *pcbBuffer, uint8_t *pBuffer, uint32_t *pIndex, uint32_t *pcFiles)
1621 if (pHandle == 0 || pcbBuffer == 0 || pBuffer == 0)
1639 pSFDEntry = (PSHFLDIRINFO)pBuffer;
1821 int vbsfReadLink(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLSTRING *pPath, uint32_t cbPath, uint8_t *pBuffer, uint32_t cbBuffer)
1825 if (pPath == 0 || pBuffer == 0)
1842 rc = RTSymlinkRead(pszFullPath, (char *) pBuffer, cbBuffer, 0);
1851 int vbsfQueryFileInfo(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, uint32_t flags, uint32_t *pcbBuffer, uint8_t *pBuffer)
1855 SHFLFSOBJINFO *pObjInfo = (SHFLFSOBJINFO *)pBuffer;
1898 static int vbsfSetFileInfo(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, uint32_t flags, uint32_t *pcbBuffer, uint8_t *pBuffer)
1906 || pBuffer == 0
1914 pSFDEntry = (SHFLFSOBJINFO *)pBuffer;
1993 static int vbsfSetEndOfFile(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, uint32_t flags, uint32_t *pcbBuffer, uint8_t *pBuffer)
1999 if (pHandle == 0 || pcbBuffer == 0 || pBuffer == 0 || *pcbBuffer < sizeof(SHFLFSOBJINFO))
2006 pSFDEntry = (SHFLFSOBJINFO *)pBuffer;
2038 int vbsfQueryVolumeInfo(SHFLCLIENTDATA *pClient, SHFLROOT root, uint32_t flags, uint32_t *pcbBuffer, uint8_t *pBuffer)
2045 if (pcbBuffer == 0 || pBuffer == 0 || *pcbBuffer < sizeof(SHFLVOLINFO))
2055 pSFDEntry = (PSHFLVOLINFO)pBuffer;
2088 int vbsfQueryFSInfo(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, uint32_t flags, uint32_t *pcbBuffer, uint8_t *pBuffer)
2090 if (pcbBuffer == 0 || pBuffer == 0)
2097 return vbsfQueryFileInfo(pClient, root, Handle, flags, pcbBuffer, pBuffer);
2100 return vbsfQueryVolumeInfo(pClient, root, flags, pcbBuffer, pBuffer);
2124 int vbsfSetFSInfo(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, uint32_t flags, uint32_t *pcbBuffer, uint8_t *pBuffer)
2129 if (type == 0 || pcbBuffer == 0 || pBuffer == 0)
2142 return vbsfSetFileInfo(pClient, root, Handle, flags, pcbBuffer, pBuffer);
2145 return vbsfSetEndOfFile(pClient, root, Handle, flags, pcbBuffer, pBuffer);
2148 // return vbsfVolumeInfo(pClient, root, Handle, flags, pcbBuffer, pBuffer);