Home
last modified time | relevance | path

Searched refs:ranges (Results 1 – 25 of 40) sorted by relevance

12

/haiku/src/system/boot/loader/
H A Dkernel_args.cpp42 remove_range_index(addr_range* ranges, uint32& numRanges, uint32 index) in remove_range_index() argument
50 memmove(&ranges[index], &ranges[index + 1], in remove_range_index()
64 insert_address_range(addr_range* ranges, uint32* _numRanges, uint32 maxRanges, in insert_address_range() argument
74 uint64 rangeStart = ranges[i].start; in insert_address_range()
75 uint64 rangeEnd = rangeStart + ranges[i].size; in insert_address_range()
88 ranges[i].start = start; in insert_address_range()
89 ranges[i].size += rangeStart - start; in insert_address_range()
91 if (end > ranges[i].start + ranges[i].size) { in insert_address_range()
93 ranges[i].size = end - ranges[i].start; in insert_address_range()
102 rangeStart = ranges[i].start; in insert_address_range()
[all …]
/haiku/headers/private/kernel/boot/
H A Daddr_range.h23 status_t insert_address_range(addr_range* ranges, uint32* _numRanges,
25 status_t remove_address_range(addr_range* ranges, uint32* _numRanges,
27 bool get_free_address_range(addr_range* ranges, uint32 numRanges, uint64 base,
29 bool is_address_range_covered(addr_range* ranges, uint32 numRanges, uint64 base,
31 uint64 total_address_ranges_size(addr_range* ranges, uint32 numRanges);
32 void sort_address_ranges(addr_range* ranges, uint32 numRanges);
/haiku/src/system/kernel/arch/x86/
H A Darch_vm.cpp201 optimize_memory_ranges(MemoryTypeRangeList& ranges, uint32 type, in optimize_memory_ranges() argument
206 MemoryTypeRangeList::Iterator it = ranges.GetIterator(); in optimize_memory_ranges()
304 memory_type_range* ranges = new(std::nothrow) memory_type_range[count]; in ensure_temporary_ranges_space() local
305 if (ranges == NULL) in ensure_temporary_ranges_space()
310 sTemporaryRanges = ranges; in ensure_temporary_ranges_space()
376 memory_type_range* ranges = sTemporaryRanges; in update_mtrrs() local
405 ranges[rangeCount].size = point->address - ranges[rangeCount].base; in update_mtrrs()
422 ? &ranges[rangeCount - 1] : NULL; in update_mtrrs()
427 ranges[rangeCount].base = point->address; in update_mtrrs()
428 ranges[rangeCount].type = activeRange->type; in update_mtrrs()
[all …]
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dblock.cpp466 scsi_block_range* ranges, uint32 rangeCount, uint64* trimmedBlocks) in trim_unmap() argument
477 expectedDescriptorCount += ranges[i].size / maxLength; in trim_unmap()
478 if (ranges[i].size % maxLength != 0) in trim_unmap()
499 uint64 lba = ranges[i].lba; in trim_unmap()
500 uint64 length = ranges[i].size; in trim_unmap()
620 scsi_block_range* ranges, uint32 rangeCount, uint64* trimmedBlocks) in trim_writesame16() argument
626 uint64 lba = ranges[i].lba; in trim_writesame16()
627 uint64 length = ranges[i].size; in trim_writesame16()
700 scsi_block_range* ranges, uint32 rangeCount, uint64* trimmedBlocks) in trim_writesame10() argument
706 uint64 lba = ranges[i].lba; in trim_writesame10()
[all …]
H A Dscsi_periph_int.h94 scsi_block_range* ranges, uint32 rangeCount, uint64* trimmedBlocks);
/haiku/src/kits/debugger/dwarf/
H A DCompilationUnit.cpp59 CompilationUnit::SetAddressRanges(TargetAddressRangeList* ranges) in SetAddressRanges() argument
64 fAddressRanges = ranges; in SetAddressRanges()
H A DCompilationUnit.h39 TargetAddressRangeList* ranges);
H A DDebugInfoEntry.h147 DECLARE_DEBUG_INFO_ENTRY_ATTR_SETTER(ranges)
/haiku/src/system/boot/platform/efi/
H A Ddtb.cpp409 uint32 *ranges = (uint32 *)fdt_getprop(fdt, parent, "ranges", (int *)&rangesSize); in dtb_get_reg() local
410 if (ranges == NULL) in dtb_get_reg()
420 childAddress = fdt32_to_cpu(*(uint32*)(ranges+rangesPos)); in dtb_get_reg()
422 childAddress = fdt64_to_cpu(*(uint64*)(ranges+rangesPos)); in dtb_get_reg()
427 parentAddress = fdt32_to_cpu(*(uint32*)(ranges+rangesPos)); in dtb_get_reg()
429 parentAddress = fdt64_to_cpu(*(uint64*)(ranges+rangesPos)); in dtb_get_reg()
434 rangeSize = fdt32_to_cpu(*(uint32*)(ranges+rangesPos)); in dtb_get_reg()
436 rangeSize = fdt64_to_cpu(*(uint64*)(ranges+rangesPos)); in dtb_get_reg()
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapWriter.cpp307 const ::BPrivate::RangeArray<uint64>& ranges) in RemoveDataRanges()
309 ssize_t rangeCount = ranges.CountRanges(); in RemoveDataRanges()
341 uint64 writeOffset = ranges[0].offset - ranges[0].offset % kChunkSize; in RemoveDataRanges()
344 const Range<uint64>& range = ranges[i]; in RemoveDataRanges()
/haiku/src/bin/
H A Dfstrim.cpp249 trimData.ranges[0].offset = offset; in main()
250 trimData.ranges[0].size = length; in main()
/haiku/headers/private/kernel/util/
H A Dfs_trim_support.h67 return user_memcpy(buffer, trimData, offsetof(fs_trim_data, ranges)); in copy_trim_data_to_user()
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.cpp495 uint64 offset = trimData->ranges[i].offset; in mmc_block_trim()
496 uint64& size = trimData->ranges[i].size; in mmc_block_trim()
506 uint64 offset = trimData->ranges[i].offset; in mmc_block_trim()
507 uint64 length = trimData->ranges[i].size; in mmc_block_trim()
514 length -= offset - trimData->ranges[i].offset; in mmc_block_trim()
/haiku/headers/private/package/hpkg/
H A DPackageFileHeapWriter.h53 ranges);
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_ns.c546 void *payload, uint16_t ranges, in nvme_ns_deallocate() argument
552 if (ranges == 0 || ranges > NVME_DATASET_MANAGEMENT_MAX_RANGES) in nvme_ns_deallocate()
556 ranges * sizeof(struct nvme_dsm_range), in nvme_ns_deallocate()
566 cmd->cdw10 = ranges - 1; in nvme_ns_deallocate()
/haiku/headers/private/drivers/
H A Dscsi_periph.h127 scsi_block_range* ranges, uint32 rangeCount, uint64* trimmedBlocks);
/haiku/headers/os/drivers/
H A DDrivers.h182 } ranges[1]; member
/haiku/headers/private/fs_shell/
H A Dfssh_drivers.h223 } ranges[1]; member
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp868 uint64 offset = trimData->ranges[i].offset; in nvme_disk_trim()
869 uint64& size = trimData->ranges[i].size; in nvme_disk_trim()
885 uint64 offset = trimData->ranges[i].offset; in nvme_disk_trim()
886 uint64 length = trimData->ranges[i].size; in nvme_disk_trim()
891 length -= offset - trimData->ranges[i].offset; in nvme_disk_trim()
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp548 uint64 offset = trimData->ranges[i].offset; in Trim()
549 uint64& size = trimData->ranges[i].size; in Trim()
559 uint64 offset = trimData->ranges[i].offset; in Trim()
560 uint64 length = trimData->ranges[i].size; in Trim()
567 length -= offset - trimData->ranges[i].offset; in Trim()
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/
H A Dscsi_disk.cpp181 uint64 startBytes = trimData->ranges[i].offset; in trim_device()
182 uint64 sizeBytes = trimData->ranges[i].size; in trim_device()
/haiku/src/bin/unzip/
H A Dzipgrep.txt42 the brackets; ranges are specified by a
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.cpp1371 trimData.ranges[trimData.range_count].offset = offset; in _AddTrim()
1372 trimData.ranges[trimData.range_count].size = size; in _AddTrim()
1395 trimData.ranges[i].offset, trimData.ranges[i].size); in _TrimNext()
/haiku/src/system/kernel/device_manager/
H A Ddevfs.cpp1497 trimData->ranges[i].offset, in devfs_ioctl()
1498 trimData->ranges[i].size); in devfs_ioctl()
1508 trimData->ranges[i].offset, in devfs_ioctl()
1509 trimData->ranges[i].size)) { in devfs_ioctl()
1520 trimData->ranges[i].offset, in devfs_ioctl()
1521 trimData->ranges[i].size); in devfs_ioctl()
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci.h66 Vector<pci_resource_range> ranges; member

12