/Linux-v5.10/drivers/media/common/siano/ |
D | smsdvb-debugfs.c | 27 char stats_data[PAGE_SIZE]; 48 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 50 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 52 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 54 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 56 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 58 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 60 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 62 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 64 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() [all …]
|
/Linux-v5.10/tools/testing/scatterlist/ |
D | main.c | 24 ((1 + array[i]) * PAGE_SIZE); in set_pages() 55 { -EINVAL, 1, pfn(0), PAGE_SIZE, 0, 1 }, in main() 56 { 0, 1, pfn(0), PAGE_SIZE, PAGE_SIZE + 1, 1 }, in main() 57 { 0, 1, pfn(0), PAGE_SIZE, sgmax + 1, 1 }, in main() 58 { 0, 1, pfn(0), PAGE_SIZE, sgmax, 1 }, in main() 60 { 0, 2, pfn(0, 1), 2 * PAGE_SIZE, sgmax, 1 }, in main() 61 { 0, 2, pfn(1, 0), 2 * PAGE_SIZE, sgmax, 2 }, in main() 62 { 0, 3, pfn(0, 1, 2), 3 * PAGE_SIZE, sgmax, 1 }, in main() 63 { 0, 3, pfn(0, 2, 1), 3 * PAGE_SIZE, sgmax, 3 }, in main() 64 { 0, 3, pfn(0, 1, 3), 3 * PAGE_SIZE, sgmax, 2 }, in main() [all …]
|
/Linux-v5.10/tools/testing/selftests/vm/ |
D | va_128TBswitch.c | 15 #define PAGE_SIZE (64 << 10) macro 21 #define PAGE_SIZE (4 << 10) macro 48 .addr = ((void *)(ADDR_SWITCH_HINT - PAGE_SIZE)), 49 .size = PAGE_SIZE, 60 .addr = ((void *)(ADDR_SWITCH_HINT - PAGE_SIZE)), 61 .size = 2 * PAGE_SIZE, 72 .size = PAGE_SIZE, 79 .size = 2 * PAGE_SIZE, 85 .size = 2 * PAGE_SIZE, 92 .size = 2 * PAGE_SIZE, [all …]
|
/Linux-v5.10/lib/raid6/test/ |
D | test.c | 21 const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE))); 25 char data[NDISKS][PAGE_SIZE] __attribute__((aligned(PAGE_SIZE))); 26 char recovi[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE))); 27 char recovj[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE))); 34 for (j = 0; j < PAGE_SIZE; j++) in makedata() 57 memset(recovi, 0xf0, PAGE_SIZE); in test_disks() 58 memset(recovj, 0xba, PAGE_SIZE); in test_disks() 63 raid6_dual_recov(NDISKS, PAGE_SIZE, i, j, (void **)&dataptrs); in test_disks() 65 erra = memcmp(data[i], recovi, PAGE_SIZE); in test_disks() 66 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks() [all …]
|
/Linux-v5.10/arch/nds32/mm/ |
D | init.c | 80 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in map_ram() 83 __func__, PAGE_SIZE, PAGE_SIZE); in map_ram() 88 v += PAGE_SIZE, p += PAGE_SIZE, j++, pte++) { in map_ram() 111 fixmap_pmd_p = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in fixedrange_init() 114 __func__, PAGE_SIZE, PAGE_SIZE); in fixedrange_init() 124 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in fixedrange_init() 127 __func__, PAGE_SIZE, PAGE_SIZE); in fixedrange_init() 152 zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init() 155 __func__, PAGE_SIZE, PAGE_SIZE); in paging_init() 209 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init() [all …]
|
/Linux-v5.10/arch/um/kernel/ |
D | mem.c | 43 memset(empty_zero_page, 0, PAGE_SIZE); in mem_init() 68 pte_t *pte = (pte_t *) memblock_alloc_low(PAGE_SIZE, in one_page_table_init() 69 PAGE_SIZE); in one_page_table_init() 72 __func__, PAGE_SIZE, PAGE_SIZE); in one_page_table_init() 84 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init() 87 __func__, PAGE_SIZE, PAGE_SIZE); in one_md_table_init() 136 v = (unsigned long) memblock_alloc_low(size, PAGE_SIZE); in fixaddr_user_init() 139 __func__, size, PAGE_SIZE); in fixaddr_user_init() 143 for ( ; size > 0; size -= PAGE_SIZE, vaddr += PAGE_SIZE, in fixaddr_user_init() 144 p += PAGE_SIZE) { in fixaddr_user_init() [all …]
|
/Linux-v5.10/arch/s390/kernel/ |
D | vmlinux.lds.S | 51 . = ALIGN(PAGE_SIZE); 55 RO_DATA(PAGE_SIZE) 57 . = ALIGN(PAGE_SIZE); 60 . = ALIGN(PAGE_SIZE); 67 . = ALIGN(PAGE_SIZE); 70 RW_DATA(0x100, PAGE_SIZE, THREAD_SIZE) 76 . = ALIGN(PAGE_SIZE); /* Init code and data */ 79 . = ALIGN(PAGE_SIZE); 83 . = ALIGN(PAGE_SIZE); 139 . = ALIGN(PAGE_SIZE); [all …]
|
/Linux-v5.10/lib/ |
D | test_user_copy.c | 52 if (test(size < 2 * PAGE_SIZE, "buffer too small")) in test_check_nonzero_user() 62 start = PAGE_SIZE - (size / 2); in test_check_nonzero_user() 194 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init() 198 user_addr = vm_mmap(NULL, 0, PAGE_SIZE * 2, in test_user_copy_init() 213 memset(kmem, 0x3a, PAGE_SIZE * 2); in test_user_copy_init() 214 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init() 216 memset(kmem, 0x0, PAGE_SIZE); in test_user_copy_init() 217 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init() 219 ret |= test(memcmp(kmem, kmem + PAGE_SIZE, PAGE_SIZE), in test_user_copy_init() 248 ret |= test_check_nonzero_user(kmem, usermem, 2 * PAGE_SIZE); in test_user_copy_init() [all …]
|
/Linux-v5.10/arch/m68k/mm/ |
D | sun3mmu.c | 47 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init() 50 __func__, PAGE_SIZE, PAGE_SIZE); in paging_init() 58 size = (size + PAGE_SIZE) & ~(PAGE_SIZE-1); in paging_init() 60 next_pgtable = (unsigned long)memblock_alloc(size, PAGE_SIZE); in paging_init() 63 __func__, size, PAGE_SIZE); in paging_init() 64 bootmem_end = (next_pgtable + size + PAGE_SIZE) & PAGE_MASK; in paging_init() 82 address += PAGE_SIZE; in paging_init()
|
D | motorola.c | 116 #define ptable_mask(type) ((1U << (PAGE_SIZE / ptable_size(type))) - 1) 230 pte_table = memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in kernel_page_table() 233 __func__, PAGE_SIZE, PAGE_SIZE); in kernel_page_table() 278 last_pmd_table = memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in kernel_ptr_table() 281 __func__, PAGE_SIZE, PAGE_SIZE); in kernel_ptr_table() 354 physaddr += PAGE_SIZE; in map_node() 355 for (i = 1; i < PTRS_PER_PTE; physaddr += PAGE_SIZE, i++) in map_node() 375 size -= PAGE_SIZE; in map_node() 376 virtaddr += PAGE_SIZE; in map_node() 377 physaddr += PAGE_SIZE; in map_node() [all …]
|
/Linux-v5.10/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 54 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 61 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 67 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 73 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 80 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show() 86 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show() 103 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show() 112 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show() 122 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show() 130 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_disc_time_show() [all …]
|
/Linux-v5.10/drivers/target/ |
D | target_core_stat.c | 55 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show() 60 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 65 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show() 70 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 105 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show() 110 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show() 116 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show() 123 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show() 125 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show() 138 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_tgt_non_access_lus_show() [all …]
|
/Linux-v5.10/arch/csky/kernel/ |
D | vmlinux.lds.S | 28 INIT_TEXT_SECTION(PAGE_SIZE) 29 INIT_DATA_SECTION(PAGE_SIZE) 31 . = ALIGN(PAGE_SIZE); 49 . = ALIGN(PAGE_SIZE); 53 RO_DATA(PAGE_SIZE) 54 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 59 . = ALIGN(PAGE_SIZE); 79 #define ITCM_SIZE CONFIG_ITCM_NR_PAGES * PAGE_SIZE 100 . = ALIGN(PAGE_SIZE); 106 BSS_SECTION(L1_CACHE_BYTES, PAGE_SIZE, L1_CACHE_BYTES)
|
/Linux-v5.10/arch/x86/kernel/ |
D | vmlinux.lds.S | 84 . = ALIGN(PAGE_SIZE); \ 93 . = ALIGN(PAGE_SIZE); \ 152 . = ALIGN(PAGE_SIZE); 155 RO_DATA(PAGE_SIZE) 171 PAGE_ALIGNED_DATA(PAGE_SIZE) 189 . = ALIGN(PAGE_SIZE); 207 . = __vvar_beginning_hack + PAGE_SIZE; 210 . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); 213 . = ALIGN(PAGE_SIZE); 229 INIT_TEXT_SECTION(PAGE_SIZE) [all …]
|
/Linux-v5.10/arch/m68k/kernel/ |
D | sys_m68k.c | 107 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_040() 113 tmp = PAGE_SIZE; in cache_flush_040() 125 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; in cache_flush_040() 159 addr += PAGE_SIZE; in cache_flush_040() 160 i = PAGE_SIZE / 16; in cache_flush_040() 170 addr += PAGE_SIZE; in cache_flush_040() 180 len += (addr & ~PAGE_MASK) + (PAGE_SIZE - 1); in cache_flush_040() 181 for (len >>= PAGE_SHIFT; len--; addr += PAGE_SIZE) in cache_flush_040() 268 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_060() 274 tmp = PAGE_SIZE; in cache_flush_060() [all …]
|
/Linux-v5.10/arch/parisc/kernel/ |
D | vmlinux.lds.S | 64 . = ALIGN(PAGE_SIZE); 65 INIT_DATA_SECTION(PAGE_SIZE) 85 .text ALIGN(PAGE_SIZE) : { 105 . = ALIGN(PAGE_SIZE); 149 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, PAGE_SIZE) 161 BSS_SECTION(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE)
|
/Linux-v5.10/drivers/s390/crypto/ |
D | ap_queue.c | 460 return scnprintf(buf, PAGE_SIZE, "%llu\n", req_cnt); in request_count_show() 462 return scnprintf(buf, PAGE_SIZE, "-\n"); in request_count_show() 490 return scnprintf(buf, PAGE_SIZE, "%d\n", reqq_cnt); in requestq_count_show() 505 return scnprintf(buf, PAGE_SIZE, "%d\n", penq_cnt); in pendingq_count_show() 520 rc = scnprintf(buf, PAGE_SIZE, "Reset in progress.\n"); in reset_show() 524 rc = scnprintf(buf, PAGE_SIZE, "Reset Timer armed.\n"); in reset_show() 527 rc = scnprintf(buf, PAGE_SIZE, "No Reset Timer set.\n"); in reset_show() 561 rc = scnprintf(buf, PAGE_SIZE, "Enable Interrupt pending.\n"); in interrupt_show() 563 rc = scnprintf(buf, PAGE_SIZE, "Interrupts enabled.\n"); in interrupt_show() 565 rc = scnprintf(buf, PAGE_SIZE, "Interrupts disabled.\n"); in interrupt_show() [all …]
|
D | zcrypt_cex4.c | 90 return scnprintf(buf, PAGE_SIZE, "%s\n", ci.serial); in cca_serialnr_show() 125 n = scnprintf(buf, PAGE_SIZE, "AES NEW: %s 0x%016llx\n", in cca_mkvps_show() 129 n = scnprintf(buf, PAGE_SIZE, "AES NEW: - -\n"); in cca_mkvps_show() 132 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 137 n += scnprintf(buf + n, PAGE_SIZE - n, "AES CUR: - -\n"); in cca_mkvps_show() 140 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 145 n += scnprintf(buf + n, PAGE_SIZE - n, "AES OLD: - -\n"); in cca_mkvps_show() 148 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 153 n += scnprintf(buf + n, PAGE_SIZE - n, "APKA NEW: - -\n"); in cca_mkvps_show() 156 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() [all …]
|
/Linux-v5.10/arch/x86/mm/ |
D | cpu_entry_area.c | 28 BUILD_BUG_ON(sizeof(struct cpu_entry_area) % PAGE_SIZE != 0); in get_cpu_entry_area() 56 for ( ; pages; pages--, cea_vaddr+= PAGE_SIZE, ptr += PAGE_SIZE) in cea_map_percpu_pages() 70 npages = sizeof(struct debug_store) / PAGE_SIZE; in percpu_setup_debug_store() 71 BUILD_BUG_ON(sizeof(struct debug_store) % PAGE_SIZE != 0); in percpu_setup_debug_store() 80 npages = sizeof(struct debug_store_buffers) / PAGE_SIZE; in percpu_setup_debug_store() 81 for (; npages; npages--, cea += PAGE_SIZE) in percpu_setup_debug_store() 89 npages = sizeof(estacks->name## _stack) / PAGE_SIZE; \ 100 BUILD_BUG_ON(sizeof(exception_stacks) % PAGE_SIZE != 0); in percpu_setup_exception_stacks() 173 BUILD_BUG_ON(sizeof(struct tss_struct) % PAGE_SIZE != 0); in setup_cpu_entry_area() 183 sizeof(struct tss_struct) / PAGE_SIZE, tss_prot); in setup_cpu_entry_area() [all …]
|
/Linux-v5.10/arch/ia64/mm/ |
D | init.c | 117 vma->vm_end = vma->vm_start + PAGE_SIZE; in ia64_init_addr_space() 134 vma->vm_end = PAGE_SIZE; in ia64_init_addr_space() 196 for (; start < end; start += PAGE_SIZE) { in free_initrd_mem() 252 page = virt_to_page(ia64_imva(__start_gate_section + PAGE_SIZE)); in setup_gate() 253 put_kernel_page(page, GATE_ADDR + PAGE_SIZE, PAGE_GATE); in setup_gate() 260 for (addr = GATE_ADDR + PAGE_SIZE; in setup_gate() 262 addr += PAGE_SIZE) in setup_gate() 420 end_address += PAGE_SIZE; in vmemmap_find_next_valid_pfn() 455 for (address = start_page; address < end_page; address += PAGE_SIZE) { in create_mem_map_page_table() 458 p4d = memblock_alloc_node(PAGE_SIZE, PAGE_SIZE, node); in create_mem_map_page_table() [all …]
|
/Linux-v5.10/arch/alpha/mm/ |
D | init.c | 79 memset((void *) EMPTY_PGT, 0, PAGE_SIZE); in __bad_pagetable() 86 memset((void *) EMPTY_PGE, 0, PAGE_SIZE); in __bad_page() 108 memset(swapper_pg_dir, 0, PAGE_SIZE); in switch_to_system_map() 184 kernel_end = two_pages + 2*PAGE_SIZE; in callback_init() 185 memset(two_pages, 0, 2*PAGE_SIZE); in callback_init() 192 pmd_set(pmd, (pte_t *)(two_pages + PAGE_SIZE)); in callback_init() 207 vm_area_register_early(&console_remap_vm, PAGE_SIZE); in callback_init() 221 memset(kernel_end, 0, PAGE_SIZE); in callback_init() 224 kernel_end += PAGE_SIZE; in callback_init() 229 vaddr += PAGE_SIZE; in callback_init() [all …]
|
/Linux-v5.10/arch/x86/include/asm/ |
D | pgtable_32_areas.h | 27 #define CPU_ENTRY_AREA_PAGES (NR_CPUS * DIV_ROUND_UP(sizeof(struct cpu_entry_area), PAGE_SIZE)) 31 ((FIXADDR_TOT_START - PAGE_SIZE*(CPU_ENTRY_AREA_PAGES+1)) & PMD_MASK) 34 ((CPU_ENTRY_AREA_BASE - PAGE_SIZE) & PMD_MASK) 39 ((LDT_BASE_ADDR - PAGE_SIZE) & PMD_MASK) 42 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE) 44 # define VMALLOC_END (LDT_BASE_ADDR - 2 * PAGE_SIZE)
|
D | cpu_entry_area.h | 36 ESTACKS_MEMBERS(PAGE_SIZE, EXCEPTION_STKSZ) 65 (sizeof(struct cea_exception_stacks) / PAGE_SIZE) 71 unsigned long stack[(PAGE_SIZE - sizeof(struct x86_hw_tss)) / sizeof(unsigned long)]; 73 } __aligned(PAGE_SIZE); 85 char gdt[PAGE_SIZE]; 93 char guard_entry_stack[PAGE_SIZE]; 98 char guard_doublefault_stack[PAGE_SIZE]; 130 #define CPU_ENTRY_AREA_TOTAL_SIZE (CPU_ENTRY_AREA_ARRAY_SIZE + PAGE_SIZE)
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | fixmap.h | 28 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE) 30 #define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE)) 55 FIX_EARLY_DEBUG_BASE = FIX_EARLY_DEBUG_TOP+(ALIGN(SZ_128K, PAGE_SIZE)/PAGE_SIZE)-1, 62 #define FIX_IMMR_SIZE (512 * 1024 / PAGE_SIZE) 69 #define FIX_IMMR_SIZE (SZ_2M / PAGE_SIZE) 77 #define NR_FIX_BTMAPS (SZ_256K / PAGE_SIZE)
|
/Linux-v5.10/block/partitions/ |
D | acorn.c | 43 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition() 44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition() 45 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition() 81 strlcat(state->pp_buf, " [RISCiX]", PAGE_SIZE); in riscix_partition() 88 strlcat(state->pp_buf, " <", PAGE_SIZE); in riscix_partition() 97 strlcat(state->pp_buf, "(", PAGE_SIZE); in riscix_partition() 98 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); in riscix_partition() 99 strlcat(state->pp_buf, ")", PAGE_SIZE); in riscix_partition() 103 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in riscix_partition() 133 strlcat(state->pp_buf, " [Linux]", PAGE_SIZE); in linux_partition() [all …]
|