Home
last modified time | relevance | path

Searched refs:thislist (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/sparc64/prom/
Dmemory.c41 prom_sortmemlist(struct linux_mlist_p1275 *thislist) in prom_sortmemlist() argument
48 for(i=0; thislist[i].theres_more != 0; i++) { in prom_sortmemlist()
49 lowest = thislist[i].start_adr; in prom_sortmemlist()
50 for(mitr = i+1; thislist[mitr-1].theres_more != 0; mitr++) in prom_sortmemlist()
51 if(thislist[mitr].start_adr < lowest) { in prom_sortmemlist()
52 lowest = thislist[mitr].start_adr; in prom_sortmemlist()
55 if(lowest == thislist[i].start_adr) continue; in prom_sortmemlist()
56 tmpaddr = thislist[swapi].start_adr; in prom_sortmemlist()
57 tmpsize = thislist[swapi].num_bytes; in prom_sortmemlist()
59 thislist[mitr].start_adr = thislist[mitr-1].start_adr; in prom_sortmemlist()
[all …]
/linux-2.4.37.9/arch/sparc/prom/
Dmemory.c43 prom_sortmemlist(struct linux_mlist_v0 *thislist) in prom_sortmemlist() argument
50 for(i=0; thislist[i].theres_more != 0; i++) { in prom_sortmemlist()
51 lowest = thislist[i].start_adr; in prom_sortmemlist()
52 for(mitr = i+1; thislist[mitr-1].theres_more != 0; mitr++) in prom_sortmemlist()
53 if(thislist[mitr].start_adr < lowest) { in prom_sortmemlist()
54 lowest = thislist[mitr].start_adr; in prom_sortmemlist()
57 if(lowest == thislist[i].start_adr) continue; in prom_sortmemlist()
58 tmpaddr = thislist[swapi].start_adr; in prom_sortmemlist()
59 tmpsize = thislist[swapi].num_bytes; in prom_sortmemlist()
61 thislist[mitr].start_adr = thislist[mitr-1].start_adr; in prom_sortmemlist()
[all …]
/linux-2.4.37.9/arch/sparc64/mm/
Dinit.c1510 void __init sort_memlist(struct linux_mlist_p1275 *thislist) in sort_memlist() argument
1517 for (i = 0; thislist[i].theres_more != 0; i++) { in sort_memlist()
1518 lowest = thislist[i].start_adr; in sort_memlist()
1519 for (mitr = i+1; thislist[mitr-1].theres_more != 0; mitr++) in sort_memlist()
1520 if (thislist[mitr].start_adr < lowest) { in sort_memlist()
1521 lowest = thislist[mitr].start_adr; in sort_memlist()
1524 if (lowest == thislist[i].start_adr) in sort_memlist()
1526 tmpaddr = thislist[swapi].start_adr; in sort_memlist()
1527 tmpsize = thislist[swapi].num_bytes; in sort_memlist()
1529 thislist[mitr].start_adr = thislist[mitr-1].start_adr; in sort_memlist()
[all …]