• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/mm/

Lines Matching defs:pslot

235 	struct sram_piece *pslot, *plast, *pavail;
243 pslot = pfree_head->next;
247 while (pslot != NULL && size > pslot->size) {
248 plast = pslot;
249 pslot = pslot->next;
252 if (!pslot)
255 if (pslot->size == size) {
256 plast->next = pslot->next;
257 pavail = pslot;
265 pavail->paddr = pslot->paddr;
267 pslot->paddr += size;
268 pslot->size -= size;
273 pslot = pused_head->next;
277 while (pslot != NULL && pavail->paddr < pslot->paddr) {
278 plast = pslot;
279 pslot = pslot->next;
282 pavail->next = pslot;
293 struct sram_piece *pslot, *pmax;
298 pmax = pslot = pfree_head->next;
301 while (pslot != NULL) {
302 if (pslot->size > pmax->size)
303 pmax = pslot;
304 pslot = pslot->next;
320 struct sram_piece *pslot, *plast, *pavail;
326 pslot = pused_head->next;
330 while (pslot != NULL && pslot->paddr != addr) {
331 plast = pslot;
332 pslot = pslot->next;
335 if (!pslot)
338 plast->next = pslot->next;
339 pavail = pslot;
343 pslot = pfree_head->next;
346 while (pslot != NULL && addr > pslot->paddr) {
347 plast = pslot;
348 pslot = pslot->next;
360 if (pslot && plast->paddr + plast->size == pslot->paddr) {
361 plast->size += pslot->size;
362 plast->next = pslot->next;
363 kmem_cache_free(sram_piece_cache, pslot);
771 struct sram_piece *pslot;
779 pslot = pused_head->next;
781 while (pslot != NULL) {
783 pslot->paddr, pslot->paddr + pslot->size,
784 pslot->size, pslot->pid, "ALLOCATED");
786 pslot = pslot->next;
789 pslot = pfree_head->next;
791 while (pslot != NULL) {
793 pslot->paddr, pslot->paddr + pslot->size,
794 pslot->size, pslot->pid, "FREE");
796 pslot = pslot->next;