Home
last modified time | relevance | path

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

/mm/
Dz3fold.c363 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx() argument
365 return (bud + zhdr->first_num) & BUDDY_MASK; in __idx()
374 enum buddy bud) in __encode_handle() argument
383 if (bud == HEADLESS) in __encode_handle()
387 idx = __idx(zhdr, bud); in __encode_handle()
389 if (bud == LAST) in __encode_handle()
396 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle() argument
398 return __encode_handle(zhdr, zhdr->slots, bud); in encode_handle()
870 enum buddy bud; in z3fold_alloc() local
880 bud = HEADLESS; in z3fold_alloc()
[all …]
Dzbud.c260 static unsigned long encode_handle(struct zbud_header *zhdr, enum buddy bud) in encode_handle() argument
271 if (bud == FIRST) in encode_handle()
359 enum buddy bud; in zbud_alloc() local
377 bud = FIRST; in zbud_alloc()
379 bud = LAST; in zbud_alloc()
392 bud = FIRST; in zbud_alloc()
395 if (bud == FIRST) in zbud_alloc()
414 *handle = encode_handle(zhdr, bud); in zbud_alloc()