ets.c
Include dependency graph for ets.c:
Defines
-
SMP_RDLOCK(table) smp_rwlock_rdlock(table->lock)
-
SMP_WRLOCK(table) smp_rwlock_wrlock(table->lock)
-
SMP_UNLOCK(table) smp_rwlock_unlock(table->lock)
Typedefs
-
typedef enum TableAccessType TableAccessType
Enums
Functions
-
static void ets_delete_all_tables(struct Ets *ets, GlobalContext *global)
-
static struct EtsTable *ets_get_table_by_ref(struct Ets *ets, uint64_t ref, TableAccessType access_type)
-
static struct EtsTable *ets_get_table_by_name(struct Ets *ets, term name, TableAccessType access_type)
-
void ets_init(struct Ets *ets)
-
void ets_destroy(struct Ets *ets, GlobalContext *global)
-
EtsErrorCode ets_create_table_maybe_gc(term name, bool is_named, EtsTableType table_type, EtsAccessType access_type, size_t keypos, term *ret, Context *ctx)
-
static void ets_table_destroy(struct EtsTable *table, GlobalContext *global)
-
static void ets_delete_tables_internal(struct Ets *ets, ets_table_filter_pred pred, void *data, GlobalContext *global)
-
void ets_delete_owned_tables(struct Ets *ets, int32_t process_id, GlobalContext *global)
-
static EtsErrorCode ets_table_lookup_maybe_gc(struct EtsTable *ets_table, term key, term *ret, Context *ctx, int num_roots, term *roots)
-
EtsErrorCode ets_lookup_element_maybe_gc(term name_or_ref, term key, size_t pos, term *ret, Context *ctx)
-
static EtsErrorCode ets_table_delete(struct EtsTable *ets_table, term key, term *ret, Context *ctx)
-
static bool operation_to_tuple4(term operation, size_t default_pos, term *position, term *increment, term *threshold, term *set_value)
-
struct EtsTable
Collaboration diagram for EtsTable: