Searched refs:pfree_head (Results 1 – 1 of 1) sorted by relevance
239 static void *_sram_alloc(size_t size, struct sram_piece *pfree_head, in _sram_alloc() argument244 if (size <= 0 || !pfree_head || !pused_head) in _sram_alloc()250 pslot = pfree_head->next; in _sram_alloc()251 plast = pfree_head; in _sram_alloc()295 static void *_sram_alloc_max(struct sram_piece *pfree_head, in _sram_alloc_max() argument301 if (!pfree_head || !pused_head) in _sram_alloc_max()304 pmax = pslot = pfree_head->next; in _sram_alloc_max()318 return _sram_alloc(*psize, pfree_head, pused_head); in _sram_alloc_max()323 struct sram_piece *pfree_head, in _sram_free() argument328 if (!pfree_head || !pused_head) in _sram_free()[all …]