Lines Matching refs:reply

46 // waiting for a reply.
907 SyncVolumeReply* reply;
908 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
911 RequestReleaser requestReleaser(port, reply);
913 // process the reply
914 if (reply->error != B_OK)
915 return reply->error;
970 WriteFSInfoReply* reply;
971 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
974 RequestReleaser requestReleaser(port, reply);
976 // process the reply
977 if (reply->error != B_OK)
978 return reply->error;
1035 GetVNodeNameReply* reply;
1036 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1039 RequestReleaser requestReleaser(port, reply);
1041 // process the reply
1042 if (reply->error != B_OK)
1043 return reply->error;
1045 char* readBuffer = (char*)reply->buffer.GetData();
1046 size_t nameLen = reply->buffer.GetSize();
1092 ReadVNodeReply* reply;
1093 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1098 RequestReleaser requestReleaser(port, reply);
1100 // process the reply
1101 if (reply->error != B_OK) {
1103 return reply->error;
1107 VNodeOps* ops = fFileSystem->GetVNodeOps(reply->capabilities);
1115 vnode->clientNode = reply->node;
1120 *type = reply->type;
1121 *flags = reply->flags;
1173 FSRemoveVNodeReply* reply;
1174 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1177 RequestReleaser requestReleaser(port, reply);
1179 // process the reply
1180 if (reply->error != B_OK)
1181 return reply->error;
1237 DoIOReply* reply;
1240 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1243 RequestReleaser requestReleaser(port, reply);
1245 // process the reply
1246 if (reply->error != B_OK)
1247 return reply->error;
1293 CancelIOReply* reply;
1294 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1299 RequestReleaser requestReleaser(port, reply);
1301 // process the reply
1302 if (reply->error != B_OK) {
1304 return reply->error;
1440 IOCtlReply* reply;
1441 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1444 RequestReleaser requestReleaser(port, reply);
1446 // process the reply
1447 if (reply->error != B_OK)
1448 return reply->error;
1453 if (isBuffer && writeSize > 0 && reply->buffer.GetData()) {
1454 if (writeSize > reply->buffer.GetSize())
1455 writeSize = reply->buffer.GetSize();
1456 memcpy(buffer, reply->buffer.GetData(), writeSize);
1459 return reply->ioctlError;
1492 SetFlagsReply* reply;
1493 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1496 RequestReleaser requestReleaser(port, reply);
1498 // process the reply
1499 if (reply->error != B_OK)
1500 return reply->error;
1542 SelectReply* reply;
1543 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1548 RequestReleaser requestReleaser(port, reply);
1550 // process the reply
1551 if (reply->error != B_OK) {
1553 return reply->error;
1598 DeselectReply* reply;
1599 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1602 RequestReleaser requestReleaser(port, reply);
1604 // process the reply
1605 if (reply->error != B_OK)
1606 return reply->error;
1638 FSyncReply* reply;
1639 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1642 RequestReleaser requestReleaser(port, reply);
1644 // process the reply
1645 if (reply->error != B_OK)
1646 return reply->error;
1682 ReadSymlinkReply* reply;
1683 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1686 RequestReleaser requestReleaser(port, reply);
1688 // process the reply
1689 if (reply->error != B_OK)
1690 return reply->error;
1691 void* readBuffer = reply->buffer.GetData();
1692 if (reply->bytesRead > (uint32)reply->buffer.GetSize()
1693 || reply->bytesRead > bufferSize) {
1696 if (reply->bytesRead > 0)
1697 memcpy(buffer, readBuffer, reply->bytesRead);
1698 *bytesRead = reply->bytesRead;
1738 CreateSymlinkReply* reply;
1739 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1742 RequestReleaser requestReleaser(port, reply);
1744 // process the reply
1745 if (reply->error != B_OK)
1746 return reply->error;
1783 LinkReply* reply;
1784 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1787 RequestReleaser requestReleaser(port, reply);
1789 // process the reply
1790 if (reply->error != B_OK)
1791 return reply->error;
1826 UnlinkReply* reply;
1827 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1830 RequestReleaser requestReleaser(port, reply);
1832 // process the reply
1833 if (reply->error != B_OK)
1834 return reply->error;
1874 RenameReply* reply;
1875 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1878 RequestReleaser requestReleaser(port, reply);
1880 // process the reply
1881 if (reply->error != B_OK)
1882 return reply->error;
1915 AccessReply* reply;
1916 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1919 RequestReleaser requestReleaser(port, reply);
1921 // process the reply
1922 if (reply->error != B_OK)
1923 return reply->error;
1987 WriteStatReply* reply;
1988 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1991 RequestReleaser requestReleaser(port, reply);
1993 // process the reply
1994 if (reply->error != B_OK)
1995 return reply->error;
2037 CreateReply* reply;
2038 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2041 RequestReleaser requestReleaser(port, reply);
2043 // process the reply
2044 if (reply->error != B_OK)
2045 return reply->error;
2047 *vnid = reply->vnid;
2048 *cookie = reply->fileCookie;
2085 OpenReply* reply;
2086 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2089 RequestReleaser requestReleaser(port, reply);
2091 // process the reply
2092 if (reply->error != B_OK)
2093 return reply->error;
2095 *cookie = reply->fileCookie;
2168 ReadReply* reply;
2169 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2172 RequestReleaser requestReleaser(port, reply);
2174 // process the reply
2175 if (reply->error != B_OK)
2176 return reply->error;
2177 void* readBuffer = reply->buffer.GetData();
2178 if (reply->bytesRead > (uint32)reply->buffer.GetSize()
2179 || reply->bytesRead > bufferSize) {
2182 if (reply->bytesRead > 0
2183 && user_memcpy(buffer, readBuffer, reply->bytesRead) < B_OK) {
2187 *bytesRead = reply->bytesRead;
2228 WriteReply* reply;
2229 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2232 RequestReleaser requestReleaser(port, reply);
2234 // process the reply
2235 if (reply->error != B_OK)
2236 return reply->error;
2237 *bytesWritten = reply->bytesWritten;
2276 CreateDirReply* reply;
2277 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2280 RequestReleaser requestReleaser(port, reply);
2282 // process the reply
2283 if (reply->error != B_OK)
2284 return reply->error;
2319 RemoveDirReply* reply;
2320 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2323 RequestReleaser requestReleaser(port, reply);
2325 // process the reply
2326 if (reply->error != B_OK)
2327 return reply->error;
2360 OpenDirReply* reply;
2361 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2364 RequestReleaser requestReleaser(port, reply);
2366 // process the reply
2367 if (reply->error != B_OK)
2368 return reply->error;
2370 *cookie = reply->dirCookie;
2443 ReadDirReply* reply;
2444 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2447 RequestReleaser requestReleaser(port, reply);
2449 // process the reply
2450 if (reply->error != B_OK)
2451 return reply->error;
2452 if (reply->count < 0 || reply->count > count)
2454 if ((int32)bufferSize < reply->buffer.GetSize())
2458 reply->buffer.GetSize()));
2460 *countRead = reply->count;
2465 uint32 copyBytes = reply->buffer.GetSize();
2468 memcpy(buffer, reply->buffer.GetData(), copyBytes);
2503 RewindDirReply* reply;
2504 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2507 RequestReleaser requestReleaser(port, reply);
2509 // process the reply
2510 if (reply->error != B_OK)
2511 return reply->error;
2548 OpenAttrDirReply* reply;
2549 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2552 RequestReleaser requestReleaser(port, reply);
2554 // process the reply
2555 if (reply->error != B_OK)
2556 return reply->error;
2558 *cookie = reply->attrDirCookie;
2632 ReadAttrDirReply* reply;
2633 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2636 RequestReleaser requestReleaser(port, reply);
2638 // process the reply
2639 if (reply->error != B_OK)
2640 return reply->error;
2641 if (reply->count < 0 || reply->count > count)
2643 if ((int32)bufferSize < reply->buffer.GetSize())
2646 *countRead = reply->count;
2651 uint32 copyBytes = reply->buffer.GetSize();
2654 memcpy(buffer, reply->buffer.GetData(), copyBytes);
2689 RewindAttrDirReply* reply;
2690 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2693 RequestReleaser requestReleaser(port, reply);
2695 // process the reply
2696 if (reply->error != B_OK)
2697 return reply->error;
2739 CreateAttrReply* reply;
2740 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2743 RequestReleaser requestReleaser(port, reply);
2745 // process the reply
2746 if (reply->error != B_OK)
2747 return reply->error;
2749 *cookie = reply->attrCookie;
2787 OpenAttrReply* reply;
2788 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2791 RequestReleaser requestReleaser(port, reply);
2793 // process the reply
2794 if (reply->error != B_OK)
2795 return reply->error;
2797 *cookie = reply->attrCookie;
2871 ReadAttrReply* reply;
2872 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2875 RequestReleaser requestReleaser(port, reply);
2877 // process the reply
2878 if (reply->error != B_OK)
2879 return reply->error;
2880 void* readBuffer = reply->buffer.GetData();
2881 if (reply->bytesRead > (uint32)reply->buffer.GetSize()
2882 || reply->bytesRead > bufferSize) {
2885 if (reply->bytesRead > 0
2886 && user_memcpy(buffer, readBuffer, reply->bytesRead) < B_OK) {
2889 *bytesRead = reply->bytesRead;
2930 WriteAttrReply* reply;
2931 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2934 RequestReleaser requestReleaser(port, reply);
2936 // process the reply
2937 if (reply->error != B_OK)
2938 return reply->error;
2939 *bytesWritten = reply->bytesWritten;
2972 ReadAttrStatReply* reply;
2973 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
2976 RequestReleaser requestReleaser(port, reply);
2978 // process the reply
2979 if (reply->error != B_OK)
2980 return reply->error;
2981 *st = reply->st;
3017 WriteAttrStatReply* reply;
3018 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3021 RequestReleaser requestReleaser(port, reply);
3023 // process the reply
3024 if (reply->error != B_OK)
3025 return reply->error;
3065 RenameAttrReply* reply;
3066 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3069 RequestReleaser requestReleaser(port, reply);
3071 // process the reply
3072 if (reply->error != B_OK)
3073 return reply->error;
3108 RemoveAttrReply* reply;
3109 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3112 RequestReleaser requestReleaser(port, reply);
3114 // process the reply
3115 if (reply->error != B_OK)
3116 return reply->error;
3150 OpenIndexDirReply* reply;
3151 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3154 RequestReleaser requestReleaser(port, reply);
3156 // process the reply
3157 if (reply->error != B_OK)
3158 return reply->error;
3160 *cookie = reply->indexDirCookie;
3232 ReadIndexDirReply* reply;
3233 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3236 RequestReleaser requestReleaser(port, reply);
3238 // process the reply
3239 if (reply->error != B_OK)
3240 return reply->error;
3241 if (reply->count < 0 || reply->count > count)
3243 if ((int32)bufferSize < reply->buffer.GetSize())
3246 *countRead = reply->count;
3251 uint32 copyBytes = reply->buffer.GetSize();
3254 memcpy(buffer, reply->buffer.GetData(), copyBytes);
3286 RewindIndexDirReply* reply;
3287 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3290 RequestReleaser requestReleaser(port, reply);
3292 // process the reply
3293 if (reply->error != B_OK)
3294 return reply->error;
3328 CreateIndexReply* reply;
3329 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3332 RequestReleaser requestReleaser(port, reply);
3334 // process the reply
3335 if (reply->error != B_OK)
3336 return reply->error;
3368 RemoveIndexReply* reply;
3369 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3372 RequestReleaser requestReleaser(port, reply);
3374 // process the reply
3375 if (reply->error != B_OK)
3376 return reply->error;
3408 ReadIndexStatReply* reply;
3409 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3412 RequestReleaser requestReleaser(port, reply);
3414 // process the reply
3415 if (reply->error != B_OK)
3416 return reply->error;
3417 *st = reply->st;
3458 OpenQueryReply* reply;
3459 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3462 RequestReleaser requestReleaser(port, reply);
3464 // process the reply
3465 if (reply->error != B_OK)
3466 return reply->error;
3468 *cookie = reply->queryCookie;
3539 ReadQueryReply* reply;
3540 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3543 RequestReleaser requestReleaser(port, reply);
3545 // process the reply
3546 if (reply->error != B_OK)
3547 return reply->error;
3548 if (reply->count < 0 || reply->count > count)
3550 if ((int32)bufferSize < reply->buffer.GetSize())
3553 *countRead = reply->count;
3558 uint32 copyBytes = reply->buffer.GetSize();
3561 memcpy(buffer, reply->buffer.GetData(), copyBytes);
3593 RewindQueryReply* reply;
3594 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3597 RequestReleaser requestReleaser(port, reply);
3599 // process the reply
3600 if (reply->error != B_OK)
3601 return reply->error;
3696 MountVolumeReply* reply;
3697 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3700 RequestReleaser requestReleaser(port, reply);
3702 // process the reply
3703 if (reply->error != B_OK)
3704 return reply->error;
3705 fRootID = reply->rootID;
3706 fUserlandVolume = reply->volume;
3707 fCapabilities = reply->capabilities;
3733 UnmountVolumeReply* reply;
3734 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3737 RequestReleaser requestReleaser(port, reply);
3739 // process the reply
3740 if (reply->error != B_OK)
3741 return reply->error;
3770 ReadFSInfoReply* reply;
3771 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3774 RequestReleaser requestReleaser(port, reply);
3776 // process the reply
3777 if (reply->error != B_OK)
3778 return reply->error;
3779 *info = reply->info;
3809 LookupReply* reply;
3810 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3813 RequestReleaser requestReleaser(port, reply);
3815 // process the reply
3816 if (reply->error != B_OK)
3817 return reply->error;
3818 *vnid = reply->vnid;
3856 WriteVNodeReply* reply;
3857 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3860 RequestReleaser requestReleaser(port, reply);
3862 // process the reply
3863 if (reply->error != B_OK)
3864 return reply->error;
3896 ReadStatReply* reply;
3897 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3900 RequestReleaser requestReleaser(port, reply);
3902 // process the reply
3903 if (reply->error != B_OK)
3904 return reply->error;
3905 *st = reply->st;
3938 CloseReply* reply;
3939 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3942 RequestReleaser requestReleaser(port, reply);
3944 // process the reply
3945 if (reply->error != B_OK)
3946 return reply->error;
3979 FreeCookieReply* reply;
3980 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
3983 RequestReleaser requestReleaser(port, reply);
3985 // process the reply
3986 if (reply->error != B_OK)
3987 return reply->error;
4020 CloseDirReply* reply;
4021 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4024 RequestReleaser requestReleaser(port, reply);
4026 // process the reply
4027 if (reply->error != B_OK)
4028 return reply->error;
4061 FreeDirCookieReply* reply;
4062 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4065 RequestReleaser requestReleaser(port, reply);
4067 // process the reply
4068 if (reply->error != B_OK)
4069 return reply->error;
4102 CloseAttrDirReply* reply;
4103 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4106 RequestReleaser requestReleaser(port, reply);
4108 // process the reply
4109 if (reply->error != B_OK)
4110 return reply->error;
4143 FreeAttrDirCookieReply* reply;
4144 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4147 RequestReleaser requestReleaser(port, reply);
4149 // process the reply
4150 if (reply->error != B_OK)
4151 return reply->error;
4184 CloseAttrReply* reply;
4185 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4188 RequestReleaser requestReleaser(port, reply);
4190 // process the reply
4191 if (reply->error != B_OK)
4192 return reply->error;
4225 FreeAttrCookieReply* reply;
4226 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4229 RequestReleaser requestReleaser(port, reply);
4231 // process the reply
4232 if (reply->error != B_OK)
4233 return reply->error;
4263 CloseIndexDirReply* reply;
4264 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4267 RequestReleaser requestReleaser(port, reply);
4269 // process the reply
4270 if (reply->error != B_OK)
4271 return reply->error;
4301 FreeIndexDirCookieReply* reply;
4302 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4305 RequestReleaser requestReleaser(port, reply);
4307 // process the reply
4308 if (reply->error != B_OK)
4309 return reply->error;
4339 CloseQueryReply* reply;
4340 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4343 RequestReleaser requestReleaser(port, reply);
4345 // process the reply
4346 if (reply->error != B_OK)
4347 return reply->error;
4377 FreeQueryCookieReply* reply;
4378 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
4381 RequestReleaser requestReleaser(port, reply);
4383 // process the reply
4384 if (reply->error != B_OK)
4385 return reply->error;
4392 RequestHandler* handler, Request** reply)
4404 return port->SendRequest(allocator, handler, reply);
4408 status_t error = port->SendRequest(allocator, handler, reply,
4747 IterativeIOGetVecsReply* reply;
4748 error = volume->_SendRequest(port, &allocator, &handler, (Request**)&reply);
4751 RequestReleaser requestReleaser(port, reply);
4753 // process the reply
4754 if (reply->error != B_OK)
4755 return reply->error;
4756 uint32 vecCount = reply->vecCount;
4760 memcpy(vecs, reply->vecs, vecCount * sizeof(file_io_vec));
4803 IterativeIOFinishedReply* reply;
4804 error = volume->_SendRequest(port, &allocator, &handler, (Request**)&reply);
4807 RequestReleaser requestReleaser(port, reply);
4809 // process the reply
4810 if (reply->error != B_OK)
4811 return reply->error;