Changeset cfa43b8 in mainline


Ignore:
Timestamp:
2005-11-06T17:15:22Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd7a87d
Parents:
894498c
Message:

Add some comments for buddy system operations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/buddy.h

    r894498c rcfa43b8  
    3636
    3737struct buddy_system_operations {
    38         link_t *(* find_buddy)(link_t *);
    39         link_t *(* bisect)(link_t *);
    40         link_t *(* coalesce)(link_t *, link_t *);
    41         void (*set_order)(link_t *, __u8);
    42         __u8 (*get_order)(link_t *);
     38        link_t *(* find_buddy)(link_t *);               /**< Return pointer to left-side or right-side buddy for block passed as argument. */
     39        link_t *(* bisect)(link_t *);                   /**< Bisect the block passed as argument and return pointer to the new right-side buddy. */
     40        link_t *(* coalesce)(link_t *, link_t *);       /**< Coalesce to buddies into a bigger block. */
     41        void (*set_order)(link_t *, __u8);              /**< Set order of block passed as argument. */
     42        __u8 (*get_order)(link_t *);                    /**< Return order of block passed as argument. */
    4343};
    4444
Note: See TracChangeset for help on using the changeset viewer.