Home
last modified time | relevance | path

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

/arch/powerpc/lib/
Drheap.c45 static int grow(rh_info_t * info, int max_blocks) in grow() argument
52 if (max_blocks <= info->max_blocks) in grow()
55 new_blocks = max_blocks - info->max_blocks; in grow()
57 block = kmalloc(sizeof(rh_block_t) * max_blocks, GFP_ATOMIC); in grow()
61 if (info->max_blocks > 0) { in grow()
65 sizeof(rh_block_t) * info->max_blocks); in grow()
71 blke = (unsigned long)(info->block + info->max_blocks); in grow()
73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow()
87 info->max_blocks = max_blocks; in grow()
91 blk = block + info->max_blocks - new_blocks; in grow()
[all …]
/arch/powerpc/include/asm/
Drheap.h28 int max_blocks; member
56 extern void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks,