Home
last modified time | relevance | path

Searched refs:pg (Results 1 – 25 of 94) sorted by relevance

1234

/arch/powerpc/mm/
Dpgtable.c91 struct page *pg = maybe_pte_to_page(pte); in set_pte_filter() local
92 if (!pg) in set_pte_filter()
94 if (!test_bit(PG_arch_1, &pg->flags)) { in set_pte_filter()
95 flush_dcache_icache_page(pg); in set_pte_filter()
96 set_bit(PG_arch_1, &pg->flags); in set_pte_filter()
116 struct page *pg; in set_pte_filter() local
123 pg = maybe_pte_to_page(pte); in set_pte_filter()
124 if (unlikely(!pg)) in set_pte_filter()
128 if (test_bit(PG_arch_1, &pg->flags)) in set_pte_filter()
133 flush_dcache_icache_page(pg); in set_pte_filter()
[all …]
/arch/microblaze/kernel/
DMakefile8 CFLAGS_REMOVE_timer.o = -pg
9 CFLAGS_REMOVE_intc.o = -pg
10 CFLAGS_REMOVE_early_printk.o = -pg
11 CFLAGS_REMOVE_heartbeat.o = -pg
12 CFLAGS_REMOVE_ftrace.o = -pg
13 CFLAGS_REMOVE_process.o = -pg
/arch/m32r/include/asm/
Dcacheflush.h22 #define flush_icache_page(vma,pg) _flush_cache_copyback_all() argument
23 #define flush_icache_user_range(vma,pg,adr,len) _flush_cache_copyback_all() argument
28 #define flush_icache_page(vma,pg) smp_flush_cache_all() argument
29 #define flush_icache_user_range(vma,pg,adr,len) smp_flush_cache_all() argument
43 #define flush_icache_page(vma,pg) _flush_cache_all() argument
44 #define flush_icache_user_range(vma,pg,adr,len) _flush_cache_all() argument
57 #define flush_icache_page(vma,pg) do { } while (0) argument
58 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
/arch/unicore32/include/asm/
Dcpu-single.h25 unsigned long pg; \
27 : "=r" (pg) : : "cc"); \
28 pg &= ~0x0fff; \
29 (pgd_t *)phys_to_virt(pg); \
/arch/xtensa/boot/lib/
DMakefile12 CFLAGS_REMOVE_inflate.o = -pg
13 CFLAGS_REMOVE_zmem.o = -pg
14 CFLAGS_REMOVE_inftrees.o = -pg
15 CFLAGS_REMOVE_inffast.o = -pg
/arch/arm/include/asm/
Dproc-fns.h171 u64 pg = cpu_get_ttbr(0); \
172 pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \
173 (pgd_t *)phys_to_virt(pg); \
178 unsigned long pg; \
180 : "=r" (pg) : : "cc"); \
181 pg &= ~0x3fff; \
182 (pgd_t *)phys_to_virt(pg); \
Dpage-nommu.h17 #define clear_user_page(page, vaddr, pg) clear_page(page) argument
18 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) argument
/arch/sh/include/asm/
Dpgalloc.h45 void *pg; in pte_alloc_one() local
47 pg = quicklist_alloc(QUICK_PT, GFP_KERNEL, NULL); in pte_alloc_one()
48 if (!pg) in pte_alloc_one()
50 page = virt_to_page(pg); in pte_alloc_one()
52 quicklist_free(QUICK_PT, NULL, pg); in pte_alloc_one()
/arch/powerpc/platforms/powernv/
Dopal-powercap.c30 struct attribute_group pg; member
194 pcaps[i].pg.attrs = kcalloc(j + 1, sizeof(struct attribute *), in opal_powercap_init()
196 if (!pcaps[i].pg.attrs) { in opal_powercap_init()
202 pcaps[i].pg.name = node->name; in opal_powercap_init()
206 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
213 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
222 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
226 if (sysfs_create_group(powercap_kobj, &pcaps[i].pg)) { in opal_powercap_init()
228 pcaps[i].pg.name); in opal_powercap_init()
239 kfree(pcaps[i].pg.attrs); in opal_powercap_init()
/arch/microblaze/lib/
DMakefile7 CFLAGS_REMOVE_ashldi3.o = -pg
8 CFLAGS_REMOVE_ashrdi3.o = -pg
9 CFLAGS_REMOVE_lshrdi3.o = -pg
/arch/ia64/include/asm/
Dpgalloc.h89 void *pg; in pte_alloc_one() local
91 pg = quicklist_alloc(0, GFP_KERNEL, NULL); in pte_alloc_one()
92 if (!pg) in pte_alloc_one()
94 page = virt_to_page(pg); in pte_alloc_one()
96 quicklist_free(0, NULL, pg); in pte_alloc_one()
/arch/arm/mach-vexpress/
DMakefile11 CFLAGS_REMOVE_dcscb.o = -pg
13 CFLAGS_REMOVE_spc.o = -pg
16 CFLAGS_REMOVE_tc2_pm.o = -pg
/arch/parisc/kernel/
DMakefile17 CFLAGS_REMOVE_ftrace.o = -pg
18 CFLAGS_REMOVE_cache.o = -pg
19 CFLAGS_REMOVE_perf.o = -pg
20 CFLAGS_REMOVE_unwind.o = -pg
/arch/s390/kernel/
Dvdso.c318 struct page *pg = virt_to_page(vdso32_kbase + i*PAGE_SIZE); in vdso_init() local
319 ClearPageReserved(pg); in vdso_init()
320 get_page(pg); in vdso_init()
321 vdso32_pagelist[i] = pg; in vdso_init()
336 struct page *pg = virt_to_page(vdso64_kbase + i*PAGE_SIZE); in vdso_init() local
337 ClearPageReserved(pg); in vdso_init()
338 get_page(pg); in vdso_init()
339 vdso64_pagelist[i] = pg; in vdso_init()
/arch/tile/kernel/vdso/
DMakefile20 CFLAGS_REMOVE_vdso.o = -pg
21 CFLAGS_REMOVE_vdso32.o = -pg
22 CFLAGS_REMOVE_vrt_sigreturn.o = -pg
23 CFLAGS_REMOVE_vrt_sigreturn32.o = -pg
24 CFLAGS_REMOVE_vgettimeofday.o = -pg
25 CFLAGS_REMOVE_vgettimeofday32.o = -pg
/arch/tile/kernel/
Dmachine_kexec.c107 static unsigned char *kexec_bn2cl(void *pg) in kexec_bn2cl() argument
115 bhdrp = (struct Elf32_Bhdr *) pg; in kexec_bn2cl()
129 csum = ip_compute_csum(pg, bhdrp->b_size); in kexec_bn2cl()
147 ((unsigned char *) pg) + bhdrp->b_size) { in kexec_bn2cl()
159 if (((unsigned long)desc & PAGE_MASK) != (unsigned long)pg) { in kexec_bn2cl()
Dpci-dma.c43 struct page *pg; in tile_dma_alloc_coherent() local
61 pg = homecache_alloc_pages_node(node, gfp, order, PAGE_HOME_DMA); in tile_dma_alloc_coherent()
62 if (pg == NULL) in tile_dma_alloc_coherent()
65 addr = page_to_phys(pg); in tile_dma_alloc_coherent()
67 __homecache_free_pages(pg, order); in tile_dma_alloc_coherent()
73 return page_address(pg); in tile_dma_alloc_coherent()
344 struct page *pg; in tile_pci_dma_alloc_coherent() local
349 pg = homecache_alloc_pages_node(node, gfp, order, PAGE_HOME_DMA); in tile_pci_dma_alloc_coherent()
350 if (pg == NULL) in tile_pci_dma_alloc_coherent()
353 addr = page_to_phys(pg); in tile_pci_dma_alloc_coherent()
[all …]
/arch/arm64/include/asm/
Dpage.h35 #define clear_user_page(addr,vaddr,pg) __cpu_clear_user_page(addr, vaddr) argument
36 #define copy_user_page(to,from,vaddr,pg) __cpu_copy_user_page(to, from, vaddr) argument
/arch/x86/xen/
DMakefile7 CFLAGS_REMOVE_spinlock.o = -pg
8 CFLAGS_REMOVE_time.o = -pg
9 CFLAGS_REMOVE_irq.o = -pg
/arch/x86/kernel/
DMakefile16 CFLAGS_REMOVE_tsc.o = -pg
17 CFLAGS_REMOVE_paravirt-spinlocks.o = -pg
18 CFLAGS_REMOVE_pvclock.o = -pg
19 CFLAGS_REMOVE_kvmclock.o = -pg
20 CFLAGS_REMOVE_ftrace.o = -pg
21 CFLAGS_REMOVE_early_printk.o = -pg
22 CFLAGS_REMOVE_head64.o = -pg
/arch/tile/lib/
DMakefile18 CFLAGS_REMOVE_cacheflush.o = -pg
19 CFLAGS_REMOVE_memcpy_user_64.o = -pg
/arch/cris/include/asm/
Dcacheflush.h21 #define flush_icache_page(vma,pg) do { } while (0) argument
22 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
/arch/hexagon/include/asm/
Dcacheflush.h50 #define flush_icache_page(vma, pg) do { } while (0) argument
51 #define flush_icache_user_range(vma, pg, adr, len) do { } while (0) argument
/arch/microblaze/mm/
Dpgtable.c142 pte_t *pg; in map_page() local
147 pg = pte_alloc_kernel(pd, va); /* from powerpc - pgtable.c */ in map_page()
150 if (pg != NULL) { in map_page()
152 set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, in map_page()
/arch/m68k/include/asm/
Dpage_no.h13 #define clear_user_page(page, vaddr, pg) clear_page(page) argument
14 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) argument

1234