Lines Matching defs:StackDepotNode
21 struct StackDepotNode { struct
22 StackDepotNode *link;
23 u32 id;
24 atomic_uint32_t hash_and_use_count; // hash_bits : 12; use_count : 20;
25 u32 size;
26 u32 tag;
27 uptr stack[1]; // [size]
29 static const u32 kTabSizeLog = 20;
32 static const u32 kUseCountBits = kTabSizeLog;
33 static const u32 kMaxUseCount = 1 << kUseCountBits;
34 static const u32 kUseCountMask = (1 << kUseCountBits) - 1;
35 static const u32 kHashMask = ~kUseCountMask;
37 typedef StackTrace args_type;
38 bool eq(u32 hash, const args_type &args) const { in eq()
49 static uptr storage_size(const args_type &args) { in storage_size()
52 static u32 hash(const args_type &args) { in hash()
71 static bool is_valid(const args_type &args) { in is_valid()
74 void store(const args_type &args, u32 hash) { in store()
80 args_type load() const { in load()
83 StackDepotHandle get_handle() { return StackDepotHandle(this); } in get_handle()
85 typedef StackDepotHandle handle_type;