Lines Matching defs:area

376 			reply.area = -1;
379 area_id area = -1;
382 // We create an area here, and transfer it to the client
386 area = create_area("get live nodes", (void**)&infos,
388 if (area < 0) {
389 reply.area = area;
397 if (area >= 0) {
398 // transfer the area to the target team
399 reply.area = _kern_transfer_area(area, &reply.address,
401 if (reply.area < 0) {
402 delete_area(area);
408 if (status != B_OK && reply.area >= 0) {
409 // if we couldn't send the message, delete the area
410 delete_area(reply.area);
489 B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, request.area);
491 ERROR("SERVER_PUBLISH_INPUTS: failed to clone area, "
518 B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, request.area);
520 ERROR("SERVER_PUBLISH_OUTPUTS: failed to clone area, "
583 // TODO: might be fixed by using an area
724 reply.area = gBufferManager->SharedBufferListArea();
725 request.SendReply(reply.area >= 0 ? B_OK : reply.area, &reply,
739 // size, offset, flags, area is kept
743 request.info.offset, request.info.area,
749 &reply.info.offset, &reply.info.area);
770 area_id area = gMediaFilesManager->GetTypesArea(reply.count);
771 if (area >= 0) {
772 // transfer the area to the target team
773 reply.area = _kern_transfer_area(area, &reply.address,
775 if (reply.area < 0) {
776 delete_area(area);
777 reply.area = B_ERROR;
783 reply.area < 0 ? reply.area : B_OK, &reply, sizeof(reply));
785 // if we couldn't send the message, delete the area
786 delete_area(reply.area);
797 area_id area = gMediaFilesManager->GetItemsArea(request.type,
799 if (area >= 0) {
800 // transfer the area to the target team
801 reply.area = _kern_transfer_area(area, &reply.address,
803 if (reply.area < 0) {
804 delete_area(area);
805 reply.area = B_ERROR;
809 reply.area = area;
812 reply.area < 0 ? reply.area : B_OK, &reply, sizeof(reply));
814 // if we couldn't send the message, delete the area
815 delete_area(reply.area);