haiku/headers/private/kernel
François Revol 495efc382b loader: Drop the HashMap for partition lookup by id
The HashMap constructor was called before the heap is initialized,
ending up calling malloc from the OpenHashMap constructor.

Oddly it was still working on x86 but broke other platforms.

Instead we add a Lookup() static method to Partition,
which by default walks gPartitions for the id,
and recursively calls itself on the children lists.

This means we must add a partition even temporarily to gPartitions
before Scan()ing it though.

Signed-off-by: François Revol <revol@free.fr>
2016-09-02 19:02:33 +12:00
..
arch system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
boot loader: Drop the HashMap for partition lookup by id 2016-09-02 19:02:33 +12:00
disk_device_manager disk device manager: check that partitions are unmounted before uninitializing. 2014-10-28 23:52:57 +01:00
fs
platform U-Boot: add a 'physical' arg to fdt_get_device_reg() 2016-02-26 22:58:17 +01:00
posix
slab
util Add operator delete(void *, size_t) for C++14. 2015-11-08 00:38:20 +01:00
vm vm_soft_fault(): Avoid deadlock waiting for wired ranges 2014-10-29 12:37:25 +01:00
AllocationTracking.h
block_cache.h
boot_device.h
boot_item.h
boot_splash.h
commpage.h commpage: randomize position of commpage 2013-04-04 15:27:22 +02:00
condition_variable.h kernel: Remove gSchedulerLock 2013-11-08 02:41:26 +01:00
console.h
cpu.h kernel: fix missing SMP_MAX_CPUS on non-x86 2014-01-19 14:09:51 -06:00
debug_heap.h
debug_hex_dump.h Add a hex dump utility for use in KDL commands 2013-11-25 12:45:36 +01:00
debug_paranoia.h
debug.h syslog_daemon: Converted to BServer. 2015-07-22 20:40:47 +02:00
debugger_keymaps.h Add missing pipe character in KDL keymap. 2014-01-27 10:57:11 +01:00
DPC.h kernel: DPC: remove schedulerLocked argument 2013-11-04 23:51:18 +01:00
elf_priv.h system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
elf.h system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
file_cache.h Clean up various whitespace and fix one header guard. 2015-08-02 23:19:07 +02:00
frame_buffer_console.h
generic_syscall.h
heap.h
int.h x86[_64]: Support assigning MSI IRQs to arbitrary CPU 2013-12-20 01:07:08 +01:00
kdevice_manager.h
kdriver_settings.h
kernel_c++_structs.h
kernel_daemon.h
kernel.h kernel: Toggle not toogle; no functional change 2014-05-20 18:36:30 -05:00
kimage.h
kmodule.h
kscheduler.h kernel: Remove cpu_info::load 2014-01-03 19:44:57 +01:00
ksignal.h Revert "Add sys/ucontext.h" 2014-08-09 20:18:05 +02:00
ksyscalls.h
ksystem_info.h kernel, libroot: Introduce new API for obtaining system info 2013-12-16 03:58:43 +01:00
listeners.h kernel: Remove gSchedulerLock 2013-11-08 02:41:26 +01:00
load_tracking.h kernel: Adjust load tracking interval 2014-02-06 03:23:28 +01:00
lock.h kernel/x86: Inline atomic functions and memory barriers 2014-01-06 09:08:53 +01:00
low_resource_manager.h
messaging.h
MessagingServiceDefs.h Remove remaining unnecessary 'volatile' qualifiers 2013-11-06 00:03:07 +01:00
Notifications.h More useless inclusions of khash.h 2015-01-12 18:23:45 +01:00
port.h Reduce lock contention in kernel port subsystem. 2013-10-26 16:10:03 +02:00
real_time_clock.h
safemode.h safemode.h: make it usable from C code. 2014-10-28 23:52:22 +01:00
scheduling_analysis.h Use B_PRId32. 2015-04-01 20:18:00 +02:00
sem.h
smp.h kernel: Add CPUSet::{Clear, Set}BitAtomic() functions 2014-01-24 13:59:58 +01:00
syscall_restart.h trim: Added is_called_via_syscall() function. 2013-11-07 19:06:13 +01:00
system_profiler.h kernel: profile system when SYSTEM_PROFILER is defined. 2015-07-22 20:39:52 +02:00
team.h kernel: Remove gSchedulerLock 2013-11-08 02:41:26 +01:00
thread_types.h Assorted whitespace cleanup and typo fixes. 2015-08-20 21:54:41 +02:00
thread.h Assorted whitespace cleanup and typo fixes. 2015-08-20 21:54:41 +02:00
timer.h kernel: Remove B_TIMER_ACQUIRE_SCHEDULER_LOCK flag 2013-10-31 01:49:43 +01:00
tracing.h
user_atomic.h arm/atomic: round of atomic function changes 2014-02-15 11:46:12 +01:00
user_debugger.h syscalls: Add get_stack_trace and lookup_symbol syscalls. 2015-04-10 16:00:49 +02:00
user_mutex.h Reimplement unnamed POSIX semaphores using user_mutex 2015-05-24 14:03:40 +01:00
UserEvent.h kernel: Fix missing reference release in CreateThreadEvent. 2014-11-01 16:32:04 +01:00
usergroup.h
UserTimer.h kernel: Workaround for double lock of spinlock in user timers. 2014-10-29 00:25:37 +01:00
vfs.h NodeMonitor: Resolve mount points for B_WATCH_CHILDREN. 2016-03-28 14:31:27 +02:00
wait_for_objects.h Remove remaining unnecessary 'volatile' qualifiers 2013-11-06 00:03:07 +01:00