/linux/drivers/media/common/siano/ |
A 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/tools/testing/scatterlist/ |
A D | main.c | 25 ((1 + array[i]) * PAGE_SIZE); in set_pages() 56 { -EINVAL, 1, pfn(0), NULL, PAGE_SIZE, 0, 1 }, in main() 57 { 0, 1, pfn(0), NULL, PAGE_SIZE, PAGE_SIZE + 1, 1 }, in main() 58 { 0, 1, pfn(0), NULL, PAGE_SIZE, sgmax, 1 }, in main() 60 { 0, 2, pfn(0, 1), NULL, 2 * PAGE_SIZE, sgmax, 1 }, in main() 61 { 0, 2, pfn(1, 0), NULL, 2 * PAGE_SIZE, sgmax, 2 }, in main() 74 { 0, 5, pfn(0, 1, 2, 3, 4), NULL, 5 * PAGE_SIZE, 2 * PAGE_SIZE, in main() 76 { 0, 6, pfn(0, 1, 2, 3, 4, 5), NULL, 6 * PAGE_SIZE, in main() 77 2 * PAGE_SIZE, 3 }, in main() 79 2 * PAGE_SIZE, 4 }, in main() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | va_128TBswitch.c | 15 #define PAGE_SIZE (64 << 10) macro 21 #define PAGE_SIZE (4 << 10) macro 49 .size = 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, 99 .size = 2 * PAGE_SIZE, 132 .size = PAGE_SIZE, [all …]
|
/linux/arch/s390/kernel/ |
A D | vmlinux.lds.S | 54 . = ALIGN(PAGE_SIZE); 58 RO_DATA(PAGE_SIZE) 60 . = ALIGN(PAGE_SIZE); 63 . = ALIGN(PAGE_SIZE); 70 . = ALIGN(PAGE_SIZE); 89 . = ALIGN(PAGE_SIZE); 93 . = ALIGN(PAGE_SIZE); 152 . = ALIGN(PAGE_SIZE); 167 . = ALIGN(PAGE_SIZE); 171 . = ALIGN(PAGE_SIZE); [all …]
|
/linux/arch/nds32/mm/ |
A 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 (LAST_PKMAP * PAGE_SIZE) >> 10, in mem_init() [all …]
|
/linux/lib/raid6/test/ |
A 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() 65 erra = memcmp(data[i], recovi, PAGE_SIZE); in test_disks() 66 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks() 113 memset(data[NDISKS-2], 0xee, 2*PAGE_SIZE); in main() [all …]
|
/linux/arch/um/kernel/ |
A D | mem.c | 43 memset(empty_zero_page, 0, PAGE_SIZE); in mem_init() 67 pte_t *pte = (pte_t *) memblock_alloc_low(PAGE_SIZE, in one_page_table_init() 68 PAGE_SIZE); in one_page_table_init() 71 __func__, PAGE_SIZE, PAGE_SIZE); in one_page_table_init() 82 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init() 85 __func__, PAGE_SIZE, PAGE_SIZE); in one_md_table_init() 137 __func__, size, PAGE_SIZE); in fixaddr_user_init() 141 for ( ; size > 0; size -= PAGE_SIZE, vaddr += PAGE_SIZE, in fixaddr_user_init() 142 p += PAGE_SIZE) { in fixaddr_user_init() 155 PAGE_SIZE); in paging_init() [all …]
|
/linux/lib/ |
A D | test_user_copy.c | 62 start = PAGE_SIZE - (size / 2); in test_check_nonzero_user() 213 memset(kmem, 0x3a, PAGE_SIZE * 2); in test_user_copy_init() 216 memset(kmem, 0x0, PAGE_SIZE); in test_user_copy_init() 219 ret |= test(memcmp(kmem, kmem + PAGE_SIZE, PAGE_SIZE), in test_user_copy_init() 257 memset(kmem, 0x5a, PAGE_SIZE); in test_user_copy_init() 258 memset(kmem + PAGE_SIZE, 0, PAGE_SIZE); in test_user_copy_init() 262 PAGE_SIZE), in test_user_copy_init() 266 ret |= test(memcmp(kmem + PAGE_SIZE, kmem, PAGE_SIZE), in test_user_copy_init() 277 PAGE_SIZE), in test_user_copy_init() 281 PAGE_SIZE), in test_user_copy_init() [all …]
|
/linux/drivers/target/ |
A D | target_core_stat.c | 141 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_tgt_resets_show() 148 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_tgt_aborts_complete_show() 155 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_tgt_aborts_no_task_show() 205 return snprintf(page, PAGE_SIZE, "%u\n", in target_stat_lu_dev_show() 225 return snprintf(page, PAGE_SIZE, "%s\n", in target_stat_lu_lu_name_show() 259 return snprintf(page, PAGE_SIZE, "%u\n", in target_stat_lu_dev_type_show() 268 return snprintf(page, PAGE_SIZE, "%s\n", in target_stat_lu_status_show() 285 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_lu_num_cmds_show() 295 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_lu_read_mbytes_show() 868 ret = snprintf(page, PAGE_SIZE, "%u\n", in target_stat_auth_inst_show() [all …]
|
/linux/drivers/target/iscsi/ |
A D | iscsi_target_stat.c | 53 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 72 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 85 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show() 111 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show() 121 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show() 199 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_err_inst_show() 261 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_tgt_attr_inst_show() 401 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_login_inst_show() 533 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_logout_inst_show() 611 ret = snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_node_show() [all …]
|
/linux/arch/arm64/kernel/ |
A D | vmlinux.lds.S | 18 . = ALIGN(PAGE_SIZE); \ 22 . = ALIGN(PAGE_SIZE); \ 27 . = ALIGN(PAGE_SIZE); \ 42 . = ALIGN(PAGE_SIZE); \ 78 . = ALIGN(PAGE_SIZE); \ 85 . = ALIGN(PAGE_SIZE); \ 193 RO_DATA(PAGE_SIZE) 203 . += PAGE_SIZE; 207 . += PAGE_SIZE; 210 . += PAGE_SIZE; [all …]
|
/linux/arch/x86/kernel/ |
A D | vmlinux.lds.S | 152 . = ALIGN(PAGE_SIZE); 155 RO_DATA(PAGE_SIZE) 189 . = ALIGN(PAGE_SIZE); 210 . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); 213 . = ALIGN(PAGE_SIZE); 346 . = ALIGN(PAGE_SIZE); 357 . = ALIGN(PAGE_SIZE); 361 . = ALIGN(PAGE_SIZE); 372 . = ALIGN(PAGE_SIZE); 376 . = ALIGN(PAGE_SIZE); [all …]
|
/linux/arch/m68k/mm/ |
A 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()
|
A D | motorola.c | 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() 464 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init() [all …]
|
/linux/arch/m68k/kernel/ |
A D | sys_m68k.c | 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() 274 tmp = PAGE_SIZE; in cache_flush_060() 286 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; in cache_flush_060() 318 addr += PAGE_SIZE; in cache_flush_060() 321 i = PAGE_SIZE / 16; in cache_flush_060() 331 addr += PAGE_SIZE; in cache_flush_060() [all …]
|
/linux/arch/csky/kernel/ |
A D | vmlinux.lds.S | 28 INIT_TEXT_SECTION(PAGE_SIZE) 29 INIT_DATA_SECTION(PAGE_SIZE) 31 . = ALIGN(PAGE_SIZE); 50 . = ALIGN(PAGE_SIZE); 54 RO_DATA(PAGE_SIZE) 55 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 60 . = ALIGN(PAGE_SIZE); 80 #define ITCM_SIZE CONFIG_ITCM_NR_PAGES * PAGE_SIZE 101 . = ALIGN(PAGE_SIZE); 107 BSS_SECTION(L1_CACHE_BYTES, PAGE_SIZE, L1_CACHE_BYTES)
|
/linux/drivers/s390/crypto/ |
A D | ap_queue.c | 494 return scnprintf(buf, PAGE_SIZE, "-\n"); in request_count_show() 635 rc = scnprintf(buf, PAGE_SIZE, "SHUTDOWN"); in states_show() 638 rc = scnprintf(buf, PAGE_SIZE, "ERROR"); in states_show() 641 rc = scnprintf(buf, PAGE_SIZE, "UNKNOWN"); in states_show() 647 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show() 651 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show() 655 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show() 659 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show() 663 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show() 667 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show() [all …]
|
A D | zcrypt_cex4.c | 129 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 137 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 145 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 153 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 161 n += scnprintf(buf + n, PAGE_SIZE - n, in cca_mkvps_show() 201 return scnprintf(buf, PAGE_SIZE, "\n"); in ep11_api_ordinalnr_show() 220 return scnprintf(buf, PAGE_SIZE, "%d.%d\n", in ep11_fw_version_show() 224 return scnprintf(buf, PAGE_SIZE, "\n"); in ep11_fw_version_show() 245 return scnprintf(buf, PAGE_SIZE, "\n"); in ep11_serialnr_show() 280 n += scnprintf(buf + n, PAGE_SIZE - n, in ep11_card_op_modes_show() [all …]
|
/linux/arch/x86/mm/ |
A 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() 180 BUILD_BUG_ON(sizeof(struct tss_struct) % PAGE_SIZE != 0); in setup_cpu_entry_area() 190 sizeof(struct tss_struct) / PAGE_SIZE, tss_prot); in setup_cpu_entry_area() [all …]
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_attr.c | 141 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 161 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 182 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 199 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 220 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 237 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 254 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 269 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show() 371 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_nvme_info_show() 381 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_nvme_info_show() [all …]
|
/linux/arch/parisc/kernel/ |
A 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/block/partitions/ |
A 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() 88 strlcat(state->pp_buf, " <", PAGE_SIZE); in riscix_partition() 97 strlcat(state->pp_buf, "(", PAGE_SIZE); in riscix_partition() 99 strlcat(state->pp_buf, ")", PAGE_SIZE); in riscix_partition() 141 strlcat(state->pp_buf, " <", PAGE_SIZE); in linux_partition() 151 strlcat(state->pp_buf, " >", PAGE_SIZE); in linux_partition() 296 strlcat(state->pp_buf, "\n", PAGE_SIZE); in adfspart_check_ADFS() 403 strlcat(state->pp_buf, "\n", PAGE_SIZE); in adfspart_check_ICS() [all …]
|
/linux/arch/alpha/mm/ |
A 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() 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() 256 memset((void *)ZERO_PGE, 0, PAGE_SIZE); in paging_init() [all …]
|
/linux/fs/btrfs/ |
A D | zlib.c | 24 #define ZLIB_DFLTCC_BUF_SIZE (4 * PAGE_SIZE) 81 workspace->buf_size = PAGE_SIZE; in zlib_alloc_workspace() 136 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_pages() 146 workspace->buf_size / PAGE_SIZE); in zlib_compress_pages() 159 data_in, PAGE_SIZE); in zlib_compress_pages() 160 start += PAGE_SIZE; in zlib_compress_pages() 171 start += PAGE_SIZE; in zlib_compress_pages() 213 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_pages() 251 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_pages() 426 bytes = min(PAGE_SIZE - pg_offset, in zlib_decompress() [all …]
|
/linux/drivers/cpufreq/ |
A D | cpufreq_stats.c | 134 if (len >= PAGE_SIZE) in show_trans_table() 136 len += scnprintf(buf + len, PAGE_SIZE - len, "%9u ", in show_trans_table() 139 if (len >= PAGE_SIZE) in show_trans_table() 140 return PAGE_SIZE; in show_trans_table() 142 len += scnprintf(buf + len, PAGE_SIZE - len, "\n"); in show_trans_table() 145 if (len >= PAGE_SIZE) in show_trans_table() 148 len += scnprintf(buf + len, PAGE_SIZE - len, "%9u: ", in show_trans_table() 152 if (len >= PAGE_SIZE) in show_trans_table() 162 if (len >= PAGE_SIZE) in show_trans_table() 164 len += scnprintf(buf + len, PAGE_SIZE - len, "\n"); in show_trans_table() [all …]
|