OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kL2Size
(Results
1 - 2
of
2
) sorted by relevancy
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_dense_alloc.h
33
template<typename T, uptr kL1Size, uptr
kL2Size
> friend class DenseSlabAlloc;
36
template<typename T, uptr kL1Size, uptr
kL2Size
>
43
// Check that kL1Size and
kL2Size
are sane.
45
CHECK_EQ(
kL2Size
& (
kL2Size
- 1), 0);
46
CHECK_GE(1ull << (sizeof(IndexT) * 8), kL1Size *
kL2Size
);
58
UnmapOrDie(map_[i],
kL2Size
* sizeof(T));
77
DCHECK_LE(idx, kL1Size *
kL2Size
);
78
return &map_[idx /
kL2Size
][idx %
kL2Size
];
[
all
...]
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_deadlock_detector2.cc
29
const int
kL2Size
= 1024;
30
const int kMaxMutex = kL1Size *
kL2Size
;
157
return &mutex[id /
kL2Size
][id %
kL2Size
];
165
if (m >= tab && m < tab +
kL2Size
)
166
return i *
kL2Size
+ (m - tab);
179
if ((id_gen %
kL2Size
) == 0) {
180
mutex[id_gen /
kL2Size
] = (Mutex*)MmapOrDie(
kL2Size
* sizeof(Mutex),
Completed in 14 milliseconds
Indexes created Mon Oct 13 16:09:52 GMT 2025