Lines Matching defs:request

114 	// get the request thread
134 // get the request port and the file system
141 // prepare the request
143 NotifyListenerRequest* request;
144 error = AllocateRequest(allocator, &request);
148 request->operation = operation;
149 request->details = details;
150 request->device = device;
151 request->oldDirectory = oldDirectory;
152 request->directory = directory;
153 request->node = node;
154 error = allocator.AllocateString(request->oldName, oldName);
157 error = allocator.AllocateString(request->name, name);
161 // send the request
180 // get the request port and the file system
187 // prepare the request
189 NotifySelectEventRequest* request;
190 error = AllocateRequest(allocator, &request);
194 request->sync = sync;
195 request->event = event;
196 request->unspecifiedEvent = unspecifiedEvent;
198 // send the request
218 // get the request port and the file system
225 // prepare the request
227 NotifyQueryRequest* request;
228 error = AllocateRequest(allocator, &request);
232 request->port = targetPort;
233 request->token = token;
234 request->operation = operation;
235 request->device = device;
236 request->directory = directory;
237 request->node = node;
238 error = allocator.AllocateString(request->name, name);
242 // send the request
264 // get the request port and the file system
271 // prepare the request
273 GetVNodeRequest* request;
274 error = AllocateRequest(allocator, &request);
278 request->nsid = nsid;
279 request->vnid = vnid;
281 // send the request
300 // get the request port and the file system
307 // prepare the request
309 PutVNodeRequest* request;
310 error = AllocateRequest(allocator, &request);
314 request->nsid = nsid;
315 request->vnid = vnid;
317 // send the request
335 // get the request port and the file system
342 // prepare the request
344 AcquireVNodeRequest* request;
345 error = AllocateRequest(allocator, &request);
349 request->nsid = nsid;
350 request->vnid = vnid;
352 // send the request
371 // get the request port and the file system
378 // prepare the request
380 NewVNodeRequest* request;
381 error = AllocateRequest(allocator, &request);
385 request->nsid = nsid;
386 request->vnid = vnid;
387 request->node = data;
388 request->capabilities = capabilities;
390 // send the request
409 // get the request port and the file system
416 // prepare the request
418 PublishVNodeRequest* request;
419 error = AllocateRequest(allocator, &request);
423 request->nsid = nsid;
424 request->vnid = vnid;
425 request->node = data;
426 request->type = type;
427 request->flags = flags;
428 request->capabilities = capabilities;
430 // send the request
471 // get the request port and the file system
478 // prepare the request
480 RemoveVNodeRequest* request;
481 error = AllocateRequest(allocator, &request);
485 request->nsid = nsid;
486 request->vnid = vnid;
488 // send the request
506 // get the request port and the file system
513 // prepare the request
515 UnremoveVNodeRequest* request;
516 error = AllocateRequest(allocator, &request);
520 request->nsid = nsid;
521 request->vnid = vnid;
523 // send the request
542 // get the request port and the file system
549 // prepare the request
551 GetVNodeRemovedRequest* request;
552 error = AllocateRequest(allocator, &request);
556 request->nsid = nsid;
557 request->vnid = vnid;
559 // send the request
581 // get the request port and the file system
588 // prepare the request
590 FileCacheCreateRequest* request;
591 error = AllocateRequest(allocator, &request);
595 request->nsid = mountID;
596 request->vnid = vnodeID;
597 request->size = size;
599 // send the request
616 // get the request port and the file system
623 // prepare the request
625 FileCacheDeleteRequest* request;
626 error = AllocateRequest(allocator, &request);
630 request->nsid = mountID;
631 request->vnid = vnodeID;
633 // send the request
651 // get the request port and the file system
658 // prepare the request
660 FileCacheSetEnabledRequest* request;
661 error = AllocateRequest(allocator, &request);
665 request->nsid = mountID;
666 request->vnid = vnodeID;
667 request->enabled = enabled;
669 // send the request
687 // get the request port and the file system
694 // prepare the request
696 FileCacheSetSizeRequest* request;
697 error = AllocateRequest(allocator, &request);
701 request->nsid = mountID;
702 request->vnid = vnodeID;
703 request->size = size;
705 // send the request
722 // get the request port and the file system
729 // prepare the request
731 FileCacheSyncRequest* request;
732 error = AllocateRequest(allocator, &request);
736 request->nsid = mountID;
737 request->vnid = vnodeID;
739 // send the request
757 // get the request port and the file system
764 // prepare the request
766 FileCacheReadRequest* request;
767 error = AllocateRequest(allocator, &request);
771 request->nsid = mountID;
772 request->vnid = vnodeID;
773 request->cookie = cookie;
774 request->pos = offset;
775 request->size = *_size;
777 // send the request
810 // get the request port and the file system
817 // prepare the request
819 FileCacheWriteRequest* request;
820 error = AllocateRequest(allocator, &request);
824 request->nsid = mountID;
825 request->vnid = vnodeID;
826 request->cookie = cookie;
827 request->size = *_size;
828 request->pos = offset;
831 error = allocator.AllocateData(request->buffer, buffer, *_size, 1,
837 // send the request
858 // get the request port and the file system
865 // prepare the request
867 DoIterativeFDIORequest* request;
868 error = AllocateRequest(allocator, &request);
872 request->nsid = volumeID;
873 request->fd = fd;
874 request->request = requestID;
875 request->cookie = cookie;
879 memcpy(request->vecs, vecs, sizeof(file_io_vec) * vecCount);
881 request->vecCount = vecCount;
883 // send the request
901 // get the request port and the file system
908 // prepare the request
910 ReadFromIORequestRequest* request;
911 error = AllocateRequest(allocator, &request);
915 request->nsid = volumeID;
916 request->request = requestID;
917 request->size = size;
919 // send the request
947 // get the request port and the file system
954 // prepare the request
956 WriteToIORequestRequest* request;
957 error = AllocateRequest(allocator, &request);
961 request->nsid = volumeID;
962 request->request = requestID;
964 error = allocator.AllocateData(request->buffer, buffer, size, 1, false);
968 // send the request
985 // get the request port and the file system
992 // prepare the request
994 NotifyIORequestRequest* request;
995 error = AllocateRequest(allocator, &request);
999 request->nsid = volumeID;
1000 request->request = requestID;
1001 request->status = status;
1003 // send the request
1023 // get the request port and the file system
1030 // prepare the request
1032 AddNodeListenerRequest* request;
1033 error = AllocateRequest(allocator, &request);
1037 request->device = device;
1038 request->node = node;
1039 request->flags = flags;
1040 request->listener = listener;
1042 // send the request
1059 // get the request port and the file system
1066 // prepare the request
1068 RemoveNodeListenerRequest* request;
1069 error = AllocateRequest(allocator, &request);
1073 request->device = device;
1074 request->node = node;
1075 request->listener = listener;
1077 // send the request