Searched refs:pfree_head (Results 1 – 1 of 1) sorted by relevance
269 static void *_sram_alloc(size_t size, struct sram_piece *pfree_head, in _sram_alloc() argument274 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() argument332 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() argument359 if (!pfree_head || !pused_head) in _sram_free()[all …]