Lines Matching defs:StackDepotNode
19 struct StackDepotNode { struct
20 StackDepotNode *link;
21 u32 id;
22 atomic_uint32_t hash_and_use_count; // hash_bits : 12; use_count : 20;
23 u32 size;
24 u32 tag;
25 uptr stack[1]; // [size]
27 static const u32 kTabSizeLog = 20;
30 static const u32 kUseCountBits = kTabSizeLog;
31 static const u32 kMaxUseCount = 1 << kUseCountBits;
32 static const u32 kUseCountMask = (1 << kUseCountBits) - 1;
33 static const u32 kHashMask = ~kUseCountMask;
35 typedef StackTrace args_type;
36 bool eq(u32 hash, const args_type &args) const { in eq()
47 static uptr storage_size(const args_type &args) { in storage_size()
50 static u32 hash(const args_type &args) { in hash()
69 static bool is_valid(const args_type &args) { in is_valid()
72 void store(const args_type &args, u32 hash) { in store()
78 args_type load() const { in load()
81 StackDepotHandle get_handle() { return StackDepotHandle(this); } in get_handle()
83 typedef StackDepotHandle handle_type;