Searched refs:pslot (Results 1 – 1 of 1) sorted by relevance
242 struct sram_piece *pslot, *plast, *pavail; in _sram_alloc() local250 pslot = pfree_head->next; in _sram_alloc()254 while (pslot != NULL && size > pslot->size) { in _sram_alloc()255 plast = pslot; in _sram_alloc()256 pslot = pslot->next; in _sram_alloc()259 if (!pslot) in _sram_alloc()262 if (pslot->size == size) { in _sram_alloc()263 plast->next = pslot->next; in _sram_alloc()264 pavail = pslot; in _sram_alloc()271 pavail->paddr = pslot->paddr; in _sram_alloc()[all …]