Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 2105 → Rev 2106

/trunk/kernel/generic/include/mm/buddy.h
44,11 → 44,15
 
/** Buddy system operations to be implemented by each implementation. */
typedef struct {
/** Return pointer to left-side or right-side buddy for block passed as
* argument. */
/**
* Return pointer to left-side or right-side buddy for block passed as
* argument.
*/
link_t *(* find_buddy)(struct buddy_system *, link_t *);
/** Bisect the block passed as argument and return pointer to the new
* right-side buddy. */
/**
* Bisect the block passed as argument and return pointer to the new
* right-side buddy.
*/
link_t *(* bisect)(struct buddy_system *, link_t *);
/** Coalesce two buddies into a bigger block. */
link_t *(* coalesce)(struct buddy_system *, link_t *, link_t *);