Searched refs:area (Results 76 - 100 of 317) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/lib/
H A Dcode-patching.c52 struct vm_struct *area; member in union:patch_context::__anon32
105 struct vm_struct *area; local
109 area = get_vm_area(PAGE_SIZE, VM_ALLOC);
110 if (!area) {
111 WARN_ONCE(1, "Failed to create text area for cpu %d\n",
116 // Map/unmap the area to ensure all page tables are pre-allocated
117 addr = (unsigned long)area->addr;
124 this_cpu_write(cpu_patching_context.area, area);
133 free_vm_area(this_cpu_read(cpu_patching_context.area));
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_cpplib.c265 * nfp_cpp_map_area() - Helper function to map an area
267 * @name: Name for the area
270 * @size: Size of the area
271 * @area: Area handle (output)
273 * Map an area of IOMEM access. To undo the effect of this function call
274 * @nfp_cpp_area_release_free(*area).
276 * Return: Pointer to memory mapped area or ERR_PTR
280 unsigned long size, struct nfp_cpp_area **area)
284 *area = nfp_cpp_area_alloc_acquire(cpp, name, cpp_id, addr, size);
285 if (!*area)
279 nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr, unsigned long size, struct nfp_cpp_area **area) argument
[all...]
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.c252 struct vm_area_struct *area = vmf->vma; local
253 struct i915_mmap_offset *mmo = area->vm_private_data;
260 area->vm_flags & VM_WRITE))
277 err = remap_io_sg(area,
278 area->vm_start, area->vm_end - area->vm_start,
281 if (area->vm_flags & VM_WRITE) {
296 struct vm_area_struct *area = vmf->vma; local
297 struct i915_mmap_offset *mmo = area
455 vm_access(struct vm_area_struct *area, unsigned long addr, void *buf, int len, int write) argument
[all...]
/linux-master/include/linux/mtd/
H A Donenand.h108 int (*read_bufferram)(struct mtd_info *mtd, int area,
110 int (*write_bufferram)(struct mtd_info *mtd, int area,
234 int (*read_bufferram)(struct mtd_info *mtd, int area,
/linux-master/drivers/xen/
H A Dtime.c163 struct vcpu_register_runstate_memory_area area; local
165 area.addr.v = &per_cpu(xen_runstate, cpu);
168 xen_vcpu_nr(cpu), &area))
/linux-master/include/linux/
H A Dkmemleak.h22 extern void kmemleak_vmalloc(const struct vm_struct *area, size_t size,
74 static inline void kmemleak_vmalloc(const struct vm_struct *area, size_t size, argument
/linux-master/mm/
H A Dzsmalloc.c1001 static inline int __zs_cpu_up(struct mapping_area *area) argument
1007 if (area->vm_buf)
1009 area->vm_buf = kmalloc(ZS_MAX_ALLOC_SIZE, GFP_KERNEL);
1010 if (!area->vm_buf)
1015 static inline void __zs_cpu_down(struct mapping_area *area) argument
1017 kfree(area->vm_buf);
1018 area->vm_buf = NULL;
1021 static void *__zs_map_object(struct mapping_area *area, argument
1026 char *buf = area->vm_buf;
1032 if (area
1049 __zs_unmap_object(struct mapping_area *area, struct page *pages[2], int off, int size) argument
1083 struct mapping_area *area; local
1091 struct mapping_area *area; local
1169 struct mapping_area *area; local
1230 struct mapping_area *area; local
[all...]
H A Dkmemleak.c123 /* scanning area inside a memory block */
510 struct kmemleak_scan_area *area; local
518 hlist_for_each_entry_safe(area, tmp, &object->area_list, node) {
519 hlist_del(&area->node);
520 kmem_cache_free(scan_area_cache, area);
928 * Add a scanning area to the object. If at least one such area is added,
935 struct kmemleak_scan_area *area = NULL; local
941 kmemleak_warn("Adding scan area to unknown object at 0x%08lx\n",
950 area
1080 kmemleak_vmalloc(const struct vm_struct *area, size_t size, gfp_t gfp) argument
1465 struct kmemleak_scan_area *area; local
[all...]
/linux-master/arch/microblaze/mm/
H A Dpgtable.c85 * Is it already mapped? If the whole area is mapped then we're
96 struct vm_struct *area; local
97 area = get_vm_area(size, VM_IOREMAP);
98 if (area == NULL)
100 v = (unsigned long) area->addr;
/linux-master/arch/powerpc/kernel/
H A Dpci_64.c85 * the area mapped by this bridge. We don't play with the PTE
88 * that no hash entries are covering that removed bridge area
122 struct vm_struct *area; local
135 area = __get_vm_area_caller(size, VM_IOREMAP, PHB_IO_BASE, PHB_IO_END,
137 if (!area)
140 addr = (unsigned long)area->addr;
160 /* Make sure IO area address is clear */
/linux-master/drivers/video/fbdev/
H A Dhitfb.c164 static void hitfb_copyarea(struct fb_info *p, const struct fb_copyarea *area) argument
167 hitfb_accel_bitblt(p->var.bits_per_pixel == 16, area->sx, area->sy,
168 area->dx, area->dy, area->width, area->height,
H A Dhpfb.c146 static void hpfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument
148 topcat_blit(area->sx, area->sy, area->dx, area->dy, area->width, area->height, RR_COPY);
H A Dcg6.c38 static void cg6_copyarea(struct fb_info *info, const struct fb_copyarea *area);
347 * cg6_copyarea - Copies one area of the screen to another area.
350 * @area: Structure providing the data to copy the framebuffer contents
353 * This drawing operation copies a rectangular area from one area of the
354 * screen to another area.
356 static void cg6_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument
374 sbus_writel(area->sy, &fbc->y0);
375 sbus_writel(area
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dcfbcopyarea.c381 void cfb_copyarea(struct fb_info *p, const struct fb_copyarea *area) argument
383 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy;
384 u32 height = area->height, width = area->width;
397 /* if the beginning of the target area might overlap with the end of
398 the source area, be have to copy the area revers
[all...]
H A Dbitblit.c49 struct fb_copyarea area; local
51 area.sx = sx * vc->vc_font.width;
52 area.sy = sy * vc->vc_font.height;
53 area.dx = dx * vc->vc_font.width;
54 area.dy = dy * vc->vc_font.height;
55 area.height = height * vc->vc_font.height;
56 area.width = width * vc->vc_font.width;
58 info->fbops->fb_copyarea(info, &area);
H A Dfbcon_ud.c52 struct fb_copyarea area; local
56 area.sy = vyres - ((sy + height) * vc->vc_font.height);
57 area.sx = vxres - ((sx + width) * vc->vc_font.width);
58 area.dy = vyres - ((dy + height) * vc->vc_font.height);
59 area.dx = vxres - ((dx + width) * vc->vc_font.width);
60 area.height = height * vc->vc_font.height;
61 area.width = width * vc->vc_font.width;
63 info->fbops->fb_copyarea(info, &area);
H A Dfbcon_ccw.c67 struct fb_copyarea area; local
70 area.sx = sy * vc->vc_font.height;
71 area.sy = vyres - ((sx + width) * vc->vc_font.width);
72 area.dx = dy * vc->vc_font.height;
73 area.dy = vyres - ((dx + width) * vc->vc_font.width);
74 area.width = height * vc->vc_font.height;
75 area.height = width * vc->vc_font.width;
77 info->fbops->fb_copyarea(info, &area);
H A Dfbcon_cw.c52 struct fb_copyarea area; local
55 area.sx = vxres - ((sy + height) * vc->vc_font.height);
56 area.sy = sx * vc->vc_font.width;
57 area.dx = vxres - ((dy + height) * vc->vc_font.height);
58 area.dy = dx * vc->vc_font.width;
59 area.width = height * vc->vc_font.height;
60 area.height = width * vc->vc_font.width;
62 info->fbops->fb_copyarea(info, &area);
/linux-master/arch/arm/mm/
H A Dioremap.c255 struct vm_struct *area; local
297 area = get_vm_area_caller(size, VM_IOREMAP, caller);
298 if (!area)
300 addr = (unsigned long)area->addr;
301 area->phys_addr = paddr;
308 area->flags |= VM_ARM_SECTION_MAPPING;
311 area->flags |= VM_ARM_SECTION_MAPPING;
/linux-master/kernel/irq/
H A Dmatrix.c119 unsigned int area, start = m->alloc_start; local
124 area = bitmap_find_next_zero_area(m->scratch_map, end, start, num, 0);
125 if (area >= end)
126 return area;
128 bitmap_set(cm->managed_map, area, num);
130 bitmap_set(cm->alloc_map, area, num);
131 return area;
/linux-master/arch/arm/kernel/
H A Diwmmxt.S85 add r0, r10, #TI_IWMMXT_STATE @ get task Concan save area
181 * Back up Concan regs to save area and disable access to them
196 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
243 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
248 @ current Concan values are in the task save area
281 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
287 @ this task doesn't own Concan regs -- use its save area
318 add r3, r0, #TI_IWMMXT_STATE @ get next task Concan save area
343 add r0, r0, #TI_IWMMXT_STATE @ get task Concan save area
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_omap2.c310 static inline int omap2_onenand_bufferram_offset(struct mtd_info *mtd, int area) argument
315 if (area == ONENAND_DATARAM)
317 if (area == ONENAND_SPARERAM)
360 static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, argument
372 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset;
408 static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, argument
419 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset;
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c339 struct nfp_cpp_area *area; local
343 8, &area);
348 while (mem - start + 8 <= nfp_cpp_area_size(area)) {
357 if (mem - start > nfp_cpp_area_size(area))
402 if (mem - start != nfp_cpp_area_size(area)) {
404 mem - start, nfp_cpp_area_size(area));
408 nfp_cpp_area_release_free(area);
414 nfp_cpp_area_release_free(area);
/linux-master/tools/testing/selftests/mm/
H A Duffd-common.c258 static inline void munmap_area(void **area) argument
260 if (*area)
261 if (munmap(*area, nr_pages * page_size))
264 *area = NULL;
448 uint8_t *area; local
463 area = (uint8_t *)(area_dst +
467 area[b] = ~area[b];
/linux-master/arch/powerpc/sysdev/xive/
H A Dxive-internal.h66 void __iomem *area, u32 offset, u8 max_prio);

Completed in 222 milliseconds

1234567891011>>