Home
last modified time | relevance | path

Searched refs:area (Results 51 - 75 of 641) sorted by relevance

12345678910>>...26

/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c347 /* We don't match explicit bars through the area interface */ in matching_bar()
749 static int nfp6000_area_init(struct nfp_cpp_area *area, u32 dest, in nfp6000_area_init() argument
752 struct nfp6000_area_priv *priv = nfp_cpp_area_priv(area); in nfp6000_area_init()
788 static void nfp6000_area_cleanup(struct nfp_cpp_area *area) in nfp6000_area_cleanup() argument
792 static void priv_area_get(struct nfp_cpp_area *area) in priv_area_get() argument
794 struct nfp6000_area_priv *priv = nfp_cpp_area_priv(area); in priv_area_get()
799 static int priv_area_put(struct nfp_cpp_area *area) in priv_area_put() argument
801 struct nfp6000_area_priv *priv = nfp_cpp_area_priv(area); in priv_area_put()
809 static int nfp6000_area_acquire(struct nfp_cpp_area *area) in nfp6000_area_acquire() argument
811 struct nfp6000_pcie *nfp = nfp_cpp_priv(nfp_cpp_area_cpp(area)); in nfp6000_area_acquire()
879 nfp6000_area_release(struct nfp_cpp_area *area) nfp6000_area_release() argument
896 nfp6000_area_phys(struct nfp_cpp_area *area) nfp6000_area_phys() argument
903 nfp6000_area_iomem(struct nfp_cpp_area *area) nfp6000_area_iomem() argument
910 nfp6000_area_resource(struct nfp_cpp_area *area) nfp6000_area_resource() argument
921 nfp6000_area_read(struct nfp_cpp_area *area, void *kernel_vaddr, unsigned long offset, unsigned int length) nfp6000_area_read() argument
983 nfp6000_area_write(struct nfp_cpp_area *area, const void *kernel_vaddr, unsigned long offset, unsigned int length) nfp6000_area_write() argument
1053 int area; global() member
[all...]
/kernel/linux/linux-5.10/kernel/events/
H A Duprobes.c90 * Execute out of line area: anonymous executable mapping installed
1442 static int xol_add_vma(struct mm_struct *mm, struct xol_area *area) in xol_add_vma() argument
1455 if (!area->vaddr) { in xol_add_vma()
1457 area->vaddr = get_unmapped_area(NULL, TASK_SIZE - PAGE_SIZE, in xol_add_vma()
1459 if (IS_ERR_VALUE(area->vaddr)) { in xol_add_vma()
1460 ret = area->vaddr; in xol_add_vma()
1465 vma = _install_special_mapping(mm, area->vaddr, PAGE_SIZE, in xol_add_vma()
1467 &area->xol_mapping); in xol_add_vma()
1475 smp_store_release(&mm->uprobes_state.xol_area, area); /* ^^^ */ in xol_add_vma()
1486 struct xol_area *area; in __create_xol_area() local
1533 struct xol_area *area; get_xol_area() local
1548 struct xol_area *area = mm->uprobes_state.xol_area; uprobe_clear_state() local
1584 xol_take_insn_slot(struct xol_area *area) xol_take_insn_slot() argument
1613 struct xol_area *area; xol_get_insn_slot() local
1637 struct xol_area *area; xol_free_insn_slot() local
1803 struct xol_area *area; uprobe_copy_process() local
1837 struct xol_area *area; get_trampoline_vaddr() local
[all...]
/kernel/linux/linux-6.6/kernel/events/
H A Duprobes.c89 * Execute out of line area: anonymous executable mapping installed
1437 static int xol_add_vma(struct mm_struct *mm, struct xol_area *area) in xol_add_vma() argument
1450 if (!area->vaddr) { in xol_add_vma()
1452 area->vaddr = get_unmapped_area(NULL, TASK_SIZE - PAGE_SIZE, in xol_add_vma()
1454 if (IS_ERR_VALUE(area->vaddr)) { in xol_add_vma()
1455 ret = area->vaddr; in xol_add_vma()
1460 vma = _install_special_mapping(mm, area->vaddr, PAGE_SIZE, in xol_add_vma()
1462 &area->xol_mapping); in xol_add_vma()
1470 smp_store_release(&mm->uprobes_state.xol_area, area); /* ^^^ */ in xol_add_vma()
1481 struct xol_area *area; in __create_xol_area() local
1528 struct xol_area *area; get_xol_area() local
1543 struct xol_area *area = mm->uprobes_state.xol_area; uprobe_clear_state() local
1579 xol_take_insn_slot(struct xol_area *area) xol_take_insn_slot() argument
1608 struct xol_area *area; xol_get_insn_slot() local
1632 struct xol_area *area; xol_free_insn_slot() local
1798 struct xol_area *area; uprobe_copy_process() local
1832 struct xol_area *area; get_trampoline_vaddr() local
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c105 static void matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area);
109 static void matroxfb_cfb4_copyarea(struct fb_info* info, const struct fb_copyarea* area);
292 static void matroxfb_cfb4_copyarea(struct fb_info* info, const struct fb_copyarea* area) { in matroxfb_cfb4_copyarea() argument
295 if ((area->sx | area->dx | area->width) & 1) in matroxfb_cfb4_copyarea()
296 cfb_copyarea(info, area); in matroxfb_cfb4_copyarea()
298 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area in matroxfb_cfb4_copyarea()
301 matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area) matroxfb_copyarea() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c105 static void matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area);
109 static void matroxfb_cfb4_copyarea(struct fb_info* info, const struct fb_copyarea* area);
292 static void matroxfb_cfb4_copyarea(struct fb_info* info, const struct fb_copyarea* area) { in matroxfb_cfb4_copyarea() argument
295 if ((area->sx | area->dx | area->width) & 1) in matroxfb_cfb4_copyarea()
296 cfb_copyarea(info, area); in matroxfb_cfb4_copyarea()
298 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area in matroxfb_cfb4_copyarea()
301 matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area) matroxfb_copyarea() argument
[all...]
/kernel/linux/linux-6.6/arch/um/kernel/
H A Ddtb.c16 void *area; in uml_dtb_init() local
18 area = uml_load_file(dtb, &size); in uml_dtb_init()
19 if (!area) in uml_dtb_init()
22 if (!early_init_dt_scan(area)) { in uml_dtb_init()
24 memblock_free(area, size); in uml_dtb_init()
/kernel/linux/linux-6.6/drivers/iommu/iommufd/
H A Ddevice.c915 struct iopt_area *area; in iommufd_access_unpin_pages() local
933 iopt_for_each_contig_area(&iter, area, iopt, iova, last_iova) in iommufd_access_unpin_pages()
935 area, iopt_area_iova_to_index(area, iter.cur_iova), in iommufd_access_unpin_pages()
937 area, in iommufd_access_unpin_pages()
938 min(last_iova, iopt_area_last_iova(area)))); in iommufd_access_unpin_pages()
947 if (iopt_area_start_byte(iter->area, iter->cur_iova) % PAGE_SIZE) in iopt_area_contig_is_aligned()
951 (iopt_area_start_byte(iter->area, iopt_area_last_iova(iter->area)) % in iopt_area_contig_is_aligned()
957 static bool check_area_prot(struct iopt_area *area, unsigne argument
990 struct iopt_area *area; iommufd_access_pin_pages() local
1077 struct iopt_area *area; iommufd_access_rw() local
[all...]
/kernel/linux/linux-5.10/arch/m68k/mm/
H A Dkmap.c28 * For 040/060 we can use the virtual memory area like other architectures,
112 struct vm_struct **p, *tmp, *area; in get_io_area() local
114 area = kmalloc(sizeof(*area), GFP_KERNEL); in get_io_area()
115 if (!area) in get_io_area()
122 kfree(area); in get_io_area()
127 area->addr = (void *)addr; in get_io_area()
128 area->size = size + IO_SIZE; in get_io_area()
129 area->next = *p; in get_io_area()
130 *p = area; in get_io_area()
161 struct vm_struct *area; __ioremap() local
[all...]
/kernel/linux/linux-6.6/arch/m68k/mm/
H A Dkmap.c27 * For 040/060 we can use the virtual memory area like other architectures,
111 struct vm_struct **p, *tmp, *area; in get_io_area() local
113 area = kmalloc(sizeof(*area), GFP_KERNEL); in get_io_area()
114 if (!area) in get_io_area()
121 kfree(area); in get_io_area()
126 area->addr = (void *)addr; in get_io_area()
127 area->size = size + IO_SIZE; in get_io_area()
128 area->next = *p; in get_io_area()
129 *p = area; in get_io_area()
160 struct vm_struct *area; __ioremap() local
[all...]
/kernel/linux/linux-5.10/arch/sh/boards/mach-sdk7786/
H A Dfpga.c26 unsigned long area; in sdk7786_fpga_probe() local
31 * The possible range is anywhere from area 0 through 6, area 7 in sdk7786_fpga_probe()
34 for (area = PA_AREA0; area < PA_AREA7; area += SZ_64M) { in sdk7786_fpga_probe()
35 base = ioremap(area + FPGA_REGS_OFFSET, FPGA_REGS_SIZE); in sdk7786_fpga_probe()
37 /* Failed to remap this area, move along. */ in sdk7786_fpga_probe()
H A Dsram.c21 unsigned int area; in fpga_sram_init() local
32 * FPGA_SEL determines the area mapping in fpga_sram_init()
34 area = (data & LCLASR_FPGA_SEL_MASK) >> LCLASR_FPGA_SEL_SHIFT; in fpga_sram_init()
35 if (unlikely(area == LCLASR_AREA_MASK)) { in fpga_sram_init()
41 * The memory itself occupies a 2KiB range at the top of the area in fpga_sram_init()
44 phys = (area << 26) + SZ_64M - SZ_4K; in fpga_sram_init()
57 "(area %d) to pool.\n", in fpga_sram_init()
58 SZ_2K >> 10, phys, phys + SZ_2K - 1, area); in fpga_sram_init()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dkfence.h20 struct vm_struct *area; in arch_kfence_init_pool() local
22 area = __get_vm_area_caller(KFENCE_POOL_SIZE, VM_IOREMAP, in arch_kfence_init_pool()
25 if (!area) in arch_kfence_init_pool()
28 __kfence_pool = (char *)area->addr; in arch_kfence_init_pool()
33 free_vm_area(area); in arch_kfence_init_pool()
/kernel/linux/linux-6.6/arch/sh/boards/mach-sdk7786/
H A Dfpga.c26 unsigned long area; in sdk7786_fpga_probe() local
31 * The possible range is anywhere from area 0 through 6, area 7 in sdk7786_fpga_probe()
34 for (area = PA_AREA0; area < PA_AREA7; area += SZ_64M) { in sdk7786_fpga_probe()
35 base = ioremap(area + FPGA_REGS_OFFSET, FPGA_REGS_SIZE); in sdk7786_fpga_probe()
37 /* Failed to remap this area, move along. */ in sdk7786_fpga_probe()
H A Dsram.c21 unsigned int area; in fpga_sram_init() local
32 * FPGA_SEL determines the area mapping in fpga_sram_init()
34 area = (data & LCLASR_FPGA_SEL_MASK) >> LCLASR_FPGA_SEL_SHIFT; in fpga_sram_init()
35 if (unlikely(area == LCLASR_AREA_MASK)) { in fpga_sram_init()
41 * The memory itself occupies a 2KiB range at the top of the area in fpga_sram_init()
44 phys = (area << 26) + SZ_64M - SZ_4K; in fpga_sram_init()
57 "(area %d) to pool.\n", in fpga_sram_init()
58 SZ_2K >> 10, phys, phys + SZ_2K - 1, area); in fpga_sram_init()
/kernel/linux/linux-5.10/sound/core/oss/
H A Drate.c85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand()
90 src = (signed short *)src_channels[channel].area.addr + in resample_expand()
91 src_channels[channel].area.first / 8 / 2; in resample_expand()
92 dst = (signed short *)dst_channels[channel].area.addr + in resample_expand()
93 dst_channels[channel].area.first / 8 / 2; in resample_expand()
94 src_step = src_channels[channel].area.step / 8 / 2; in resample_expand()
95 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_expand()
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_shrink()
149 src = (signed short *)src_channels[channel].area.addr + in resample_shrink()
150 src_channels[channel].area in resample_shrink()
[all...]
/kernel/linux/linux-6.6/sound/core/oss/
H A Drate.c85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand()
90 src = (signed short *)src_channels[channel].area.addr + in resample_expand()
91 src_channels[channel].area.first / 8 / 2; in resample_expand()
92 dst = (signed short *)dst_channels[channel].area.addr + in resample_expand()
93 dst_channels[channel].area.first / 8 / 2; in resample_expand()
94 src_step = src_channels[channel].area.step / 8 / 2; in resample_expand()
95 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_expand()
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_shrink()
149 src = (signed short *)src_channels[channel].area.addr + in resample_shrink()
150 src_channels[channel].area in resample_shrink()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dioremap.c81 struct vm_struct *area; in do_ioremap() local
85 area = __get_vm_area_caller(size, VM_IOREMAP, IOREMAP_START, IOREMAP_END, caller); in do_ioremap()
86 if (area == NULL) in do_ioremap()
89 area->phys_addr = pa; in do_ioremap()
90 va = (unsigned long)area->addr; in do_ioremap()
94 return (void __iomem *)area->addr + offset; in do_ioremap()
97 free_vm_area(area); in do_ioremap()
/kernel/linux/linux-5.10/arch/arm64/mm/
H A Dpageattr.c59 struct vm_struct *area; in change_memory_common() local
79 * covered by precisely one VM area that has the VM_ALLOC flag set. in change_memory_common()
81 area = find_vm_area((void *)addr); in change_memory_common()
82 if (!area || in change_memory_common()
83 end > (unsigned long)area->addr + area->size || in change_memory_common()
84 !(area->flags & VM_ALLOC)) in change_memory_common()
92 * change to the linear mapping of the pages that back this VM area. in change_memory_common()
96 for (i = 0; i < area->nr_pages; i++) { in change_memory_common()
97 __change_memory_common((u64)page_address(area in change_memory_common()
[all...]
/kernel/linux/linux-6.6/arch/arm64/mm/
H A Dpageattr.c73 struct vm_struct *area; in change_memory_common() local
93 * covered by precisely one VM area that has the VM_ALLOC flag set. in change_memory_common()
95 area = find_vm_area((void *)addr); in change_memory_common()
96 if (!area || in change_memory_common()
97 end > (unsigned long)kasan_reset_tag(area->addr) + area->size || in change_memory_common()
98 !(area->flags & VM_ALLOC)) in change_memory_common()
106 * change to the linear mapping of the pages that back this VM area. in change_memory_common()
110 for (i = 0; i < area->nr_pages; i++) { in change_memory_common()
111 __change_memory_common((u64)page_address(area in change_memory_common()
[all...]
/kernel/linux/linux-5.10/arch/xtensa/mm/
H A Dioremap.c19 struct vm_struct *area; in xtensa_ioremap() local
29 area = get_vm_area(size, VM_IOREMAP); in xtensa_ioremap()
30 if (!area) in xtensa_ioremap()
33 vaddr = (unsigned long)area->addr; in xtensa_ioremap()
34 area->phys_addr = paddr; in xtensa_ioremap()
/kernel/linux/linux-5.10/arch/um/kernel/
H A Dinitrd.c19 void *area; in read_initrd() local
39 area = memblock_alloc(size, SMP_CACHE_BYTES); in read_initrd()
40 if (!area) in read_initrd()
43 if (load_initrd(initrd, area, size) == -1) in read_initrd()
46 initrd_start = (unsigned long) area; in read_initrd()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dhgafb.c483 static void hgafb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in hgafb_copyarea() argument
489 if (area->dy <= area->sy) { in hgafb_copyarea()
490 y1 = area->sy; in hgafb_copyarea()
491 y2 = area->dy; in hgafb_copyarea()
493 for (rows = area->height; rows--; ) { in hgafb_copyarea()
494 src = rowaddr(info, y1) + (area->sx >> 3); in hgafb_copyarea()
495 dest = rowaddr(info, y2) + (area->dx >> 3); in hgafb_copyarea()
496 memmove(dest, src, (area->width >> 3)); in hgafb_copyarea()
501 y1 = area in hgafb_copyarea()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dhgafb.c483 static void hgafb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in hgafb_copyarea() argument
489 if (area->dy <= area->sy) { in hgafb_copyarea()
490 y1 = area->sy; in hgafb_copyarea()
491 y2 = area->dy; in hgafb_copyarea()
493 for (rows = area->height; rows--; ) { in hgafb_copyarea()
494 src = rowaddr(info, y1) + (area->sx >> 3); in hgafb_copyarea()
495 dest = rowaddr(info, y2) + (area->dx >> 3); in hgafb_copyarea()
496 memmove(dest, src, (area->width >> 3)); in hgafb_copyarea()
501 y1 = area in hgafb_copyarea()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c351 static void dmm_txn_append(struct dmm_txn *txn, struct pat_area *area, in dmm_txn_append() argument
358 int columns = (1 + area->x1 - area->x0); in dmm_txn_append()
359 int rows = (1 + area->y1 - area->y0); in dmm_txn_append()
367 pat->area = *area; in dmm_txn_append()
370 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append()
371 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append()
466 static int fill(struct tcm_area *area, struc argument
780 struct tcm_area area = {0}; omap_dmm_probe() local
1176 struct tcm_area area; omap_dmm_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c344 static void dmm_txn_append(struct dmm_txn *txn, struct pat_area *area, in dmm_txn_append() argument
351 int columns = (1 + area->x1 - area->x0); in dmm_txn_append()
352 int rows = (1 + area->y1 - area->y0); in dmm_txn_append()
360 pat->area = *area; in dmm_txn_append()
363 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append()
364 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append()
459 static int fill(struct tcm_area *area, struc argument
771 struct tcm_area area = {0}; omap_dmm_probe() local
1164 struct tcm_area area; omap_dmm_resume() local
[all...]

Completed in 29 milliseconds

12345678910>>...26