Searched refs:isWrite (Results 1 - 25 of 29) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DIORequestInfo.h17 bool isWrite; member in struct:UserlandFS::IORequestInfo
20 IORequestInfo(int32 id, bool isWrite, off_t offset, size_t length, argument
26 isWrite(isWrite),
36 isWrite(other.isWrite),
/haiku/headers/private/kernel/vm/
H A Dvm_priv.h30 status_t vm_page_fault(addr_t address, addr_t faultAddress, bool isWrite,
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DDataContainer.h63 void _GetPages(off_t offset, off_t length, bool isWrite, vm_page** pages);
66 size_t* bytesProcessed, bool isWrite);
H A DDataContainer.cpp222 size_t* bytesProcessed, bool isWrite)
235 _GetPages(rounded_offset, rounded_len, isWrite, pages);
252 if (isWrite) {
284 DataContainer::_GetPages(off_t offset, off_t length, bool isWrite, argument
318 if (isWrite && missingPages > 0) {
221 _DoCacheIO(const off_t offset, uint8* buffer, ssize_t length, size_t* bytesProcessed, bool isWrite) argument
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_port.h43 void ScsiReadWrite(scsi_ccb *request, uint64 lba, size_t sectorCount, bool isWrite);
48 void ExecuteSataRequest(sata_request *request, bool isWrite = false);
H A Dahci_port.cpp889 bool isWrite)
891 RWTRACE("[%lld] %ld ScsiReadWrite: position %llu, size %lu, isWrite %d\n",
893 isWrite);
896 if (isWrite) {
922 isWrite ? ATA_COMMAND_WRITE_DMA_EXT : ATA_COMMAND_READ_DMA_EXT,
931 sreq->SetATA28Command(isWrite
935 ExecuteSataRequest(sreq, isWrite);
1053 AHCIPort::ExecuteSataRequest(sata_request* request, bool isWrite) argument
1089 if (isWrite)
1158 bool isWrite local
888 ScsiReadWrite(scsi_ccb* request, uint64 lba, size_t sectorCount, bool isWrite) argument
1234 bool isWrite = request->cdb[0] == SCSI_OP_WRITE_6; local
1244 bool isWrite = request->cdb[0] == SCSI_OP_WRITE_10; local
1261 bool isWrite = request->cdb[0] == SCSI_OP_WRITE_12; local
1278 bool isWrite = request->cdb[0] == SCSI_OP_WRITE_16; local
[all...]
/haiku/src/system/kernel/arch/arm/
H A Darch_int.cpp242 bool isWrite = true; local
260 isWrite ? DEBUG_PAGE_FAULT_WRITE : 0);
270 isWrite ? DEBUG_PAGE_FAULT_WRITE : 0);
314 vm_page_fault(far, frame->pc, isWrite, false, isUser, &newip);
/haiku/src/system/kernel/device_manager/
H A DIORequest.h63 status_t LockMemory(team_id team, bool isWrite);
64 void UnlockMemory(team_id team, bool isWrite);
75 bool isWrite);
178 status_t _CopyPartialBegin(bool isWrite,
180 status_t _CopyPartialEnd(bool isWrite);
H A DIOCache.h56 size_t pageCount, bool isWrite, bool isVIP);
H A DIORequest.cpp219 IOBuffer::LockMemory(team_id team, bool isWrite) argument
228 fVecs[i].length, isWrite ? 0 : B_READ_DEVICE);
230 _UnlockMemory(team, i, isWrite);
241 IOBuffer::_UnlockMemory(team_id team, size_t count, bool isWrite) argument
245 isWrite ? 0 : B_READ_DEVICE);
251 IOBuffer::UnlockMemory(team_id team, bool isWrite) argument
258 _UnlockMemory(team, fVecCount, isWrite);
621 IOOperation::_CopyPartialBegin(bool isWrite, bool& singleBlockOnly) argument
631 isWrite ? "write" : "read", singleBlockOnly);
633 if (isWrite) {
645 _CopyPartialEnd(bool isWrite) argument
[all...]
H A DIOCache.cpp518 IOCache::_TransferPages(size_t firstPage, size_t pageCount, bool isWrite, argument
522 ", write: %d, vip: %d)\n", this, firstPage, pageCount, isWrite, isVIP);
551 requestLength, isWrite,
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dio.cpp228 physical_entry* vecs, size_t vecCount, bool isWrite,
241 request->flags = isWrite ? SCSI_DIR_OUT : SCSI_DIR_IN;
290 cmd->opcode = isWrite ? SCSI_OP_WRITE_6 : SCSI_OP_READ_6;
303 cmd->opcode = isWrite ? SCSI_OP_WRITE_10 : SCSI_OP_READ_10;
315 cmd->opcode = isWrite ? SCSI_OP_WRITE_12 : SCSI_OP_READ_12;
327 cmd->opcode = isWrite ? SCSI_OP_WRITE_16 : SCSI_OP_READ_16;
377 if (res.error_code == B_DEV_READ_ERROR && isWrite)
515 bool isWrite, size_t* _bytesTransferred)
518 isWrite, _bytesTransferred);
226 read_write(scsi_periph_device_info *device, scsi_ccb *request, io_operation *operation, uint64 offset, size_t originalNumBlocks, physical_entry* vecs, size_t vecCount, bool isWrite, size_t* _bytesTransferred) argument
513 periph_read_write(scsi_periph_device_info *device, scsi_ccb *request, uint64 offset, size_t numBlocks, physical_entry* vecs, size_t vecCount, bool isWrite, size_t* _bytesTransferred) argument
H A Dscsi_periph_int.h98 bool isWrite, size_t* _bytesTransferred);
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATARequest.cpp71 ATARequest::SetIsWrite(bool isWrite) argument
73 fIsWrite = isWrite;
H A DATAPrivate.h280 void SetIsWrite(bool isWrite);
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIRequest.cpp62 VirtioSCSIRequest::SetIsWrite(bool isWrite) argument
64 fIsWrite = isWrite;
H A DVirtioSCSIPrivate.h117 void SetIsWrite(bool isWrite);
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp54 inline void SetLastAccess(int32 index, off_t access, bool isWrite) argument
57 last_access[index] = isWrite ? -access : access;
60 inline off_t LastAccess(int32 index, bool isWrite) const
62 return isWrite ? -last_access[index] : last_access[index];
65 inline uint32 LastAccessPageOffset(int32 index, bool isWrite) argument
67 return LastAccess(index, isWrite) >> PAGE_SHIFT;
263 bool isWrite)
266 isWrite ? "write" : "read"));
273 if (offset != ref->LastAccess(previous, isWrite))
276 ref->SetLastAccess(index, offset + bytes, isWrite);
262 push_access(file_cache_ref* ref, off_t offset, generic_size_t bytes, bool isWrite) argument
285 reserve_pages(file_cache_ref* ref, vm_page_reservation* reservation, size_t reservePages, bool isWrite) argument
[all...]
/haiku/headers/private/drivers/
H A Dscsi_periph.h111 bool isWrite, size_t* _bytesTransferred);
/haiku/src/add-ons/accelerants/common/
H A Di2c.c271 send_slave_address(const i2c_bus *bus, int slaveAddress, bool isWrite) argument
276 status = send_byte(bus, (slaveAddress & 0xfe) | (isWrite ? 0 : 1), true);
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp500 bool isWrite = operation->IsWrite();
503 status_t error = _TransferBlock(vecs, vecOffset, offset, isWrite);
518 generic_size_t& vecOffset, off_t offset, bool isWrite)
520 if (isWrite) {
528 ssize_t transferred = isWrite
537 if (!isWrite) {
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp61 bool isWrite, uint32 flags);
137 Test& AddTest(off_t offset, size_t length, bool isWrite, uint32 flags) argument
139 Test* test = new(std::nothrow) Test(*this, offset, length, isWrite,
297 Test::Test(TestSuite& suite, off_t offset, size_t length, bool isWrite, argument
303 fIsWrite(isWrite),
/haiku/src/system/kernel/vm/
H A Dvm.cpp274 bool isWrite, bool isExecute, bool isUser, vm_page** wirePage);
4193 vm_page_fault(addr_t address, addr_t faultAddress, bool isWrite, bool isExecute, argument
4199 TPF(PageFaultStart(address, isWrite, isUser, faultAddress));
4237 status = vm_soft_fault(addressSpace, pageAddress, isWrite, isExecute,
4244 strerror(status), address, faultAddress, isWrite, isUser,
4272 isWrite ? "write" : (isExecute ? "execute" : "read"), address,
4314 bool isWrite; member in struct:PageFaultContext
4322 PageFaultContext(VMAddressSpace* addressSpace, bool isWrite) argument
4326 isWrite(isWrite)
4509 vm_soft_fault(VMAddressSpace* addressSpace, addr_t originalAddress, bool isWrite, bool isExecute, bool isUser, vm_page** wirePage) argument
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp613 bool isWrite = operation->IsWrite(); local
620 _GetPages(offset, length, isWrite, pages);
628 if (isWrite)
631 error = _CopyData(page, vecs, vecOffset, isWrite);
652 void _GetPages(off_t offset, off_t length, bool isWrite, vm_page** pages) argument
685 if (isWrite && missingPages > 0) {
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A Dhaiku_kernel_emu.cpp359 return ((HaikuKernelIORequest*)request)->isWrite;

Completed in 177 milliseconds

12