Searched refs:BA_ORDER (Results 1 – 1 of 1) sorted by relevance
59 #define BA_ORDER(index) ba.bitmap[index].order macro60 #define BA_BUDDY_INDEX(index) ((index) ^ (1 << BA_ORDER(index)))61 #define BA_NEXT_INDEX(index) ((index) + (1 << BA_ORDER(index)))64 #define BA_LEN(index) ((1 << BA_ORDER(index)) * BA_MIN_ALLOC)80 BA_ORDER(index) = i; in ba_init()99 BA_ORDER(buddy) == BA_ORDER(curr)) { in ba_free()100 BA_ORDER(buddy)++; in ba_free()101 BA_ORDER(curr)++; in ba_free()139 if (BA_ORDER(curr) == (unsigned char)order) { in ba_allocate()144 if (BA_ORDER(curr) > (unsigned char)order && in ba_allocate()[all …]