Lines Matching refs:port

112 get_port_and_fs(RequestPort** port, FileSystem** fileSystem)
117 *port = thread->GetPort();
120 *port = UserlandFSServer::GetNotificationRequestPort();
122 if (!*port || !*fileSystem)
134 // get the request port and the file system
135 RequestPort* port;
137 status_t error = get_port_and_fs(&port, &fileSystem);
142 RequestAllocator allocator(port->GetPort());
164 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
167 RequestReleaser requestReleaser(port, reply);
180 // get the request port and the file system
181 RequestPort* port;
183 status_t error = get_port_and_fs(&port, &fileSystem);
188 RequestAllocator allocator(port->GetPort());
201 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
204 RequestReleaser requestReleaser(port, reply);
218 // get the request port and the file system
219 RequestPort* port;
221 status_t error = get_port_and_fs(&port, &fileSystem);
226 RequestAllocator allocator(port->GetPort());
232 request->port = targetPort;
245 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
248 RequestReleaser requestReleaser(port, reply);
264 // get the request port and the file system
265 RequestPort* port;
267 status_t error = get_port_and_fs(&port, &fileSystem);
272 RequestAllocator allocator(port->GetPort());
284 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
287 RequestReleaser requestReleaser(port, reply);
300 // get the request port and the file system
301 RequestPort* port;
303 status_t error = get_port_and_fs(&port, &fileSystem);
308 RequestAllocator allocator(port->GetPort());
320 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
323 RequestReleaser requestReleaser(port, reply);
335 // get the request port and the file system
336 RequestPort* port;
338 status_t error = get_port_and_fs(&port, &fileSystem);
343 RequestAllocator allocator(port->GetPort());
355 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
358 RequestReleaser requestReleaser(port, reply);
371 // get the request port and the file system
372 RequestPort* port;
374 status_t error = get_port_and_fs(&port, &fileSystem);
379 RequestAllocator allocator(port->GetPort());
393 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
396 RequestReleaser requestReleaser(port, reply);
409 // get the request port and the file system
410 RequestPort* port;
412 status_t error = get_port_and_fs(&port, &fileSystem);
417 RequestAllocator allocator(port->GetPort());
433 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
436 RequestReleaser requestReleaser(port, reply);
471 // get the request port and the file system
472 RequestPort* port;
474 status_t error = get_port_and_fs(&port, &fileSystem);
479 RequestAllocator allocator(port->GetPort());
491 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
494 RequestReleaser requestReleaser(port, reply);
506 // get the request port and the file system
507 RequestPort* port;
509 status_t error = get_port_and_fs(&port, &fileSystem);
514 RequestAllocator allocator(port->GetPort());
526 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
529 RequestReleaser requestReleaser(port, reply);
542 // get the request port and the file system
543 RequestPort* port;
545 status_t error = get_port_and_fs(&port, &fileSystem);
550 RequestAllocator allocator(port->GetPort());
562 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
565 RequestReleaser requestReleaser(port, reply);
581 // get the request port and the file system
582 RequestPort* port;
584 status_t error = get_port_and_fs(&port, &fileSystem);
589 RequestAllocator allocator(port->GetPort());
602 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
605 RequestReleaser requestReleaser(port, reply);
616 // get the request port and the file system
617 RequestPort* port;
619 status_t error = get_port_and_fs(&port, &fileSystem);
624 RequestAllocator allocator(port->GetPort());
636 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
639 RequestReleaser requestReleaser(port, reply);
651 // get the request port and the file system
652 RequestPort* port;
654 status_t error = get_port_and_fs(&port, &fileSystem);
659 RequestAllocator allocator(port->GetPort());
672 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
675 RequestReleaser requestReleaser(port, reply);
687 // get the request port and the file system
688 RequestPort* port;
690 status_t error = get_port_and_fs(&port, &fileSystem);
695 RequestAllocator allocator(port->GetPort());
708 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
711 RequestReleaser requestReleaser(port, reply);
722 // get the request port and the file system
723 RequestPort* port;
725 status_t error = get_port_and_fs(&port, &fileSystem);
730 RequestAllocator allocator(port->GetPort());
742 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
745 RequestReleaser requestReleaser(port, reply);
757 // get the request port and the file system
758 RequestPort* port;
760 status_t error = get_port_and_fs(&port, &fileSystem);
765 RequestAllocator allocator(port->GetPort());
780 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
783 RequestReleaser requestReleaser(port, reply);
793 RequestAllocator receiptAckAllocator(port->GetPort());
796 port->SendRequest(&receiptAckAllocator);
810 // get the request port and the file system
811 RequestPort* port;
813 status_t error = get_port_and_fs(&port, &fileSystem);
818 RequestAllocator allocator(port->GetPort());
840 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
843 RequestReleaser requestReleaser(port, reply);
858 // get the request port and the file system
859 RequestPort* port;
861 status_t error = get_port_and_fs(&port, &fileSystem);
866 RequestAllocator allocator(port->GetPort());
886 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
890 RequestReleaser requestReleaser(port, reply);
901 // get the request port and the file system
902 RequestPort* port;
904 status_t error = get_port_and_fs(&port, &fileSystem);
909 RequestAllocator allocator(port->GetPort());
922 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
925 RequestReleaser requestReleaser(port, reply);
934 RequestAllocator receiptAckAllocator(port->GetPort());
937 port->SendRequest(&receiptAckAllocator);
947 // get the request port and the file system
948 RequestPort* port;
950 status_t error = get_port_and_fs(&port, &fileSystem);
955 RequestAllocator allocator(port->GetPort());
971 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
974 RequestReleaser requestReleaser(port, reply);
985 // get the request port and the file system
986 RequestPort* port;
988 status_t error = get_port_and_fs(&port, &fileSystem);
993 RequestAllocator allocator(port->GetPort());
1006 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
1009 RequestReleaser requestReleaser(port, reply);
1023 // get the request port and the file system
1024 RequestPort* port;
1026 status_t error = get_port_and_fs(&port, &fileSystem);
1031 RequestAllocator allocator(port->GetPort());
1045 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
1048 RequestReleaser requestReleaser(port, reply);
1059 // get the request port and the file system
1060 RequestPort* port;
1062 status_t error = get_port_and_fs(&port, &fileSystem);
1067 RequestAllocator allocator(port->GetPort());
1080 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
1083 RequestReleaser requestReleaser(port, reply);