Searched refs:range (Results 1 - 25 of 128) sorted by last modified time

123456

/haiku/src/tools/fs_shell/
H A Dvfs.cpp416 mount_hash(void *_m, const void *_key, uint32_t range) argument
422 return mount->id % range;
424 return (uint32_t)*id % range;
552 vnode_hash(void *_vnode, const void *_key, uint32_t range) argument
560 return VHASH(vnode->device, vnode->id) % range;
562 return VHASH(key->device, key->vnode) % range;
/haiku/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIControllerACPI.cpp91 DecodeAddress(const T& resource, pci_resource_range& range) argument
94 dprintf("PCI: range from ACPI [%lx(%d),%lx(%d)] with length %lx\n",
106 dprintf("PCI: Ignore empty ACPI range\n");
110 dprintf("PCI: maxAddress and addressLength are not set, ignore range\n");
121 range.host_address = acpiRange.minimum + acpiRange.translation_offset;
122 range.pci_address = acpiRange.minimum;
123 range.size = addressLength;
132 pci_resource_range range = {}; local
137 if (!DecodeAddress(address, range))
143 if (!DecodeAddress(address, range))
[all...]
H A DECAMPCIControllerFDT.cpp27 prop = fdtModule->get_prop(fdtDev, "bus-range", &propLen);
31 dprintf(" bus-range: %" B_PRIu32 " - %" B_PRIu32 "\n", busBeg, busEnd);
47 pci_resource_range range = {}; local
48 range.host_address = parentAdr;
49 range.pci_address = childAdr;
50 range.size = len;
53 range.address_type |= PCI_address_prefetchable;
57 range.type = B_IO_PORT;
58 fResourceRanges.Add(range);
61 range
[all...]
H A DECAMPCIController.h113 status_t GetRange(uint32 index, pci_resource_range* range);
H A DECAMPCIController.cpp246 ECAMPCIController::GetRange(uint32 index, pci_resource_range* range) argument
251 *range = fResourceRanges[index];
/haiku/src/add-ons/kernel/network/stack/
H A Dstack.cpp60 static uint32 Hash(void* _family, const void* _key, uint32 range);
/haiku/src/add-ons/kernel/busses/pci/designware/
H A DDWPCIController.h212 status_t GetRange(uint32 index, pci_resource_range* range);
H A DDWPCIController.cpp144 prop = fdtModule->get_prop(fdtDev, "bus-range", &propLen);
148 dprintf(" bus-range: %" B_PRIu32 " - %" B_PRIu32 "\n", busBeg, busEnd);
204 pci_resource_range range = {}; local
205 range.host_address = parentAdr;
206 range.pci_address = childAdr;
207 range.size = len;
210 range.address_type |= PCI_address_prefetchable;
214 range.type = B_IO_PORT;
215 fResourceRanges.Add(range);
218 range
395 GetRange(uint32 index, pci_resource_range* range) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci.cpp83 pci_resource_range range; local
84 if (gPCI->LookupRange(B_IO_MEMORY, childAdr, domain, range) >= B_OK)
85 hostAdr = childAdr - range.pci_address + range.host_address;
674 uint8 &domain, pci_resource_range &range, uint8 **mappedAdr)
687 range = curRange;
713 pci_resource_range range; local
714 for (uint32 j = 0; ctrl->get_range(ctrlCookie, j, &range) >= B_OK; j++)
715 data.ranges.Add(range);
673 LookupRange(uint32 type, phys_addr_t pciAddr, uint8 &domain, pci_resource_range &range, uint8 **mappedAdr) argument
H A Dpci.h88 uint8 &domain, pci_resource_range &range, uint8 **mappedAdr = NULL);
H A Dpci_io.cpp70 pci_resource_range range; local
73 if (gPCI->LookupRange(B_IO_PORT, ioPort, domain, range, &mappedAdr) < B_OK)
/haiku/headers/os/drivers/bus/
H A DPCI.h93 status_t (*get_range)(void *cookie, uint32 index, pci_resource_range *range);
/haiku/src/system/kernel/vm/
H A Dvm.cpp663 /*! Cuts a piece out of an area. If the given cut range covers the complete
665 resized accordingly. If the range covers some part in the middle of the
669 The caller must ensure that no part of the given range is wired.
876 panic("failed to restore cache range: %s",
955 /*! Deletes or cuts all areas in the given address range.
957 The caller must ensure that no part of the given range is wired.
973 "unmap range of kernel area %" B_PRId32 " (%s)\n",
1047 that no part of the specified address range (base \c *_virtualAddress, size
1219 specified range and waits, if so.
1230 \param base The base address of the range t
5899 VMAreaWiredRange* range = new(malloc_flags(mallocFlags)) local
6069 VMAreaWiredRange* range = area->Unwire(areaStart, local
6110 VMAreaWiredRange* range = area->Unwire(areaStart, local
[all...]
/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.cpp1044 edid1_monitor_range& range = monitor->data.monitor_range; local
1046 info->min_horizontal_frequency = range.min_h;
1047 info->max_horizontal_frequency = range.max_h;
1048 info->min_vertical_frequency = range.min_v;
1049 info->max_vertical_frequency = range.max_v;
1050 info->max_pixel_clock = range.max_clock * 10000;
/haiku/src/kits/interface/
H A DListView.cpp340 int32 beg, end, range; local
343 err = specifier.FindInt32("range", &range);
347 end = beg + range;
414 int32 beg, end, range; local
417 err = specifier.FindInt32("range", &range);
421 end = beg + range;
H A DTextView.cpp215 "Returns the text in the specified range in the BTextView.", 0,
222 "Removes or inserts text into the specified range in the BTextView.", 0,
229 "Returns the style information for the text in the specified range in "
237 "Sets the style information for the text in the specified range in the "
2094 // return an empty region if the range is invalid
2117 // more than one line in the specified offset range
2128 // more than two lines in the range
3062 // set nullStyle to style at beginning of range
3076 int32 range = toOffset - fromOffset; local
3078 // selection is behind the range tha
5599 int32 index, range; local
5626 int32 index, range; local
5638 int32 index, range; local
[all...]
/haiku/src/system/boot/platform/efi/arch/riscv64/
H A Darch_mmu.cpp220 panic("failed to add virtual range to keep");
225 MapAddrRange(addr_range& range, uint64 flags) argument
227 if (range.size == 0) {
228 range.start = 0;
232 phys_addr_t physAdr = range.start;
233 range.start = get_next_virtual_address(range.size);
235 MapRange(range.start, physAdr, range.size, flags);
236 insert_virtual_range_to_keep(range
272 GetPhysMemRange(addr_range& range) argument
[all...]
/haiku/src/apps/haikudepot/build/scripts/
H A Dhdsjsonschemacommon.py256 for i in range(len(property_array)):
H A Dustache.py439 for item in range(start, size):
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/
H A Dvirtio_mmio.cpp140 virtio_memory_range &range = *((virtio_memory_range *)context); local
143 range.base = res->data.fixed_memory32.address;
144 range.length = res->data.fixed_memory32.address_length;
204 virtio_memory_range range = { 0, 0 }; local
206 virtio_crs_find_address, &range);
207 regs = range.base;
208 regsLen = range.length;
320 virtio_memory_range range = { 0, 0 }; local
322 virtio_crs_find_address, &range);
323 regs = range
[all...]
/haiku/src/system/kernel/arch/riscv64/
H A Darch_vm.cpp311 addr_range &range = args->arch_args.virtual_ranges_to_keep[i]; local
313 TRACE((" start: %p, size: %#" B_PRIxSIZE "\n", (void*)range.start, range.size));
317 if (!IS_KERNEL_ADDRESS(range.start)) {
323 void *address = (void*)range.start;
324 if (vm_get_page_mapping(VMAddressSpace::KernelID(), range.start,
329 B_EXACT_ADDRESS, range.size,
334 "reserved area: %p - %p\n", (void*)range.start,
335 (void*)(range.start + range
[all...]
/haiku/src/system/boot/platform/riscv/
H A Dmmu.cpp206 MapAddrRange(addr_range& range, uint64 flags) argument
208 phys_addr_t physAdr = range.start;
209 range.start = AllocVirtPages(range.size);
211 MapRange(range.start, physAdr, range.size, flags);
218 gKernelArgs.arch_args.num_virtual_ranges_to_keep++] = range;
/haiku/src/system/boot/loader/
H A Dmenu.cpp1317 addr_range& range = gKernelArgs.physical_memory_range[i]; local
1318 if (range.start >= (uint64)1 << 32) {
/haiku/src/apps/showimage/
H A DShowImageView.cpp1450 float prop, range; local
1455 range = bitmapLength - viewLength;
1456 if (range < 0.0)
1457 range = 0.0;
1463 psb->SetRange(0, range);
/haiku/src/apps/serialconnect/
H A DTermView.cpp516 float range = (fScrollBuffer.CountItems() + availableRows) local
518 scrollBar->SetRange(availableRows * fFontHeight - range, 0.0f);
521 scrollBar->SetProportion(availableRows * fFontHeight / range);

Completed in 145 milliseconds

123456