ets.h
Include dependency graph for ets.h:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"3" [label="stdbool.h" tooltip="stdbool.h"]
"14" [label="assert.h" tooltip="assert.h"]
"4" [label="synclist.h" tooltip="synclist.h"]
"8" [label="stdint.h" tooltip="stdint.h"]
"9" [label="stdlib.h" tooltip="stdlib.h"]
"17" [label="utils.h" tooltip="utils.h"]
"1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets.h" fillcolor="#BFBFBF"]
"13" [label="term_typedef.h" tooltip="term_typedef.h"]
"18" [label="stddef.h" tooltip="stddef.h"]
"15" [label="limits.h" tooltip="limits.h"]
"19" [label="refc_binary.h" tooltip="refc_binary.h"]
"10" [label="string.h" tooltip="string.h"]
"7" [label="term.h" tooltip="term.h"]
"12" [label="erl_nif.h" tooltip="erl_nif.h"]
"20" [label="resources.h" tooltip="resources.h"]
"6" [label="smp.h" tooltip="smp.h"]
"11" [label="memory.h" tooltip="memory.h"]
"5" [label="stdio.h" tooltip="stdio.h"]
"16" [label="inttypes.h" tooltip="inttypes.h"]
"2" [label="list.h" tooltip="list.h"]
"4" -> "5" [dir=forward tooltip="include"]
"4" -> "2" [dir=forward tooltip="include"]
"4" -> "6" [dir=forward tooltip="include"]
"17" -> "18" [dir=forward tooltip="include"]
"17" -> "5" [dir=forward tooltip="include"]
"17" -> "9" [dir=forward tooltip="include"]
"1" -> "2" [dir=forward tooltip="include"]
"1" -> "4" [dir=forward tooltip="include"]
"1" -> "7" [dir=forward tooltip="include"]
"13" -> "14" [dir=forward tooltip="include"]
"13" -> "15" [dir=forward tooltip="include"]
"13" -> "16" [dir=forward tooltip="include"]
"13" -> "8" [dir=forward tooltip="include"]
"19" -> "3" [dir=forward tooltip="include"]
"19" -> "9" [dir=forward tooltip="include"]
"19" -> "2" [dir=forward tooltip="include"]
"19" -> "20" [dir=forward tooltip="include"]
"7" -> "3" [dir=forward tooltip="include"]
"7" -> "8" [dir=forward tooltip="include"]
"7" -> "5" [dir=forward tooltip="include"]
"7" -> "9" [dir=forward tooltip="include"]
"7" -> "10" [dir=forward tooltip="include"]
"7" -> "11" [dir=forward tooltip="include"]
"7" -> "19" [dir=forward tooltip="include"]
"7" -> "17" [dir=forward tooltip="include"]
"7" -> "13" [dir=forward tooltip="include"]
"12" -> "13" [dir=forward tooltip="include"]
"20" -> "9" [dir=forward tooltip="include"]
"20" -> "12" [dir=forward tooltip="include"]
"20" -> "2" [dir=forward tooltip="include"]
"20" -> "11" [dir=forward tooltip="include"]
"6" -> "3" [dir=forward tooltip="include"]
"11" -> "8" [dir=forward tooltip="include"]
"11" -> "9" [dir=forward tooltip="include"]
"11" -> "12" [dir=forward tooltip="include"]
"11" -> "13" [dir=forward tooltip="include"]
"11" -> "17" [dir=forward tooltip="include"]
"2" -> "3" [dir=forward tooltip="include"]
}](../../../_images/graphviz-ad3ce7960a4e8a90318e31ec65576118d7833319.png)
This graph shows which files directly or indirectly include ets.h:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"11" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.c"]
"47" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/dictionary.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/dictionary.c"]
"10" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.h"]
"31" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h"]
"19" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.c"]
"50" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.h"]
"46" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/defaultatoms.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/defaultatoms.h"]
"25" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.c"]
"24" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.h"]
"44" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/scheduler.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/scheduler.h"]
"8" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.c"]
"9" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.h"]
"42" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.c"]
"43" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.h"]
"2" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets.c"]
"1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets.h" fillcolor="#BFBFBF"]
"33" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.c"]
"32" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.h"]
"20" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/refc_binary.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/refc_binary.c"]
"45" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/mailbox.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/mailbox.c"]
"12" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.c"]
"30" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.h"]
"5" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.c"]
"4" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.h"]
"29" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/term.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/term.c"]
"27" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.c"]
"18" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.c"]
"23" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.h"]
"39" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.h"]
"41" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/portnifloader.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/portnifloader.c"]
"40" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/portnifloader.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/portnifloader.h"]
"21" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/resources.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/resources.c"]
"28" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.c"]
"36" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.h"]
"26" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.c"]
"49" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets_hashtable.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets_hashtable.c"]
"37" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.h"]
"48" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets_hashtable.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/ets_hashtable.h"]
"16" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/erl_nif_priv.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/erl_nif_priv.h"]
"34" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys.h"]
"7" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.c"]
"35" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.h"]
"14" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.c"]
"13" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.h"]
"6" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.c"]
"3" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.h"]
"15" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.c"]
"17" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.c"]
"38" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.h"]
"22" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.c"]
"10" -> "11" [dir=back tooltip="include"]
"10" -> "12" [dir=back tooltip="include"]
"10" -> "7" [dir=back tooltip="include"]
"31" -> "7" [dir=back tooltip="include"]
"50" -> "6" [dir=back tooltip="include"]
"50" -> "7" [dir=back tooltip="include"]
"50" -> "17" [dir=back tooltip="include"]
"50" -> "19" [dir=back tooltip="include"]
"46" -> "11" [dir=back tooltip="include"]
"46" -> "47" [dir=back tooltip="include"]
"46" -> "2" [dir=back tooltip="include"]
"46" -> "6" [dir=back tooltip="include"]
"46" -> "27" [dir=back tooltip="include"]
"46" -> "7" [dir=back tooltip="include"]
"46" -> "28" [dir=back tooltip="include"]
"46" -> "26" [dir=back tooltip="include"]
"46" -> "17" [dir=back tooltip="include"]
"46" -> "18" [dir=back tooltip="include"]
"46" -> "42" [dir=back tooltip="include"]
"46" -> "43" [dir=back tooltip="include"]
"46" -> "19" [dir=back tooltip="include"]
"46" -> "21" [dir=back tooltip="include"]
"46" -> "33" [dir=back tooltip="include"]
"24" -> "25" [dir=back tooltip="include"]
"24" -> "26" [dir=back tooltip="include"]
"24" -> "17" [dir=back tooltip="include"]
"24" -> "18" [dir=back tooltip="include"]
"44" -> "6" [dir=back tooltip="include"]
"44" -> "45" [dir=back tooltip="include"]
"44" -> "7" [dir=back tooltip="include"]
"44" -> "17" [dir=back tooltip="include"]
"9" -> "10" [dir=back tooltip="include"]
"9" -> "8" [dir=back tooltip="include"]
"9" -> "13" [dir=back tooltip="include"]
"9" -> "16" [dir=back tooltip="include"]
"9" -> "2" [dir=back tooltip="include"]
"9" -> "22" [dir=back tooltip="include"]
"9" -> "6" [dir=back tooltip="include"]
"9" -> "23" [dir=back tooltip="include"]
"9" -> "15" [dir=back tooltip="include"]
"9" -> "12" [dir=back tooltip="include"]
"9" -> "30" [dir=back tooltip="include"]
"9" -> "7" [dir=back tooltip="include"]
"9" -> "35" [dir=back tooltip="include"]
"9" -> "28" [dir=back tooltip="include"]
"9" -> "26" [dir=back tooltip="include"]
"9" -> "17" [dir=back tooltip="include"]
"9" -> "18" [dir=back tooltip="include"]
"9" -> "42" [dir=back tooltip="include"]
"9" -> "43" [dir=back tooltip="include"]
"9" -> "40" [dir=back tooltip="include"]
"9" -> "20" [dir=back tooltip="include"]
"9" -> "21" [dir=back tooltip="include"]
"9" -> "44" [dir=back tooltip="include"]
"9" -> "32" [dir=back tooltip="include"]
"9" -> "29" [dir=back tooltip="include"]
"43" -> "25" [dir=back tooltip="include"]
"43" -> "7" [dir=back tooltip="include"]
"43" -> "26" [dir=back tooltip="include"]
"43" -> "17" [dir=back tooltip="include"]
"43" -> "18" [dir=back tooltip="include"]
"43" -> "42" [dir=back tooltip="include"]
"1" -> "2" [dir=back tooltip="include"]
"1" -> "3" [dir=back tooltip="include"]
"1" -> "7" [dir=back tooltip="include"]
"32" -> "33" [dir=back tooltip="include"]
"30" -> "10" [dir=back tooltip="include"]
"30" -> "12" [dir=back tooltip="include"]
"30" -> "7" [dir=back tooltip="include"]
"30" -> "31" [dir=back tooltip="include"]
"30" -> "32" [dir=back tooltip="include"]
"30" -> "34" [dir=back tooltip="include"]
"30" -> "29" [dir=back tooltip="include"]
"4" -> "5" [dir=back tooltip="include"]
"4" -> "6" [dir=back tooltip="include"]
"4" -> "7" [dir=back tooltip="include"]
"23" -> "24" [dir=back tooltip="include"]
"23" -> "27" [dir=back tooltip="include"]
"23" -> "7" [dir=back tooltip="include"]
"23" -> "28" [dir=back tooltip="include"]
"23" -> "26" [dir=back tooltip="include"]
"23" -> "17" [dir=back tooltip="include"]
"23" -> "18" [dir=back tooltip="include"]
"23" -> "19" [dir=back tooltip="include"]
"23" -> "29" [dir=back tooltip="include"]
"39" -> "18" [dir=back tooltip="include"]
"40" -> "41" [dir=back tooltip="include"]
"36" -> "28" [dir=back tooltip="include"]
"37" -> "26" [dir=back tooltip="include"]
"48" -> "2" [dir=back tooltip="include"]
"48" -> "49" [dir=back tooltip="include"]
"16" -> "8" [dir=back tooltip="include"]
"16" -> "6" [dir=back tooltip="include"]
"16" -> "15" [dir=back tooltip="include"]
"16" -> "17" [dir=back tooltip="include"]
"16" -> "18" [dir=back tooltip="include"]
"16" -> "19" [dir=back tooltip="include"]
"16" -> "20" [dir=back tooltip="include"]
"16" -> "21" [dir=back tooltip="include"]
"34" -> "8" [dir=back tooltip="include"]
"34" -> "6" [dir=back tooltip="include"]
"34" -> "12" [dir=back tooltip="include"]
"34" -> "7" [dir=back tooltip="include"]
"34" -> "17" [dir=back tooltip="include"]
"34" -> "21" [dir=back tooltip="include"]
"35" -> "12" [dir=back tooltip="include"]
"35" -> "7" [dir=back tooltip="include"]
"35" -> "28" [dir=back tooltip="include"]
"35" -> "36" [dir=back tooltip="include"]
"35" -> "26" [dir=back tooltip="include"]
"35" -> "37" [dir=back tooltip="include"]
"35" -> "17" [dir=back tooltip="include"]
"35" -> "38" [dir=back tooltip="include"]
"35" -> "18" [dir=back tooltip="include"]
"35" -> "39" [dir=back tooltip="include"]
"35" -> "40" [dir=back tooltip="include"]
"35" -> "19" [dir=back tooltip="include"]
"13" -> "14" [dir=back tooltip="include"]
"13" -> "15" [dir=back tooltip="include"]
"3" -> "4" [dir=back tooltip="include"]
"3" -> "8" [dir=back tooltip="include"]
"3" -> "9" [dir=back tooltip="include"]
"3" -> "46" [dir=back tooltip="include"]
"3" -> "48" [dir=back tooltip="include"]
"3" -> "6" [dir=back tooltip="include"]
"3" -> "15" [dir=back tooltip="include"]
"3" -> "12" [dir=back tooltip="include"]
"3" -> "30" [dir=back tooltip="include"]
"3" -> "7" [dir=back tooltip="include"]
"3" -> "28" [dir=back tooltip="include"]
"3" -> "26" [dir=back tooltip="include"]
"3" -> "37" [dir=back tooltip="include"]
"3" -> "17" [dir=back tooltip="include"]
"3" -> "38" [dir=back tooltip="include"]
"3" -> "18" [dir=back tooltip="include"]
"3" -> "39" [dir=back tooltip="include"]
"3" -> "42" [dir=back tooltip="include"]
"3" -> "43" [dir=back tooltip="include"]
"3" -> "40" [dir=back tooltip="include"]
"3" -> "19" [dir=back tooltip="include"]
"3" -> "50" [dir=back tooltip="include"]
"3" -> "44" [dir=back tooltip="include"]
"3" -> "33" [dir=back tooltip="include"]
"3" -> "34" [dir=back tooltip="include"]
"38" -> "17" [dir=back tooltip="include"]
"38" -> "18" [dir=back tooltip="include"]
}](../../../_images/graphviz-a59e3e67331ffce78be4647d50fb16d40225c752.png)
Typedefs
-
typedef enum EtsTableType EtsTableType
-
typedef enum EtsAccessType EtsAccessType
-
typedef enum EtsErrorCode EtsErrorCode
Enums
-
enum EtsTableType
Values:
-
enumerator EtsTableSet
-
enumerator EtsTableOrderedSet
-
enumerator EtsTableBag
-
enumerator EtsTableDuplicateBag
-
enumerator EtsTableSet
Functions
-
void ets_destroy(struct Ets *ets, GlobalContext *global)
-
EtsErrorCode ets_create_table(term name, bool is_named, EtsTableType table_type, EtsAccessType access_type, size_t keypos, term *ret, Context *ctx)
-
void ets_delete_owned_tables(struct Ets *ets, int32_t process_id, GlobalContext *global)
-
EtsErrorCode ets_insert(term ref, term entry, Context *ctx)
-
EtsErrorCode ets_lookup(term ref, term key, term *ret, Context *ctx)
-
EtsErrorCode ets_lookup_element(term ref, term key, size_t pos, term *ret, Context *ctx)
-
EtsErrorCode ets_delete(term ref, term key, term *ret, Context *ctx)