Searched refs:operation (Results 1 - 25 of 66) sorted by last modified time

123

/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp339 kprintf("usage: %s <ptr-to-io-operation>\n", argv[0]);
343 IOOperation* operation = (IOOperation*)parse_expression(argv[1]); local
344 operation->Dump();
2477 "dump an I/O operation");
H A Ddma_resources.h104 IOOperation* operation,
H A Ddma_resources.cpp405 DMAResource::TranslateNext(IORequest* request, IOOperation* operation, argument
618 // this request to the next I/O operation.
726 operation->SetBuffer(dmaBuffer);
727 operation->SetBlockSize(fBlockSize);
728 operation->SetOriginalRange(originalOffset,
730 operation->SetRange(offset, dmaLength);
731 operation->SetPartial(partialBegin != 0,
735 operation->SetUsesBounceBuffer(bounceLeft < fBounceBufferSize);
736 if (operation->UsesBounceBuffer())
742 status_t error = operation
[all...]
H A DIORequest.cpp33 // partial I/O operation phases
1039 IORequest::OperationFinished(IOOperation* operation) argument
1042 operation, status, this);
1046 fChildren.Remove(operation);
1047 operation->SetParent(NULL);
1049 const status_t status = operation->Status();
1051 (operation->TransferredBytes() < operation->OriginalLength());
1053 (operation->OriginalOffset() + operation
1178 AddOperation(IOOperation* operation) argument
1188 RemoveOperation(IOOperation* operation) argument
[all...]
H A DIOSchedulerSimple.cpp60 IOOperation* operation = it.Next();) {
61 kprintf(" %p", operation);
103 fFinishedOperationCondition.Init(this, "I/O finished operation");
133 while (IOOperation* operation = fUnusedOperations.RemoveHead())
134 delete operation;
152 IOOperation* operation = new(std::nothrow) IOOperation; local
153 if (operation == NULL)
156 fUnusedOperations.Add(operation);
285 IOSchedulerSimple::OperationCompleted(IOOperation* operation, status_t status, argument
290 // finish operation onl
323 IOOperation* operation = fCompletedOperations.RemoveHead(); local
413 IOOperation* operation = fUnusedOperations.RemoveHead(); local
444 IOOperation* operation = fUnusedOperations.RemoveHead(); local
557 IOOperation* operation = sortedOperations.Head(); local
[all...]
/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci.cpp365 SdhciBus::DoIO(uint8_t command, IOOperation* operation, bool offsetAsSectors) argument
367 bool isWrite = operation->IsWrite();
370 off_t offset = operation->Offset();
371 generic_size_t length = operation->Length();
382 const generic_io_vec* vecs = operation->Vecs();
787 do_io(void* controller, uint8_t command, IOOperation* operation, argument
791 return bus->DoIO(command, operation, offsetAsSectors);
H A Dsdhci.h44 status_t DoIO(uint8_t command, IOOperation* operation,
441 IOOperation* operation, bool offsetAsSectors);
/haiku/src/add-ons/kernel/bus_managers/mmc/
H A Dmmc_bus.cpp96 MMCBus::DoIO(uint16_t rca, uint8_t command, IOOperation* operation, argument
102 return fController->do_io(fCookie, command, operation, offsetAsSectors);
/haiku/src/system/kernel/fs/
H A Dvfs.cpp224 The fs_mount() and fs_unmount() hold the lock during their whole operation.
256 The only operation allowed while holding this lock besides getting or
356 // file descriptor operation prototypes
730 // might have been called during a mount/unmount operation
4339 // no path given: get the FD and use the FD operation
8573 If only \a fd is given, the stat operation associated with the type
8618 If only \a fd is given, the stat operation associated with the type
8665 // no path given: get the FD and use the FD operation
9203 _user_flock(int fd, int operation) argument
9205 FUNCTION(("_user_fcntl(fd = %d, op = %d)\n", fd, operation));
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c2857 cmd_v3.operation = htole32(IWX_SCD_QUEUE_ADD);
2941 cmd_v3.operation = htole32(IWX_SCD_QUEUE_REMOVE);
H A Dif_iwxreg.h713 * SRAM is restored and uCode is in normal operation mode.
764 * device temperature is low enough to continue normal operation.
833 * Controls TX DMA operation
2133 * @IWX_NVM_CHANNEL_GO_CONCURRENT: GO operation is allowed when connected to BSS
2448 * struct iwx_fw_dbg_reg_op - an operation on a register
5434 * scheduler queue operation
5445 * @operation: the operation, see &enum iwl_scd_queue_cfg_operation
5461 uint32_t operation; member in struct:iwx_scd_queue_cfg_cmd
7529 * @IWX_ADD_STA_SUCCESS: operation wa
[all...]
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp571 IOOperation operation; local
572 status = handle->info->dma_resource.TranslateNext(request, &operation, 0);
578 ", write: %s\n", request, operation.Offset(),
579 operation.Length(), operation.IsWrite() ? "yes" : "no");
581 nvme_request.write = operation.IsWrite();
582 nvme_request.lba_start = operation.Offset() / block_size;
583 nvme_request.lba_count = operation.Length() / block_size;
584 nvme_request.iovecs = (physical_entry*)operation.Vecs();
585 nvme_request.iovec_count = operation
[all...]
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp353 usb_disk_operation_interrupt(device_lun *lun, uint8* operation, argument
357 TRACE("operation: lun: %u; op: 0x%x; data: %p; dlen: %p (%lu); in: %c\n",
358 lun->logical_unit_number, operation[0], data.vecs, dataLength,
364 // Step 1 : send the SCSI operation as a class specific request
368 0/*value*/, device->interface/*index*/, 12, operation, &actualLength);
375 if (operation[0] != SCSI_REQUEST_SENSE_6) {
406 if (operation[0] != SCSI_REQUEST_SENSE_6) {
423 // wait for the device to finish the operation.
431 usb_disk_operation_bulk(device_lun *lun, uint8 *operation, size_t operationLength, argument
435 TRACE("operation
571 usb_disk_operation(device_lun *lun, uint8* operation, size_t opLength, const transfer_data& data, size_t *dataLength, bool directionIn, err_act *_action = NULL) argument
586 usb_disk_operation(device_lun *lun, uint8* operation, size_t opLength, void *buffer, size_t *dataLength, bool directionIn, err_act *_action = NULL) argument
1822 IOOperation operation; local
[all...]
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.cpp127 mmc_disk_execute_iorequest(void* data, IOOperation* operation) argument
133 if (operation->IsWrite())
138 command, operation, (info->flags & kIoCommandOffsetAsSectors) != 0);
141 info->scheduler->OperationCompleted(operation, error, 0);
145 info->scheduler->OperationCompleted(operation, B_OK, operation->Length());
/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/
H A Dvirtio_block.cpp191 do_io(void* cookie, IOOperation* operation) argument
198 BStackOrHeapArray<physical_entry, 16> entries(operation->VecCount() + 2);
201 header->type = operation->IsWrite() ? VIRTIO_BLK_T_OUT : VIRTIO_BLK_T_IN;
202 header->sector = operation->Offset() / 512;
210 entries[operation->VecCount() + 1].address = entries[0].address
212 entries[operation->VecCount() + 1].size = sizeof(uint8);
214 memcpy(entries + 1, operation->Vecs(), operation->VecCount()
221 1 + (operation->IsWrite() ? operation
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/
H A Dkernel_interface.cpp255 uint32 operation, void* buffer, size_t size)
260 FUNCTION("volume: %p, node: %p (%" B_PRId64 "), cookie: %p, operation: %"
262 operation, buffer, size);
265 return volume->IOCtl(node, operation, buffer, size);
254 packagefs_ioctl(fs_volume* fsVolume, fs_vnode* fsNode, void* cookie, uint32 operation, void* buffer, size_t size) argument
/haiku/src/apps/debuganalyzer/model_loader/
H A DModelLoader.cpp100 while (IOOperation* operation = operations.RemoveHead())
101 delete operation;
104 void AddOperation(IOOperation* operation) argument
106 operations.Add(operation);
114 IOOperation* operation = it.Next();) {
115 if (operation->startedEvent->operation == address)
116 return operation;
133 IOOperation* operation = it.Next();) {
136 modelOperation.startedEvent = operation
1187 IOOperation* operation = new(std::nothrow) IOOperation(event); local
1205 IOOperation* operation = request->FindOperation(event->operation); local
[all...]
/haiku/src/system/kernel/posix/
H A Dxsi_semaphore.cpp111 // We return true in case the operation causes the
337 // Record the sem_undo operation into our private fUndoList and
1081 short operation = operations[i].sem_op; local
1084 if (operation < 0) {
1085 if (semaphore->Add(operation)) {
1092 } else if (operation == 0) {
1105 semaphore->Add(operation);
1115 short operation = operations[j].sem_op; local
1116 if (operation != 0)
1117 semaphore->Revert(operation);
1175 short operation = operations[i].sem_op; local
1184 short operation = operations[j].sem_op; local
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DVolume.cpp457 Volume::IOCtl(Node* node, uint32 operation, void* buffer, size_t size) argument
459 switch (operation) {
/haiku/src/apps/showimage/
H A DShowImageView.cpp1654 ShowImageView::_DoImageOperation(ImageProcessor::operation op, bool quiet)
1661 // operation failed
1705 //! Image operation initiated by user
1707 ShowImageView::_UserDoImageOperation(ImageProcessor::operation op, bool quiet)
1743 // operation failed
H A DShowImageView.h139 enum ImageProcessor::operation op,
142 enum ImageProcessor::operation op,
/haiku/src/apps/cortex/NodeManager/
H A DNodeManager.cpp124 // - does NOT apply operation to origin node.
136 Op operation,
181 // invoke operation
184 operation(targetRef);
195 operation,
221 // invoke operation
224 operation(targetRef);
235 operation,
131 _do_for_each_connected( NodeManager* manager, NodeRef* origin, NodeGroup* inGroup, bool recurse, Op operation, _for_each_state* state) argument
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp78 status_t _DoIO(IOOperation& operation);
184 do_io(void* data, IOOperation* operation) argument
187 off_t offset = operation->Offset();
189 for (uint32 i = 0; i < operation->VecCount(); i++) {
190 const generic_io_vec& vec = operation->Vecs()[i];
194 if (operation->IsWrite())
201 sIOScheduler->OperationCompleted(operation, B_OK, operation->Length());
538 Test::_DoIO(IOOperation& operation) argument
540 return do_io(NULL, &operation);
557 IOOperation operation; local
[all...]
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/
H A Dscsi_cd.cpp660 do_io(void* cookie, IOOperation* operation) argument
667 status_t status = sSCSIPeripheral->io(info->scsi_periph_device, operation,
670 info->io_scheduler->OperationCompleted(operation, status, bytesTransferred);
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/
H A Dscsi_disk.cpp223 do_io(void* cookie, IOOperation* operation) argument
230 status_t status = sSCSIPeripheral->io(info->scsi_periph_device, operation,
233 info->io_scheduler->OperationCompleted(operation, status, bytesTransferred);

Completed in 353 milliseconds

123