/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/mm/ |
H A D | imalloc.c | 23 struct vm_struct **p, *tmp, *area; local 25 area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); 26 if (!area) 36 kfree(area); 40 area->flags = 0; 41 area->addr = (void *)addr; 42 area->size = size; 43 area->next = *p; 44 *p = area; [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/mm/ |
H A D | modutil.c | 34 printk("Trying to unmap nonexistent module vm area (%p)\n", addr); 40 struct vm_struct **p, *tmp, *area; local 53 area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); 54 if (!area) return NULL; 55 area->size = size + PAGE_SIZE; 56 area->addr = addr; 57 area->next = *p; 58 *p = area;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/mm/ |
H A D | modutil.c | 37 printk("Trying to unmap nonexistent module vm area (%p)\n", addr); 43 struct vm_struct **p, *tmp, *area; local 56 area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); 57 if (!area) return NULL; 58 area->size = size + PAGE_SIZE; 59 area->addr = addr; 60 area->next = *p; 61 *p = area;
|
H A D | ioremap.c | 6 * 640k-1MB IO memory area on PC's 109 struct vm_struct * area; local 118 * Don't remap the low PCI/ISA area, it's always mapped.. 150 area = get_vm_area(size, VM_IOREMAP); 151 if (!area) 153 addr = area->addr;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm-4.0/ |
H A D | memory.c | 142 void *drm_alloc(size_t size, int area) argument 147 DRM_MEM_ERROR(area, "Allocating 0 bytes\n"); 153 ++drm_mem_stats[area].fail_count; 158 ++drm_mem_stats[area].succeed_count; 159 drm_mem_stats[area].bytes_allocated += size; 164 void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area) argument 168 if (!(pt = drm_alloc(size, area))) return NULL; 171 drm_free(oldpt, oldsize, area); 176 char *drm_strdup(const char *s, int area) argument 181 if (!(pt = drm_alloc(length+1, area))) retur 186 drm_strfree(const char *s, int area) argument 196 drm_free(void *pt, size_t size, int area) argument 214 drm_alloc_pages(int order, int area) argument 261 drm_free_pages(unsigned long address, int order, int area) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/lib/ |
H A D | dnet_pton.c | 40 u_int16_t area = 0; local 44 pos = dnet_num(src, &area); 45 if ((pos == 0) || (area > 63) || (*(src + pos) != '.')) 51 *(u_int16_t *)dna->a_addr = dn_htons((area << 10) | node);
|
H A D | dnet_ntop.c | 39 u_int16_t area = addr >> 10; local 51 if (do_digit(str + pos, &area, 10, &pos, len, &started)) 54 if (do_digit(str + pos, &area, 1, &pos, len, &started))
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm/ |
H A D | drm_memory.h | 146 void *DRM(alloc)(size_t size, int area) argument 151 DRM_MEM_ERROR(area, "Allocating 0 bytes\n"); 157 ++DRM(mem_stats)[area].fail_count; 162 ++DRM(mem_stats)[area].succeed_count; 163 DRM(mem_stats)[area].bytes_allocated += size; 168 void *DRM(realloc)(void *oldpt, size_t oldsize, size_t size, int area) argument 172 if (!(pt = DRM(alloc)(size, area))) return NULL; 175 DRM(free)(oldpt, oldsize, area); 180 char *DRM(strdup)(const char *s, int area) argument 185 if (!(pt = DRM(alloc)(length+1, area))) retur 190 strfree(const char *s, int area) argument 200 free(void *pt, size_t size, int area) argument 218 alloc_pages(int order, int area) argument 260 free_pages(unsigned long address, int order, int area) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/ |
H A D | mmap.c | 28 static struct page* ncp_file_mmap_nopage(struct vm_area_struct *area, argument 31 struct file *file = area->vm_file; 47 pos = address - area->vm_start + (area->vm_pgoff << PAGE_SHIFT); 50 if (address + PAGE_SIZE > area->vm_end) { 51 count = area->vm_end - address;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/mm/ |
H A D | kmap.c | 30 * For 040/060 we can use the virtual memory area like other architectures, 60 struct vm_struct **p, *tmp, *area; local 62 area = (struct vm_struct *)kmalloc(sizeof(*area), GFP_KERNEL); 63 if (!area) 73 area->addr = (void *)addr; 74 area->size = size + IO_SIZE; 75 area->next = *p; 76 *p = area; 77 return area; 107 struct vm_struct *area; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/ |
H A D | pmc.c | 211 struct vm_struct *area; local 221 area = get_btm_area(size, 0); 222 if (!area) { 227 ea_base = (unsigned long) area->addr; 336 struct vm_struct **p, *tmp, *area; local 338 area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); 339 if (!area) return NULL; 347 kfree(area); 353 kfree(area); [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/mm/ |
H A D | vmalloc.c | 174 struct vm_struct **p, *tmp, *area; local 176 area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); 177 if (!area) 182 kfree (area); 197 area->flags = flags; 198 area->addr = (void *)addr; 199 area->size = size; 200 area->next = *p; 201 *p = area; 238 struct vm_struct *area; local [all...] |
H A D | mmap.c | 143 * like trying to un-brk an area that has already been mapped 763 * This function is the default for when an area has no specific 765 * This function works out what part of an area is affected and 770 * By the time this function is called, the area struct has been 775 * Unmapping the whole area 781 * the hole. If possible, we reuse the existing area rather than 783 * area was reused. 786 struct vm_area_struct *area, unsigned long addr, size_t len, 792 area->vm_mm->total_vm -= len >> PAGE_SHIFT; 793 if (area 785 unmap_fixup(struct mm_struct *mm, struct vm_area_struct *area, unsigned long addr, size_t len, struct vm_area_struct *extra) argument [all...] |
H A D | page_alloc.c | 88 free_area_t *area; local 127 area = zone->free_area + order; 136 if (area >= zone->free_area + MAX_ORDER) 138 if (!__test_and_change_bit(index, area->map)) 157 area++; 161 list_add(&(base + page_idx)->list, &area->free_list); 177 #define MARK_USED(index, order, area) \ 178 __change_bit((index) >> (1+(order)), (area)->map) 181 unsigned long index, int low, int high, free_area_t * area) 188 area 180 expand(zone_t *zone, struct page *page, unsigned long index, int low, int high, free_area_t * area) argument 204 free_area_t * area = zone->free_area + order; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/sis/ |
H A D | sis_accel.c | 322 void fbcon_sis_copyarea(struct fb_info *info, struct fb_copyarea *area) argument 329 cfb_copyarea(info, area); 333 if(!area->width || !area->height) 336 if(area->sx < area->dx) xdir = 0; 338 if(area->sy < area->dy) ydir = 0; 344 SiS300SubsequentScreenToScreenCopy(area->sx, area [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/lib/ |
H A D | memset.S | 11 * R2 = address to memory area 19 LR 0,2 # save pointer to memory area
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/mm/ |
H A D | ioremap.c | 13 * 640k-1MB IO memory area on PC's 110 struct vm_struct * area; local 119 area = get_vm_area(size, VM_IOREMAP); 120 if (!area) 122 addr = area->addr;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/lib/ |
H A D | memset.S | 11 * R2 = address to memory area 19 LGR 0,2 # save pointer to memory area
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/mm/ |
H A D | ioremap.c | 13 * 640k-1MB IO memory area on PC's 110 struct vm_struct * area; local 119 area = get_vm_area(size, VM_IOREMAP); 120 if (!area) 122 addr = area->addr;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/mm/ |
H A D | ioremap.c | 7 * 640k-1MB IO memory area on PC's 112 struct vm_struct * area; local 121 * Don't remap the low PCI/ISA area, it's always mapped.. 142 area = get_vm_area(size, VM_IOREMAP); 143 if (!area) 145 addr = area->addr;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mm/ |
H A D | ioremap.c | 28 * flush this - flushing the area causes the bus to lock. 135 struct vm_struct * area; local 153 area = get_vm_area(size, VM_IOREMAP); 154 if (!area) 156 addr = area->addr;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/mm/ |
H A D | ioremap.c | 111 struct vm_struct * area; local 130 area = get_vm_area(size, VM_IOREMAP); 131 if (!area) 133 addr = area->addr;
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/UTILS/ |
H A D | termcap.c | 93 tgetstr (cap, area) 95 char **area; 100 return tgetst1 (ptr, area); 121 tgetst1 (ptr, area) 123 char **area; 135 if (!area) 144 ret = *area; 180 if (area) 181 *area = r + 1;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/mm/ |
H A D | ioremap.c | 114 struct vm_struct * area; local 157 area = get_vm_area(size, VM_IOREMAP); 158 if (!area) 160 addr = area->addr;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/mm/ |
H A D | ioremap.c | 6 * 640k-1MB IO memory area on PC's 124 struct vm_struct * area; 157 area = get_vm_area(size, VM_IOREMAP); 158 if (!area) 160 addr = area->addr;
|