Searched refs:plast (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/blackfin/mm/
H A Dsram-alloc.c272 struct sram_piece *pslot, *plast, *pavail; _sram_alloc() local
281 plast = pfree_head; _sram_alloc()
285 plast = pslot; _sram_alloc()
293 plast->next = pslot->next; _sram_alloc()
311 plast = pused_head; _sram_alloc()
315 plast = pslot; _sram_alloc()
320 plast->next = pavail; _sram_alloc()
357 struct sram_piece *pslot, *plast, *pavail; _sram_free() local
364 plast = pused_head; _sram_free()
368 plast = pslot; _sram_free()
375 plast->next = pslot->next; _sram_free()
381 plast = pfree_head; _sram_free()
384 plast = pslot; _sram_free()
388 if (plast != pfree_head && plast->paddr + plast->size == pavail->paddr) { _sram_free()
389 plast->size += pavail->size; _sram_free()
392 pavail->next = plast->next; _sram_free()
393 plast->next = pavail; _sram_free()
394 plast = pavail; _sram_free()
397 if (pslot && plast->paddr + plast->size == pslot->paddr) { _sram_free()
398 plast->size += pslot->size; _sram_free()
399 plast->next = pslot->next; _sram_free()

Completed in 78 milliseconds