PatchworkOS
Loading...
Searching...
No Matches
map_t Struct Reference

Hash map structure. More...

#include <map.h>

Data Fields

map_entry_t ** entries
 
uint64_t capacity
 
uint64_t length
 
uint64_t tombstones
 

Detailed Description

Hash map structure.

The entries can be safely iterated over as an array as long sa the MAP_ENTRY_PTR_IS_VALID macro is used to check each entry before dereferencing it.

Definition at line 75 of file map.h.

Field Documentation

◆ capacity

uint64_t map_t::capacity

Definition at line 78 of file map.h.

Referenced by futex_ctx_deinit(), and namespace_deinit().

◆ entries

map_entry_t** map_t::entries

Definition at line 77 of file map.h.

Referenced by futex_ctx_deinit(), and namespace_deinit().

◆ length

uint64_t map_t::length

Definition at line 79 of file map.h.

◆ tombstones

uint64_t map_t::tombstones

Definition at line 80 of file map.h.


The documentation for this struct was generated from the following file: