Home
last modified time | relevance | path

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

/arch/blackfin/mm/
Dsram-alloc.c269 static void *_sram_alloc(size_t size, struct sram_piece *pfree_head, in _sram_alloc() argument
274 if (size <= 0 || !pfree_head || !pused_head) in _sram_alloc()
280 pslot = pfree_head->next; in _sram_alloc()
281 plast = pfree_head; in _sram_alloc()
326 static void *_sram_alloc_max(struct sram_piece *pfree_head, in _sram_alloc_max() argument
332 if (!pfree_head || !pused_head) in _sram_alloc_max()
335 pmax = pslot = pfree_head->next; in _sram_alloc_max()
349 return _sram_alloc(*psize, pfree_head, pused_head); in _sram_alloc_max()
354 struct sram_piece *pfree_head, in _sram_free() argument
359 if (!pfree_head || !pused_head) in _sram_free()
[all …]