/haiku/src/system/boot/loader/ |
H A D | kernel_args.cpp | 42 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 D | addr_range.h | 23 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 D | arch_vm.cpp | 201 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 D | block.cpp | 466 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 D | scsi_periph_int.h | 94 scsi_block_range* ranges, uint32 rangeCount, uint64* trimmedBlocks);
|
/haiku/src/kits/debugger/dwarf/ |
H A D | CompilationUnit.cpp | 59 CompilationUnit::SetAddressRanges(TargetAddressRangeList* ranges) in SetAddressRanges() argument 64 fAddressRanges = ranges; in SetAddressRanges()
|
H A D | CompilationUnit.h | 39 TargetAddressRangeList* ranges);
|
H A D | DebugInfoEntry.h | 147 DECLARE_DEBUG_INFO_ENTRY_ATTR_SETTER(ranges)
|
/haiku/src/system/boot/platform/efi/ |
H A D | dtb.cpp | 409 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 D | PackageFileHeapWriter.cpp | 307 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 D | fstrim.cpp | 249 trimData.ranges[0].offset = offset; in main() 250 trimData.ranges[0].size = length; in main()
|
/haiku/headers/private/kernel/util/ |
H A D | fs_trim_support.h | 67 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 D | mmc_disk.cpp | 495 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 D | PackageFileHeapWriter.h | 53 ranges);
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_ns.c | 546 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 D | scsi_periph.h | 127 scsi_block_range* ranges, uint32 rangeCount, uint64* trimmedBlocks);
|
/haiku/headers/os/drivers/ |
H A D | Drivers.h | 182 } ranges[1]; member
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_drivers.h | 223 } ranges[1]; member
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/ |
H A D | nvme_disk.cpp | 868 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 D | ram_disk.cpp | 548 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 D | scsi_disk.cpp | 181 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 D | zipgrep.txt | 42 the brackets; ranges are specified by a
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BlockAllocator.cpp | 1371 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 D | devfs.cpp | 1497 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 D | pci.h | 66 Vector<pci_resource_range> ranges; member
|