Searched refs:offset (Results 226 - 250 of 1236) sorted by last modified time

1234567891011>>

/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp527 uint32 offset = interruptCells * index;
531 interruptNumber = fdt32_to_cpu(*(prop + offset));
533 uint32 interruptType = fdt32_to_cpu(prop[offset + GIC_INTERRUPT_CELL_TYPE]);
534 interruptNumber = fdt32_to_cpu(prop[offset + GIC_INTERRUPT_CELL_ID]);
/haiku/src/system/kernel/
H A Dheap.cpp2364 int32 offset = smp_get_current_cpu() * HEAP_CLASS_COUNT; local
2366 heap_allocator *heap = sHeaps[(i + offset) % sHeapCount];
2421 int32 offset = smp_get_current_cpu() * HEAP_CLASS_COUNT; local
2423 heap_allocator *heap = sHeaps[(i + offset) % sHeapCount];
H A Dguarded_heap.cpp313 size_t offset = size & (B_PAGE_SIZE - 1); local
315 + (offset > 0 ? B_PAGE_SIZE - offset : 0)) & ~(alignment - 1));
/haiku/src/system/kernel/fs/
H A Dfifo.cpp64 ssize_t Peek(size_t offset, void* buffer,
319 RingBuffer::Peek(size_t offset, void* buffer, size_t length) const argument
324 return ring_buffer_peek(fBuffer, offset, (uint8*)buffer, length);
/haiku/src/system/kernel/device_manager/
H A Ddma_resources.cpp411 off_t offset = originalOffset; local
412 generic_size_t partialBegin = offset & (fBlockSize - 1);
436 TRACE(" offset %" B_PRIdOFF ", remaining size: %lu, block size %lu -> partial: %lu\n",
437 offset, request->RemainingBytes(), fBlockSize, partialBegin);
516 // If the offset isn't block-aligned, use the bounce buffer to bridge the
538 offset -= partialBegin;
545 TRACE(" partial begin, using bounce buffer: offset: %" B_PRIdOFF ", length: "
546 "%lu\n", offset, length);
644 if (diff == 0 && offset + (off_t)dmaLength > requestEnd) {
729 min_c(offset
[all...]
H A DIORequest.cpp383 // We iterate through the vecs we have read, moving offset (the device
384 // offset) as we go. If [offset, offset + vec.length) intersects with
386 off_t offset = fOffset; local
395 if (offset < startOffset) {
396 // If the complete vector is before the start offset, skip it.
397 if (offset + (off_t)length <= startOffset) {
398 offset += length;
402 // The vector starts before the start offset, bu
465 off_t offset = fOffset; local
535 SetOriginalRange(off_t offset, generic_size_t length) argument
543 SetRange(off_t offset, generic_size_t length) argument
764 Init(off_t offset, generic_addr_t buffer, generic_size_t length, bool write, uint32 flags) argument
777 Init(off_t offset, generic_size_t firstVecOffset, generic_size_t lastVecSize, const generic_io_vec* vecs, size_t count, generic_size_t length, bool write, uint32 flags) argument
816 CreateSubRequest(off_t parentOffset, off_t offset, generic_size_t length, IORequest*& _subRequest) argument
1197 CopyData(off_t offset, void* buffer, size_t size) argument
1204 CopyData(const void* buffer, off_t offset, size_t size) argument
1211 ClearData(off_t offset, generic_size_t size) argument
1265 _CopyData(void* _buffer, off_t offset, size_t size, bool copyIn) argument
[all...]
/haiku/src/system/boot/platform/efi/
H A Ddtb.cpp178 strcmp(fdt_string(fdt, fdt32_to_cpu(property->nameoff)), "offset") == 0 ||
528 int offset = fdt_node_offset_by_phandle(fdt, phandle); local
529 if (offset > 0) {
530 uint32* prop2 = (uint32*)fdt_getprop(fdt, offset, "clock-frequency", NULL);
/haiku/src/system/boot/platform/efi/arch/arm64/
H A Darch_mmu.cpp182 uint64 offset = 0; local
197 uint64 unprocessedSize = map_region(virt_addr + offset,
198 phys_addr + offset, remainingSize, level + 1, flags, page);
200 offset = remainingSize - unprocessedSize;
266 // for (addr_t offset = 0; offset < size; offset += B_PAGE_SIZE) {
267 // map_page(virt_addr + offset, phys_addr + offset, flags);
/haiku/src/system/boot/platform/efi/arch/arm/
H A Darch_mmu.cpp114 for (addr_t offset = 0; offset < size; offset += B_PAGE_SIZE) {
115 map_page(virtAddr + offset, physAddr + offset, flags);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp509 // "false" means not to do the pixel center offset,
549 // Do the pixel center offset here
1018 uint8* offset = dst + x1 * 4; local
1020 // uint32* handle = (uint32*)(offset + y1 * bpr);
1024 gfxset32(offset + y1 * bpr, color.data32, (x2 - x1 + 1) * 4);
1070 uint8* offset = dst + x1 * 4; local
1072 // uint32* handle = (uint32*)(offset + y1 * bpr);
1076 gfxset32(offset + y1 * bpr, gradientArray[y1 - top],
1742 uint8* offset = dst + x1 * 4 + y1 * bpr; local
1744 blend_line32(offset, x
2028 int32 offset = (int32)floorf((colorCount - 1) local
[all...]
/haiku/src/preferences/filetypes/
H A DApplicationTypeWindow.cpp74 int32 offset, const text_run_array* runs);
138 TabFilteringTextView::InsertText(const char* text, int32 length, int32 offset, argument
141 BTextView::InsertText(text, length, offset, runs);
/haiku/src/libs/compat/freebsd_network/
H A Dusb.cpp454 usb_frlength_t offset, usb_frlength_t len)
456 KASSERT((offset + len) < uint32_t(cache->length), ("buffer overflow"));
457 memset((uint8*)cache->buffer + offset, 0, len);
462 usbd_copy_in(struct usb_page_cache* cache, usb_frlength_t offset, argument
465 KASSERT((offset + len) < uint32_t(cache->length), ("buffer overflow"));
466 memcpy((uint8*)cache->buffer + offset, ptr, len);
471 usbd_copy_out(struct usb_page_cache* cache, usb_frlength_t offset, argument
474 KASSERT((offset + len) < uint32_t(cache->length), ("buffer overflow"));
475 memcpy(ptr, (uint8*)cache->buffer + offset, len);
453 usbd_frame_zero(struct usb_page_cache* cache, usb_frlength_t offset, usb_frlength_t len) argument
/haiku/src/kits/tracker/
H A DTextWidget.h65 BView* drawView, bool selected, uint32 clipboardMode, BPoint offset,
H A DModel.cpp1232 Model::WriteAttr(const char* attr, type_code type, off_t offset, argument
1239 ssize_t result = fNode->WriteAttr(attr, type, offset, buffer, length);
1246 type_code type, off_t offset, const void* buffer, size_t length)
1252 ssize_t result = fNode->WriteAttr(attr, type, offset, buffer, length);
1245 WriteAttrKillForeign(const char* attr, const char* foreignAttr, type_code type, off_t offset, const void* buffer, size_t length) argument
/haiku/src/bin/debug/strace/
H A DContext.cpp47 int offset = len - min_c(len, bytes * 2); local
50 if (offset <= 2) {
51 offset = 0;
53 tmp[--offset] = 'x';
54 tmp[--offset] = '0';
57 return tmp + offset;
/haiku/src/apps/icon-o-matic/
H A DCanvasView.cpp81 BPoint offset = ScrollOffset(); local
82 offset.x = roundf(offset.x + dataRectCenter.x - boundsCenter.x);
83 offset.y = roundf(offset.y + dataRectCenter.y - boundsCenter.y);
84 SetScrollOffset(offset);
167 BPoint offset = where - fScrollTrackingStart; local
168 SetScrollOffset(fScrollOffsetStart - offset);
262 BPoint offset = newOffset - oldOffset; local
264 if (offset
629 BPoint offset = ScrollOffset(); local
[all...]
/haiku/src/add-ons/print/drivers/postscript/
H A DPS.cpp206 PSDriver::NextBand(BBitmap* bitmap, BPoint* offset) argument
221 int x = (int)offset->x;
222 int y = (int)offset->y;
326 offset->x = -1.0;
327 offset->y = -1.0;
329 offset->y += height;
/haiku/src/add-ons/print/drivers/pcl5/
H A DPCL5.cpp90 PCL5Driver::NextBand(BBitmap* bitmap, BPoint* offset) argument
105 int x = (int)offset->x;
106 int y = (int)offset->y;
203 offset->x = -1.0;
204 offset->y = -1.0;
206 offset->y += height;
/haiku/src/add-ons/print/drivers/canon_lips/lips4/
H A DLips4.cpp105 LIPS4Driver::NextBand(BBitmap* bitmap, BPoint* offset) argument
129 int x = (int)offset->x;
130 int y = (int)offset->y;
225 offset->x = -1.0;
226 offset->y = -1.0;
228 offset->y += height;
/haiku/src/add-ons/print/drivers/canon_lips/lips3/
H A DLips3.cpp103 LIPS3Driver::NextBand(BBitmap* bitmap, BPoint* offset) argument
118 int x = (int)offset->x;
119 int y = (int)offset->y;
215 offset->x = -1.0;
216 offset->y = -1.0;
218 offset->y += height;
/haiku/src/add-ons/kernel/file_systems/xfs/
H A Dkernel_interface.cpp183 xfs_get_file_map(fs_volume *_volume, fs_vnode *_node, off_t offset, argument
H A DExtent.h39 uint16 offset; member in struct:FreeRegion
128 // tag is the offset from start of the block
146 // offset into block after >> 3
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/
H A Dscsi_disk.cpp181 uint64 startBytes = trimData->ranges[i].offset;
201 dprintf("trim_device(): range offset (LBA) %" B_PRIu64
/haiku/src/add-ons/kernel/busses/pci/x86/
H A Dkernel_interface.cpp29 uint16 offset, uint8 size, uint32* value) {
31 ->ReadConfig(bus, device, function, offset, size, *value);
35 uint16 offset, uint8 size, uint32 value) {
37 ->WriteConfig(bus, device, function, offset, size, value);
H A DX86PCIController.cpp20 #define PCI_MECH1_REQ_DATA(bus, device, func, offset) \
21 (0x80000000 | (bus << 16) | (device << 11) | (func << 8) | (offset & ~3))
25 #define PCI_MECH2_CONFIG_PORT(dev, offset) \
26 (uint16)(0xC00 | (dev << 8) | offset)
190 uint16 offset, uint8 size, uint32 &value)
192 if (offset > 0xff)
196 out32(PCI_MECH1_REQ_DATA(bus, device, function, offset), PCI_MECH1_REQ_PORT);
199 value = in8(PCI_MECH1_DATA_PORT + (offset & 3));
202 value = in16(PCI_MECH1_DATA_PORT + (offset & 3));
218 uint16 offset, uint
188 ReadConfig( uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32 &value) argument
216 WriteConfig( uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32 value) argument
271 ReadConfig( uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32 &value) argument
301 WriteConfig( uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32 value) argument
367 ReadConfig( uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32 &value) argument
382 WriteConfig( uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32 value) argument
[all...]

Completed in 145 milliseconds

1234567891011>>