/linux-master/include/asm-generic/ |
H A D | page.h | 18 #define PAGE_SIZE (1 << PAGE_SHIFT) macro 20 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro 22 #define PAGE_MASK (~(PAGE_SIZE-1)) 28 #define clear_page(page) memset((page), 0, PAGE_SIZE) 29 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
|
/linux-master/arch/csky/include/asm/ |
H A D | page.h | 14 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) macro 15 #define PAGE_MASK (~(PAGE_SIZE - 1)) 16 #define THREAD_SIZE (PAGE_SIZE * 2) 43 #define clear_page(page) memset((page), 0, PAGE_SIZE) 44 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
|
/linux-master/arch/m68k/kernel/ |
H A D | sys_m68k.c | 45 * This is wrong for sun3 - there PAGE_SIZE is 8Kb, 107 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); 113 tmp = PAGE_SIZE; 125 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; 159 addr += PAGE_SIZE; 160 i = PAGE_SIZE / 16; 170 addr += PAGE_SIZE; 180 len += (addr & ~PAGE_MASK) + (PAGE_SIZE - 1); 181 for (len >>= PAGE_SHIFT; len--; addr += PAGE_SIZE) 268 unsigned long tmp = PAGE_SIZE [all...] |
/linux-master/block/partitions/ |
H A D | acorn.c | 43 strlcat(state->pp_buf, " [", PAGE_SIZE); 44 strlcat(state->pp_buf, name, PAGE_SIZE); 45 strlcat(state->pp_buf, "]", PAGE_SIZE); 81 strlcat(state->pp_buf, " [RISCiX]", PAGE_SIZE); 88 strlcat(state->pp_buf, " <", PAGE_SIZE); 97 strlcat(state->pp_buf, "(", PAGE_SIZE); 98 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); 99 strlcat(state->pp_buf, ")", PAGE_SIZE); 103 strlcat(state->pp_buf, " >\n", PAGE_SIZE); 133 strlcat(state->pp_buf, " [Linux]", PAGE_SIZE); [all...] |
/linux-master/arch/sh/mm/ |
H A D | tlbflush_32.c | 50 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; 61 end += (PAGE_SIZE - 1); 69 start += PAGE_SIZE; 85 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; 94 end += (PAGE_SIZE - 1); 99 start += PAGE_SIZE;
|
/linux-master/arch/microblaze/kernel/ |
H A D | vmlinux.lds.S | 64 . = ALIGN(PAGE_SIZE); /* page aligned when MMU used */ 73 RW_DATA(32, PAGE_SIZE, THREAD_SIZE) 94 . = ALIGN(PAGE_SIZE); 97 INIT_TEXT_SECTION(PAGE_SIZE) 130 .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) { 138 . = ALIGN(PAGE_SIZE);
|
/linux-master/arch/powerpc/mm/ |
H A D | cacheflush.c | 87 unsigned long nb = PAGE_SIZE / bytes; 135 clean_dcache_range(addr, addr + PAGE_SIZE); 148 invalidate_icache_range(addr, addr + PAGE_SIZE); 161 __flush_dcache_icache(addr + i * PAGE_SIZE); 164 void *start = kmap_local_folio(folio, i * PAGE_SIZE); 172 flush_dcache_icache_phys((pfn + i) * PAGE_SIZE);
|
/linux-master/arch/microblaze/include/asm/ |
H A D | page.h | 24 #define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT) macro 25 #define PAGE_MASK (~(PAGE_SIZE-1)) 48 # define copy_page(to, from) memcpy((to), (from), PAGE_SIZE) 49 # define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE) 51 # define clear_user_page(pgaddr, vaddr, page) memset((pgaddr), 0, PAGE_SIZE) 53 memcpy((vto), (vfrom), PAGE_SIZE)
|
/linux-master/drivers/target/ |
H A D | target_core_stat.c | 52 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); 57 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); 62 return snprintf(page, PAGE_SIZE, "Target\n"); 67 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); 102 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); 107 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); 113 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); 120 return snprintf(page, PAGE_SIZE, "activated"); 122 return snprintf(page, PAGE_SIZE, "deactivated"); 135 return snprintf(page, PAGE_SIZE, " [all...] |
/linux-master/arch/x86/mm/ |
H A D | cpu_entry_area.c | 39 max_cea = (CPU_ENTRY_AREA_MAP_SIZE - PAGE_SIZE) / CPU_ENTRY_AREA_SIZE; 73 BUILD_BUG_ON(sizeof(struct cpu_entry_area) % PAGE_SIZE != 0); 101 for ( ; pages; pages--, cea_vaddr+= PAGE_SIZE, ptr += PAGE_SIZE) 115 npages = sizeof(struct debug_store) / PAGE_SIZE; 116 BUILD_BUG_ON(sizeof(struct debug_store) % PAGE_SIZE != 0); 125 npages = sizeof(struct debug_store_buffers) / PAGE_SIZE; 126 for (; npages; npages--, cea += PAGE_SIZE) 134 npages = sizeof(estacks->name## _stack) / PAGE_SIZE; \ 145 BUILD_BUG_ON(sizeof(exception_stacks) % PAGE_SIZE ! [all...] |
/linux-master/net/xfrm/ |
H A D | xfrm_hash.c | 20 if (sz <= PAGE_SIZE) 34 if (sz <= PAGE_SIZE)
|
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | lscsa_alloc.c | 32 for (p = lscsa->ls; p < lscsa->ls + LS_SIZE; p += PAGE_SIZE) 46 for (p = csa->lscsa->ls; p < csa->lscsa->ls + LS_SIZE; p += PAGE_SIZE)
|
/linux-master/arch/arm/mm/ |
H A D | copypage-v4wb.c | 43 : "2" (PAGE_SIZE / 64) 84 : "0" (kaddr), "I" (PAGE_SIZE / 64)
|
H A D | copypage-v4wt.c | 39 : "2" (PAGE_SIZE / 64) 77 : "0" (kaddr), "I" (PAGE_SIZE / 64)
|
H A D | copypage-fa.c | 34 : "2" (PAGE_SIZE / 32) 74 : "0" (kaddr), "I" (PAGE_SIZE / 32)
|
H A D | copypage-xsc3.c | 60 : "2" (PAGE_SIZE / 64 - 1) 96 : "0" (kaddr), "I" (PAGE_SIZE / 32)
|
H A D | copypage-feroceon.c | 62 : "2" (PAGE_SIZE) 99 : "0" (kaddr), "I" (PAGE_SIZE / 32)
|
/linux-master/arch/arc/kernel/ |
H A D | arc_hostlink.c | 16 static unsigned char __HOSTLINK__[4 * PAGE_SIZE] __aligned(PAGE_SIZE);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | highmem.h | 51 #define PKMAP_BASE (FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) 53 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK)
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | hyp.lds.S | 24 . = ALIGN(PAGE_SIZE);
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | igt_mmap.c | 26 offset / PAGE_SIZE, size / PAGE_SIZE);
|
/linux-master/arch/m68k/include/asm/ |
H A D | thread_info.h | 20 #define THREAD_SIZE PAGE_SIZE 22 #define THREAD_SIZE_ORDER ((THREAD_SIZE / PAGE_SIZE) - 1)
|
H A D | page_no.h | 10 #define clear_page(page) memset((page), 0, PAGE_SIZE) 11 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
|
/linux-master/arch/riscv/include/asm/ |
H A D | fixmap.h | 30 FIX_FDT = FIX_FDT_END + FIX_FDT_SIZE / PAGE_SIZE - 1, 46 #define NR_FIX_BTMAPS (SZ_256K / PAGE_SIZE)
|
/linux-master/arch/parisc/mm/ |
H A D | fixmap.c | 24 flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE); 37 flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE);
|