taglinefilesource code
order169drivers/block/floppy.cint order;
order173drivers/block/floppy.c: "=r" (order)
order176drivers/block/floppy.cfor (order = 0; order < NR_MEM_LISTS; ++order)
order177drivers/block/floppy.cif (size <= (PAGE_SIZE << order))
order178drivers/block/floppy.creturn order; 
order185drivers/block/floppy.cint order = __get_order(size);
order187drivers/block/floppy.cif (order >= NR_MEM_LISTS)
order189drivers/block/floppy.creturn __get_dma_pages(GFP_KERNEL,order);
order153include/linux/mm.h#define __get_dma_pages(priority, order) __get_free_pages((priority),(order),MAX_DMA_ADDRESS)
order169include/linux/mm.hextern void free_pages(unsigned long addr, unsigned long order);
order72mm/kmalloc.cint order;
order139mm/kmalloc.c#define NBLOCKS(order)          (sizes[order].nblocks)
order140mm/kmalloc.c#define BLOCKSIZE(order)        (sizes[order].size)
order141mm/kmalloc.c#define AREASIZE(order)    (PAGE_SIZE<<(sizes[order].gfporder))
order146mm/kmalloc.cint order;
order152mm/kmalloc.cfor (order = 0;BLOCKSIZE(order);order++)
order154mm/kmalloc.cif ((NBLOCKS (order)*BLOCKSIZE(order) + sizeof (struct page_descriptor)) >
order155mm/kmalloc.cAREASIZE(order)) 
order158mm/kmalloc.c(int) (NBLOCKS (order) * BLOCKSIZE(order) + 
order160mm/kmalloc.c(int) AREASIZE(order),
order161mm/kmalloc.cBLOCKSIZE (order));
order172mm/kmalloc.cint order;
order176mm/kmalloc.cfor (order = 0;BLOCKSIZE(order);order++)
order177mm/kmalloc.cif (size <= BLOCKSIZE (order))
order178mm/kmalloc.creturn order; 
order185mm/kmalloc.cint order,tries,i,sz;
order203mm/kmalloc.corder = get_order (size);
order204mm/kmalloc.cif (order < 0)
order219mm/kmalloc.cif ((page = (dma_flag ? sizes[order].dmafree : sizes[order].firstfree)) &&
order229mm/kmalloc.csizes[order].dmafree = page->next;
order231mm/kmalloc.csizes[order].firstfree = page->next;
order236mm/kmalloc.csizes [order].nmallocs++;
order237mm/kmalloc.csizes [order].nbytesmalloced += size;
order250mm/kmalloc.csz = BLOCKSIZE(order); /* sz is the size of the blocks we're dealing with */
order258mm/kmalloc.csizes[order].gfporder, max_addr);
order272mm/kmalloc.csizes[order].npages++;
order275mm/kmalloc.cfor (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) 
order284mm/kmalloc.cpage->order = order;
order285mm/kmalloc.cpage->nfree = NBLOCKS(order); 
order298mm/kmalloc.cpage->next = sizes[order].dmafree;
order299mm/kmalloc.csizes[order].dmafree = page;
order301mm/kmalloc.cpage->next = sizes[order].firstfree;
order302mm/kmalloc.csizes[order].firstfree = page;
order324mm/kmalloc.cint order;
order329mm/kmalloc.corder = page->order;
order330mm/kmalloc.cif ((order < 0) || 
order331mm/kmalloc.c(order > sizeof (sizes)/sizeof (sizes[0])) ||
order336mm/kmalloc.cp, page->next, page->order);
order363mm/kmalloc.cpage->next = sizes[order].firstfree;
order364mm/kmalloc.csizes[order].firstfree = page;
order369mm/kmalloc.cif (page->nfree == NBLOCKS (page->order))
order374mm/kmalloc.cif (sizes[order].firstfree == page)
order376mm/kmalloc.csizes[order].firstfree = page->next;
order378mm/kmalloc.celse if (sizes[order].dmafree == page)
order380mm/kmalloc.csizes[order].dmafree = page->next;
order384mm/kmalloc.cfor (pg2=sizes[order].firstfree;
order389mm/kmalloc.cfor (pg2=sizes[order].dmafree;
order399mm/kmalloc.cfree_pages ((long)page, sizes[order].gfporder);
order407mm/kmalloc.csizes[order].nfrees++;      /* Noncritical (monitoring) admin stuff */
order408mm/kmalloc.csizes[order].nbytesmalloced -= size;
order673mm/swap.cstatic inline void free_pages_ok(unsigned long addr, unsigned long order)
order675mm/swap.cunsigned long index = MAP_NR(addr) >> (1 + order);
order676mm/swap.cunsigned long mask = PAGE_MASK << order;
order679mm/swap.cnr_free_pages += 1 << order;
order680mm/swap.cwhile (order < NR_MEM_LISTS-1) {
order681mm/swap.cif (!change_bit(index, free_area_map[order]))
order683mm/swap.cremove_mem_queue(free_area_list+order, (struct mem_list *) (addr ^ (1+~mask)));
order684mm/swap.corder++;
order689mm/swap.cadd_mem_queue(free_area_list+order, (struct mem_list *) addr);
order707mm/swap.cvoid free_pages(unsigned long addr, unsigned long order)
order717mm/swap.cfree_pages_ok(addr, order);
order735mm/swap.c#define RMQUEUE(order, limit) \
order736mm/swap.cdo { struct mem_list * queue = free_area_list+order; \
order737mm/swap.cunsigned long new_order = order; \
order743mm/swap.cnr_free_pages -= 1 << order; \
order745mm/swap.cEXPAND(ret, order, new_order); \
order754mm/swap.cstatic inline int mark_used(unsigned long addr, unsigned long order)
order756mm/swap.creturn change_bit(MAP_NR(addr) >> (1+order), free_area_map[order]);
order770mm/swap.cunsigned long __get_free_pages(int priority, unsigned long order, unsigned long limit)
order790mm/swap.cRMQUEUE(order, limit);
order807mm/swap.cunsigned long order, flags;
order813mm/swap.cfor (order=0 ; order < NR_MEM_LISTS; order++) {
order816mm/swap.cfor (tmp = free_area_list[order].next ; tmp != free_area_list + order ; tmp = tmp->next) {
order819mm/swap.ctotal += nr * ((PAGE_SIZE>>10) << order);
order820mm/swap.cprintk("%lu*%lukB ", nr, (PAGE_SIZE>>10) << order);