Searched refs:pfree_head (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/blackfin/mm/
H A Dsram-alloc.c269 static void *_sram_alloc(size_t size, struct sram_piece *pfree_head, _sram_alloc() argument
274 if (size <= 0 || !pfree_head || !pused_head) _sram_alloc()
280 pslot = pfree_head->next; _sram_alloc()
281 plast = pfree_head; _sram_alloc()
326 static void *_sram_alloc_max(struct sram_piece *pfree_head, _sram_alloc_max() argument
332 if (!pfree_head || !pused_head) _sram_alloc_max()
335 pmax = pslot = pfree_head->next; _sram_alloc_max()
349 return _sram_alloc(*psize, pfree_head, pused_head); _sram_alloc_max()
354 struct sram_piece *pfree_head, _sram_free()
359 if (!pfree_head || !pused_head) _sram_free()
380 pslot = pfree_head->next; _sram_free()
381 plast = pfree_head; _sram_free()
388 if (plast != pfree_head && plast->paddr + plast->size == pavail->paddr) { _sram_free()
805 struct sram_piece *pfree_head, _sram_proc_show()
810 if (!pfree_head || !pused_head) _sram_proc_show()
826 pslot = pfree_head->next; _sram_proc_show()
353 _sram_free(const void *addr, struct sram_piece *pfree_head, struct sram_piece *pused_head) _sram_free() argument
804 _sram_proc_show(struct seq_file *m, const char *desc, struct sram_piece *pfree_head, struct sram_piece *pused_head) _sram_proc_show() argument

Completed in 39 milliseconds