Lines Matching refs:thislist
43 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()
62 thislist[mitr].num_bytes = thislist[mitr-1].num_bytes; in prom_sortmemlist()
64 thislist[i].start_adr = tmpaddr; in prom_sortmemlist()
65 thislist[i].num_bytes = tmpsize; in prom_sortmemlist()