Luna/libluna/include/luna
apio 95a33c484e
kernel+libc: Add a memstat() syscall
We can finally show memory usage in userspace.

This could have been done using sysfs, but I'm lazy and don't want to implement that. Maybe in the next release?
2023-08-17 20:15:32 +02:00
..
Alignment.h libluna: Move get_blocks_from_size to a new header and call it ceil_div instead 2023-08-08 11:58:33 +02:00
Alloc.h libluna: Remove make_array() and destroy_array() 2023-08-02 14:47:58 +02:00
Atomic.h luna -> libluna 2023-02-27 15:22:39 +01:00
Attributes.h luna -> libluna 2023-02-27 15:22:39 +01:00
Badge.h luna -> libluna 2023-02-27 15:22:39 +01:00
Base64.h libluna: Add Base64 encoding and decoding code 2023-04-26 20:57:48 +02:00
Bitmap.h luna -> libluna 2023-02-27 15:22:39 +01:00
Buffer.h kernel+libluna: Add Buffer::dequeue_data() 2023-07-30 11:33:05 +02:00
Check.h luna -> libluna 2023-02-27 15:22:39 +01:00
CircularQueue.h libluna: Add CircularQueue::is_empty() 2023-08-02 11:55:08 +02:00
Common.h libluna: Add max() and min() 2023-08-08 12:39:03 +02:00
CPath.h libc: Add libgen.h 2023-03-28 19:47:47 +02:00
CRC32.h libluna+kernel: Make CRC32 a class 2023-08-15 19:27:09 +02:00
CString.h libc+libluna: Add case-insensitive string comparison functions 2023-07-22 11:58:28 +02:00
CType.h luna -> libluna 2023-02-27 15:22:39 +01:00
DebugLog.h luna -> libluna 2023-02-27 15:22:39 +01:00
Format.h luna: Adjust cstyle_format's description 2023-03-02 13:40:42 +01:00
Hash.h libluna: Add HashTable 2023-06-15 15:50:04 +02:00
HashMap.h kernel: Handle OOMs better and without deadlocking 2023-08-17 20:14:33 +02:00
HashTable.h kernel: Handle OOMs better and without deadlocking 2023-08-17 20:14:33 +02:00
Heap.h libluna: Allow callers to optimize heap allocations by telling us they won't resize the returned memory 2023-04-27 17:36:25 +02:00
Ignore.h luna -> libluna 2023-02-27 15:22:39 +01:00
LinkedList.h kernel: Fix AddressSpace's move assignment operator 2023-07-09 20:43:03 +02:00
Move.h luna -> libluna 2023-02-27 15:22:39 +01:00
NumberParsing.h libluna: Allow passing a base to scan_(un)signed_integer() 2023-06-19 00:58:02 +02:00
Option.h kernel: Remove FileDescriptorTable and add a helper to resolve fds to FileDescriptors 2023-03-12 13:57:38 +01:00
OwnedPtr.h luna -> libluna 2023-02-27 15:22:39 +01:00
PathParser.h libluna: Add a variant of PathParser::join() for relative paths 2023-07-02 16:38:12 +02:00
PlacementNew.h luna -> libluna 2023-02-27 15:22:39 +01:00
Result.h libluna: Remove EFIXME and make others declare error_string() and error_name() 2023-05-02 10:51:53 +02:00
SafeArithmetic.h luna -> libluna 2023-02-27 15:22:39 +01:00
ScopeGuard.h luna -> libluna 2023-02-27 15:22:39 +01:00
SharedPtr.h libluna/SharedPtr: Count references with separately created objects properly 2023-08-03 10:32:22 +02:00
Slice.h libluna: Allow constructing a Slice from another one with a different pointer type 2023-04-26 20:41:24 +02:00
Sort.h libluna: Add a sort() function 2023-05-02 20:56:27 +02:00
SourceLocation.h luna -> libluna 2023-02-27 15:22:39 +01:00
Spinlock.h luna -> libluna 2023-02-27 15:22:39 +01:00
Stack.h kernel: Don't create a new kernel stack on exec() 2023-07-12 16:06:56 +02:00
StaticString.h libluna: Add max() and min() 2023-08-08 12:39:03 +02:00
String.h sh: Add a system to easily add flexible shell builtins 2023-07-21 20:44:01 +02:00
StringBuilder.h libluna: Add StringBuilder 2023-04-07 11:53:52 +02:00
StringView.h sh: Add a system to easily add flexible shell builtins 2023-07-21 20:44:01 +02:00
Syscall.h kernel+libc: Add a memstat() syscall 2023-08-17 20:15:32 +02:00
SystemError.h libluna: Add a bunch more errno definitions 2023-08-11 17:59:41 +02:00
TarStream.h kernel+tools: Allow loading files with different owners + add a more dynamic install script 2023-05-06 12:11:35 +02:00
Types.h libluna: Add a #pragma once to Types.h 2023-06-17 12:04:47 +02:00
TypeTraits.h luna -> libluna 2023-02-27 15:22:39 +01:00
UBSAN.h UBSAN: Add __ubsan_handle_nonnull_arg 2023-04-07 11:53:19 +02:00
Units.h libluna: Add more options to to_dynamic_unit() 2023-05-13 12:01:09 +02:00
Utf8.h libluna: Simplify the API for Utf8StateDecoder by splitting it into multiple methods 2023-06-18 18:38:01 +02:00
Vector.h libluna: Add release_data() overloads to Buffer and Vector 2023-07-02 19:29:04 +02:00