Searched refs:mem_block (Results 1 – 4 of 4) sorted by relevance
42 static struct mem_block *split_block(struct mem_block *p, int start, int size, in split_block()47 struct mem_block *newblock = kmalloc(sizeof(*newblock), in split_block()64 struct mem_block *newblock = kmalloc(sizeof(*newblock), in split_block()84 static struct mem_block *alloc_block(struct mem_block *heap, int size, in alloc_block()87 struct mem_block *p; in alloc_block()99 static struct mem_block *find_block(struct mem_block *heap, int start) in find_block()101 struct mem_block *p; in find_block()110 static void free_block(struct mem_block *p) in free_block()118 struct mem_block *q = p->next; in free_block()126 struct mem_block *q = p->prev; in free_block()[all …]
167 struct mem_block { struct168 struct mem_block *next; argument169 struct mem_block *prev; argument262 struct mem_block *gart_heap;263 struct mem_block *fb_heap;393 extern void radeon_mem_takedown(struct mem_block **heap);395 struct mem_block *heap);
123 struct memory_block *mem_block; in lmb_to_memblock() local128 mem_block = find_memory_block(mem_sect); in lmb_to_memblock()129 return mem_block; in lmb_to_memblock()221 struct memory_block *mem_block; in dlpar_remove_lmb() local228 mem_block = lmb_to_memblock(lmb); in dlpar_remove_lmb()229 if (!mem_block) in dlpar_remove_lmb()232 rc = device_offline(&mem_block->dev); in dlpar_remove_lmb()233 put_device(&mem_block->dev); in dlpar_remove_lmb()389 struct memory_block *mem_block; in dlpar_add_lmb() local420 mem_block = lmb_to_memblock(lmb); in dlpar_add_lmb()[all …]
622 u32 mem_block = rx_desc & RX_MEM_BLOCK_MASK; in wl127x_prepare_read() local624 priv->rx_mem_addr->addr = (mem_block << 8) + in wl127x_prepare_read()