Home
last modified time | relevance | path

Searched refs:BA_ORDER (Results 1 – 1 of 1) sorted by relevance

/bionic/linker/
Dba.c37 #define BA_ORDER(index) ba->bitmap[index].order macro
38 #define BA_BUDDY_INDEX(index) ((index) ^ (1 << BA_ORDER(index)))
39 #define BA_NEXT_INDEX(index) ((index) + (1 << BA_ORDER(index)))
42 #define BA_LEN(index) ((1 << BA_ORDER(index)) * ba->min_alloc)
56 BA_ORDER(index) = i; in ba_init()
75 BA_ORDER(buddy) == BA_ORDER(curr)) { in ba_free()
76 BA_ORDER(buddy)++; in ba_free()
77 BA_ORDER(curr)++; in ba_free()
115 if (BA_ORDER(curr) == (unsigned char)order) { in ba_allocate()
120 if (BA_ORDER(curr) > (unsigned char)order && in ba_allocate()
[all …]