mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-10 15:06:24 +03:00
Extent -> Eset: Move extent fit functions.
This commit is contained in:
parent
1210af9a4e
commit
77bbb35a92
3 changed files with 119 additions and 120 deletions
|
|
@ -72,5 +72,11 @@ size_t eset_nbytes_get(eset_t *eset, pszind_t ind);
|
|||
|
||||
void eset_insert_locked(tsdn_t *tsdn, eset_t *eset, extent_t *extent);
|
||||
void eset_remove_locked(tsdn_t *tsdn, eset_t *eset, extent_t *extent);
|
||||
/*
|
||||
* Select an extent from this eset of the given size and alignment. Returns
|
||||
* null if no such item could be found.
|
||||
*/
|
||||
extent_t *eset_fit_locked(tsdn_t *tsdn, eset_t *eset, size_t esize,
|
||||
size_t alignment);
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_ESET_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue