Rename edata_tree_t -> edata_avail_t.
This isn't a tree any more, and it mildly irritates me any time I see it.
This commit is contained in:
committed by
David Goldblatt
parent
95f0a77fde
commit
b4c37a6e81
@@ -69,7 +69,7 @@ struct edata_map_info_s {
|
||||
|
||||
/* Extent (span of pages). Use accessor functions for e_* fields. */
|
||||
typedef struct edata_s edata_t;
|
||||
typedef ph(edata_t) edata_tree_t;
|
||||
typedef ph(edata_t) edata_avail_t;
|
||||
typedef ph(edata_t) edata_heap_t;
|
||||
typedef ph(edata_t) edata_age_heap_t;
|
||||
struct edata_s {
|
||||
@@ -723,7 +723,7 @@ edata_age_comp(const edata_t *a, const edata_t *b) {
|
||||
return edata_snad_comp(a, b);
|
||||
}
|
||||
|
||||
ph_proto(, edata_avail_, edata_tree_t, edata_t)
|
||||
ph_proto(, edata_avail_, edata_avail_t, edata_t)
|
||||
ph_proto(, edata_heap_, edata_heap_t, edata_t)
|
||||
ph_proto(, edata_age_heap_, edata_age_heap_t, edata_t);
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
typedef struct edata_cache_s edata_cache_t;
|
||||
struct edata_cache_s {
|
||||
edata_tree_t avail;
|
||||
edata_avail_t avail;
|
||||
atomic_zu_t count;
|
||||
malloc_mutex_t mtx;
|
||||
base_t *base;
|
||||
|
Reference in New Issue
Block a user