Searched refs:offset (Results 76 - 100 of 1236) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DDataContainer.h30 virtual status_t ReadAt(off_t offset, void *buffer, size_t size,
32 virtual status_t WriteAt(off_t offset, const void *buffer, size_t size,
42 void _GetPages(off_t offset, off_t length, bool isWrite, vm_page** pages);
43 void _PutPages(off_t offset, off_t length, vm_page** pages, bool success);
44 status_t _DoCacheIO(const off_t offset, uint8* buffer, ssize_t length,
H A DDataContainer.cpp134 DataContainer::ReadAt(off_t offset, void *_buffer, size_t size, argument
138 status_t error = (buffer && offset >= 0 &&
144 offset = min(offset, fSize);
145 size = min(size, size_t(fSize - offset));
150 error = user_memcpy(buffer, fSmallBuffer + offset, size);
154 memcpy(buffer, fSmallBuffer + offset, size);
163 error = _DoCacheIO(offset, buffer, size, bytesRead, false);
170 DataContainer::WriteAt(off_t offset, const void *_buffer, size_t size, argument
173 PRINT("DataContainer::WriteAt(%lld, %p, %lu, %p), fSize: %lld\n", offset, _buffe
275 _DoCacheIO(const off_t offset, uint8* buffer, ssize_t length, size_t* bytesProcessed, bool isWrite) argument
338 _GetPages(off_t offset, off_t length, bool isWrite, vm_page** pages) argument
393 _PutPages(off_t offset, off_t length, vm_page** pages, bool success) argument
[all...]
H A DFile.h18 virtual status_t ReadAt(off_t offset, void *buffer, size_t size,
20 virtual status_t WriteAt(off_t offset, const void *buffer, size_t size,
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_phy.h40 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data);
43 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data);
74 s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data);
75 s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data);
77 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data);
78 s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data);
79 s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data);
82 s32 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data);
83 s32 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data);
84 s32 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u1
[all...]
/haiku/src/apps/terminal/
H A DThemeView.cpp149 int offset = 1; local
152 array->runs[0].offset = offset;
155 offset += strlen(colours[index++]) + 1;
156 array->runs[1].offset = offset;
159 offset += strlen(colours[index++]) + 1;
160 array->runs[2].offset = offset;
163 offset
[all...]
/haiku/src/system/boot/loader/file_systems/amiga_ffs/
H A DFile.cpp26 ssize_t ReadAt(off_t offset, uint8 *buffer, size_t size);
29 int32 BlockOffset(off_t offset) const;
30 int32 BlockIndex(off_t offset) const;
31 int32 ExtensionBlockOffset(off_t offset) const;
69 Stream::BlockOffset(off_t offset) const
71 return offset % fNode.BlockSize();
76 Stream::BlockIndex(off_t offset) const
78 return (offset % (fNode.BlockSize() * fNode.NumDataBlocks())) / fNode.BlockSize();
83 Stream::ExtensionBlockOffset(off_t offset) const
85 return offset / (fNod
106 ReadAt(off_t offset, uint8 *buffer, size_t size) argument
[all...]
/haiku/src/apps/drivesetup/
H A DCreateParametersPanel.h23 BPartition* parent, off_t offset,
27 status_t Go(off_t& offset, off_t& size, BString& name,
41 off_t offset, off_t size);
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DVersion.cpp183 size_t offset = std::min(bufferSize, size); local
184 size += snprintf(buffer + offset, bufferSize - offset, ".%s", minor);
188 size_t offset = std::min(bufferSize, size); local
189 size += snprintf(buffer + offset, bufferSize - offset, ".%s", micro);
193 size_t offset = std::min(bufferSize, size); local
194 size += snprintf(buffer + offset, bufferSize - offset, "~%s",
199 size_t offset local
[all...]
/haiku/headers/private/shared/
H A DJsonTextWriter.h37 off_t offset, size_t length);
41 off_t offset, size_t length);
46 off_t offset, size_t length);
/haiku/headers/private/storage/
H A DPartitioningInfo.h18 status_t SetTo(off_t offset, off_t size);
21 status_t ExcludeOccupiedSpace(off_t offset,
28 off_t* offset, off_t*size) const;
/haiku/src/kits/shared/
H A DKeymap.cpp283 int32 offset = Offset(keyCode, modifiers, &tableMask); local
284 uint8 deadKeyIndex = DeadKeyIndex(offset);
308 int32 offset = Offset(keyCode, modifiers);
309 if (offset < 0)
312 uint32 numBytes = fChars[offset];
327 if (offset == deadOffset[i])
335 if (strncmp(&fChars[offset + 1], &fChars[deadOffset[i] + 1],
373 int32 offset = Offset(keyCode, modifiers); local
374 if (offset < 0)
378 *numBytes = fChars[offset];
520 int32 offset; local
[all...]
/haiku/headers/private/firewire/
H A Dfwdma.h71 int offset = am->esize * index; local
73 return ((caddr_t)am->seg[offset / ssize].v_addr + (offset % ssize));
80 int offset = am->esize * index; local
82 return (am->seg[offset / ssize].bus_addr + (offset % ssize));
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DSuperBlock.cpp45 read_super_block(int device, off_t offset, const char *magic, argument
59 if (read_pos(device, offset, superBlock, size) != (int32)size)
97 SuperBlock::Init(int device, off_t offset) argument
101 if (read_super_block(device, REISERFS_OLD_DISK_OFFSET_IN_BYTES + offset,
106 } else if (read_super_block(device, REISERFS_DISK_OFFSET_IN_BYTES + offset,
111 } else if (read_super_block(device, REISERFS_DISK_OFFSET_IN_BYTES + offset,
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dutil.c43 uint32 offset; local
51 offset = (uint32)phy & (B_PAGE_SIZE - 1);
52 phyadr = phy - offset;
53 size = ROUNDUP(size + offset, B_PAGE_SIZE);
62 *virt = (char *)mapadr + offset;
64 TRACE("physical = %" B_PRIxPHYSADDR ", virtual = %p, offset = %" B_PRIu32
66 ", area = 0x%08" B_PRIx32 "\n", phy, *virt, offset, phyadr, mapadr,
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dutil.c78 uint32 offset; local
86 offset = (intptr_t)phy & (B_PAGE_SIZE - 1);
87 phyadr = (char *)phy - offset;
88 size = round_to_pagesize(size + offset);
97 *virt = (char *)mapadr + offset;
99 TRACE("physical = %p, virtual = %p, offset = %" B_PRId32 ", phyadr = %p, "
101 offset, phyadr, mapadr, size, area);
/haiku/src/add-ons/kernel/drivers/audio/generic/
H A Dutil.c112 uint32 offset; local
119 offset = (uint32)phy & (B_PAGE_SIZE - 1);
120 phyadr = phy - offset;
121 size = round_to_pagesize(size + offset);
124 *log = (void *)((uintptr_t)mapadr + (uintptr_t)offset);
126 LOG(("physical = %p, logical = %p, offset = %#x, phyadr = %p, mapadr = %p, size = %#x, area = %#x\n",
127 phy, *log, offset, phyadr, mapadr, size, area));
/haiku/src/kits/package/hpkg/
H A DAttributeDataReader.cpp30 BAttributeDataReader::ReadData(off_t offset, void* buffer, size_t size) argument
32 ssize_t bytesRead = fs_read_attr(fFD, fAttribute, fType, offset, buffer,
H A DFDDataReader.cpp33 BFDDataReader::ReadData(off_t offset, void* buffer, size_t size) argument
35 ssize_t bytesRead = pread(fFD, buffer, size, offset);
/haiku/src/kits/package/hpkg/v1/
H A DPackageDataV1.cpp36 BPackageData::SetData(uint64 size, uint64 offset) argument
39 fOffset = offset;
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_pci.h177 int nvme_pcicfg_read8(struct pci_device *dev, uint8_t *value, uint32_t offset);
178 int nvme_pcicfg_write8(struct pci_device *dev, uint8_t value, uint32_t offset);
179 int nvme_pcicfg_read16(struct pci_device *dev, uint16_t *value, uint32_t offset);
180 int nvme_pcicfg_write16(struct pci_device *dev, uint16_t value, uint32_t offset);
181 int nvme_pcicfg_read32(struct pci_device *dev, uint32_t *value, uint32_t offset);
182 int nvme_pcicfg_write32(struct pci_device *dev, uint32_t value, uint32_t offset);
195 uint8_t *value, uint32_t offset)
197 return pci_device_cfg_read_u8(dev, value, offset);
204 uint8_t value, uint32_t offset)
206 return pci_device_cfg_write_u8(dev, value, offset);
194 nvme_pcicfg_read8(struct pci_device *dev, uint8_t *value, uint32_t offset) argument
203 nvme_pcicfg_write8(struct pci_device *dev, uint8_t value, uint32_t offset) argument
212 nvme_pcicfg_read16(struct pci_device *dev, uint16_t *value, uint32_t offset) argument
221 nvme_pcicfg_write16(struct pci_device *dev, uint16_t value, uint32_t offset) argument
230 nvme_pcicfg_read32(struct pci_device *dev, uint32_t *value, uint32_t offset) argument
239 nvme_pcicfg_write32(struct pci_device *dev, uint32_t value, uint32_t offset) argument
[all...]
/haiku/src/system/kernel/vm/
H A DVMDeviceCache.cpp24 VMDeviceCache::Read(off_t offset, const generic_io_vec *vecs, size_t count, argument
33 VMDeviceCache::Write(off_t offset, const generic_io_vec* vecs, size_t count, argument
H A DVMDeviceCache.h21 virtual status_t Read(off_t offset, const generic_io_vec *vecs,
24 virtual status_t Write(off_t offset, const generic_io_vec *vecs,
/haiku/src/add-ons/accelerants/radeon_hd/atombios/
H A Datom.h39 void (*reg_write)(uint32 offset, uint32 data);
40 uint32 (*reg_read)(uint32 offset);
41 void (*ioreg_write)(uint32 offset, uint32 data);
42 uint32 (*ioreg_read)(uint32 offset);
43 void (*mc_write)(uint32 offset, uint32 data);
44 uint32 (*mc_read)(uint32 offset);
45 void (*pll_write)(uint32 offset, uint32 data);
46 uint32 (*pll_read)(uint32 offset);
/haiku/src/system/libroot/os/arch/m68k/
H A Dtls.c23 unsigned long int offset; member in struct:tls_index
63 return __gRuntimeLoader->get_tls_address(ti->module, ti->offset);
/haiku/src/preferences/keymap/
H A DKeymap.cpp31 print_key(char* chars, int32 offset, bool last = false) argument
33 int size = chars[offset++];
43 fputc(chars[offset], stdout);
50 strncpy(str, &chars[offset], size);
248 int32 offset = Offset(keyCode, modifiers, &tableMask);
249 uint8 deadKeyIndex = DeadKeyIndex(offset);
288 int32 offset = deadOffsets[deadKeyIndex - 1];
289 if (offset < 0 || offset >= (int32)fCharsSize)
292 uint32 deadNumBytes = fChars[offset];
[all...]

Completed in 118 milliseconds

1234567891011>>