Searched refs:pslot (Results 1 – 1 of 1) sorted by relevance
272 struct sram_piece *pslot, *plast, *pavail; in _sram_alloc() local280 pslot = pfree_head->next; in _sram_alloc()284 while (pslot != NULL && size > pslot->size) { in _sram_alloc()285 plast = pslot; in _sram_alloc()286 pslot = pslot->next; in _sram_alloc()289 if (!pslot) in _sram_alloc()292 if (pslot->size == size) { in _sram_alloc()293 plast->next = pslot->next; in _sram_alloc()294 pavail = pslot; in _sram_alloc()302 pavail->paddr = pslot->paddr; in _sram_alloc()[all …]