Lines Matching refs:rh_info_t
45 static int grow(rh_info_t * info, int max_blocks)
103 static int assure_empty(rh_info_t * info, int slots)
121 static rh_block_t *get_slot(rh_info_t * info)
145 static inline void release_slot(rh_info_t * info, rh_block_t * blk)
151 static void attach_free_block(rh_info_t * info, rh_block_t * blkn)
232 static void attach_taken_block(rh_info_t * info, rh_block_t * blkn)
253 rh_info_t *rh_create(unsigned int alignment)
255 rh_info_t *info;
285 void rh_destroy(rh_info_t * info)
300 void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks,
329 int rh_attach_region(rh_info_t * info, unsigned long start, int size)
370 unsigned long rh_detach_region(rh_info_t * info, unsigned long start, int size)
442 unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner)
517 unsigned long rh_alloc(rh_info_t * info, int size, const char *owner)
527 unsigned long rh_alloc_fixed(rh_info_t * info, unsigned long start, int size, const char *owner)
612 int rh_free(rh_info_t * info, unsigned long start)
641 int rh_get_stats(rh_info_t * info, int what, int max_stats, rh_stats_t * stats)
679 int rh_set_owner(rh_info_t * info, unsigned long start, const char *owner)
704 void rh_dump(rh_info_t * info)
740 void rh_dump_blk(rh_info_t * info, rh_block_t * blk)