/linux-4.4.14/drivers/media/common/siano/ |
D | smsdvb-debugfs.c | 42 char stats_data[PAGE_SIZE]; 63 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 65 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 67 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 69 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 71 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 73 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 75 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 77 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 79 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() [all …]
|
/linux-4.4.14/lib/raid6/test/ |
D | test.c | 24 const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256))); 28 char data[NDISKS][PAGE_SIZE]; 29 char recovi[PAGE_SIZE], recovj[PAGE_SIZE]; 36 for (j = 0; j < PAGE_SIZE; j++) in makedata() 59 memset(recovi, 0xf0, PAGE_SIZE); in test_disks() 60 memset(recovj, 0xba, PAGE_SIZE); in test_disks() 65 raid6_dual_recov(NDISKS, PAGE_SIZE, i, j, (void **)&dataptrs); in test_disks() 67 erra = memcmp(data[i], recovi, PAGE_SIZE); in test_disks() 68 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks() 115 memset(data[NDISKS-2], 0xee, 2*PAGE_SIZE); in main() [all …]
|
/linux-4.4.14/lib/ |
D | test_user_copy.c | 45 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init() 49 user_addr = vm_mmap(NULL, 0, PAGE_SIZE * 2, in test_user_copy_init() 62 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init() 64 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init() 72 ret |= test(!copy_from_user(kmem, (char __user *)(kmem + PAGE_SIZE), in test_user_copy_init() 73 PAGE_SIZE), in test_user_copy_init() 76 PAGE_SIZE), in test_user_copy_init() 78 ret |= test(!copy_to_user((char __user *)kmem, kmem + PAGE_SIZE, in test_user_copy_init() 79 PAGE_SIZE), in test_user_copy_init() 82 PAGE_SIZE), in test_user_copy_init() [all …]
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 62 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 69 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 75 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 81 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 88 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show() 94 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show() 111 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show() 120 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show() 130 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show() 138 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_disc_time_show() [all …]
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | vmlinux.lds.S | 42 . = ALIGN(PAGE_SIZE); 64 RO_DATA_SECTION(PAGE_SIZE) 70 RW_DATA_SECTION(32, PAGE_SIZE, PAGE_SIZE) 78 . = ALIGN(PAGE_SIZE); 84 INIT_TEXT_SECTION(PAGE_SIZE) 93 . = ALIGN(PAGE_SIZE); 100 . = ALIGN (PAGE_SIZE);
|
/linux-4.4.14/drivers/target/ |
D | target_core_stat.c | 68 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show() 73 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 78 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show() 83 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 118 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show() 123 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show() 129 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show() 136 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show() 138 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show() 151 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_tgt_non_access_lus_show() [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | vmlinux.lds.S | 117 . = ALIGN(PAGE_SIZE); 120 RO_DATA(PAGE_SIZE) 136 PAGE_ALIGNED_DATA(PAGE_SIZE) 151 . = ALIGN(PAGE_SIZE); 171 . = __vvar_beginning_hack + PAGE_SIZE; 174 . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); 177 . = ALIGN(PAGE_SIZE); 193 INIT_TEXT_SECTION(PAGE_SIZE) 285 . = ALIGN(PAGE_SIZE); 296 . = ALIGN(PAGE_SIZE); [all …]
|
D | check.c | 92 corruption_check_size = round_up(corruption_check_size, PAGE_SIZE); in setup_bios_corruption_check() 96 start = clamp_t(phys_addr_t, round_up(start, PAGE_SIZE), in setup_bios_corruption_check() 97 PAGE_SIZE, corruption_check_size); in setup_bios_corruption_check() 98 end = clamp_t(phys_addr_t, round_down(end, PAGE_SIZE), in setup_bios_corruption_check() 99 PAGE_SIZE, corruption_check_size); in setup_bios_corruption_check()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | vmlinux.lds.S | 44 RO_DATA(PAGE_SIZE) 48 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE) 52 . = ALIGN(PAGE_SIZE); 60 . = ALIGN(PAGE_SIZE); /* Init code and data */ 62 INIT_TEXT_SECTION(PAGE_SIZE) 75 . = ALIGN(PAGE_SIZE); 79 BSS_SECTION(0, PAGE_SIZE, 4) 84 . = ALIGN(PAGE_SIZE);
|
D | head.S | 423 .balign PAGE_SIZE 432 .balign PAGE_SIZE 434 .space PAGE_SIZE 436 .balign PAGE_SIZE 438 .space PAGE_SIZE 440 .balign PAGE_SIZE 442 .space PAGE_SIZE 444 .balign PAGE_SIZE 446 .space PAGE_SIZE 448 .balign PAGE_SIZE [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | drm_buffer.c | 46 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_alloc() 66 kmalloc(min(PAGE_SIZE, size - idx * PAGE_SIZE), in drm_buffer_alloc() 100 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_copy_from_user() 113 user_data + idx * PAGE_SIZE, in drm_buffer_copy_from_user() 114 min(PAGE_SIZE, size - idx * PAGE_SIZE))) { in drm_buffer_copy_from_user() 134 int nr_pages = buf->size / PAGE_SIZE + 1; in drm_buffer_free() 162 if (idx + objsize <= PAGE_SIZE) { in drm_buffer_read_object() 166 int beginsz = PAGE_SIZE - idx; in drm_buffer_read_object()
|
D | drm_buffer.h | 52 return buf->iterator / PAGE_SIZE; in drm_buffer_page() 59 return buf->iterator & (PAGE_SIZE - 1); in drm_buffer_index() 131 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)]; in drm_buffer_pointer_to_dword() 145 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)]; in drm_buffer_pointer_to_byte()
|
D | radeon_gart.c | 130 PAGE_SIZE, true, RADEON_GEM_DOMAIN_VRAM, in radeon_gart_table_vram_alloc() 250 p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_gart_unbind() 254 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) { in radeon_gart_unbind() 297 p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_gart_bind() 302 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) { in radeon_gart_bind() 334 if (PAGE_SIZE < RADEON_GPU_PAGE_SIZE) { in radeon_gart_init() 342 rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; in radeon_gart_init()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | vmlinux.lds.S | 51 . = ALIGN(PAGE_SIZE); 52 INIT_DATA_SECTION(PAGE_SIZE) 69 .text ALIGN(PAGE_SIZE) : { 84 . = ALIGN(PAGE_SIZE); 126 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, PAGE_SIZE) 138 BSS_SECTION(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE)
|
/linux-4.4.14/arch/m68k/kernel/ |
D | sys_m68k.c | 106 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_040() 112 tmp = PAGE_SIZE; in cache_flush_040() 124 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; in cache_flush_040() 158 addr += PAGE_SIZE; in cache_flush_040() 159 i = PAGE_SIZE / 16; in cache_flush_040() 169 addr += PAGE_SIZE; in cache_flush_040() 179 len += (addr & ~PAGE_MASK) + (PAGE_SIZE - 1); in cache_flush_040() 180 for (len >>= PAGE_SHIFT; len--; addr += PAGE_SIZE) in cache_flush_040() 267 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_060() 273 tmp = PAGE_SIZE; in cache_flush_060() [all …]
|
D | vmlinux-nommu.lds | 59 RO_DATA_SECTION(PAGE_SIZE) 60 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) 66 . = ALIGN(PAGE_SIZE); 68 INIT_TEXT_SECTION(PAGE_SIZE) 77 . = ALIGN(PAGE_SIZE);
|
D | vmlinux-sun3.lds | 29 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) :data 35 . = ALIGN(PAGE_SIZE); /* Init code and data */ 37 INIT_TEXT_SECTION(PAGE_SIZE) 44 . = ALIGN(PAGE_SIZE);
|
D | vmlinux-std.lds | 32 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) 39 . = ALIGN(PAGE_SIZE); /* Init code and data */ 41 INIT_TEXT_SECTION(PAGE_SIZE) :data 52 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/drivers/platform/chrome/ |
D | cros_ec_sysfs.c | 46 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_reboot() 48 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_reboot() 161 count = scnprintf(buf, PAGE_SIZE, in show_ec_version() 170 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version() 172 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version() 174 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version() 184 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version() 187 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version() 191 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version() 200 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version() [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | vmlinux.lds.S | 41 RO_DATA_SECTION(PAGE_SIZE) 47 . = ALIGN(PAGE_SIZE); 53 RW_DATA_SECTION(0x100, PAGE_SIZE, THREAD_SIZE) 58 . = ALIGN(PAGE_SIZE); /* Init code and data */ 61 INIT_TEXT_SECTION(PAGE_SIZE) 76 . = ALIGN(PAGE_SIZE); 80 . = ALIGN(PAGE_SIZE);
|
D | swsusp.S | 84 lghi %r3,2*PAGE_SIZE 85 lghi %r5,2*PAGE_SIZE 92 lghi %r3,2*PAGE_SIZE 93 lghi %r5,2*PAGE_SIZE 138 lghi %r3,PAGE_SIZE 139 lghi %r5,PAGE_SIZE 248 lghi %r3,2*PAGE_SIZE 249 lghi %r5,2*PAGE_SIZE
|
D | vdso.c | 76 u8 page[PAGE_SIZE]; 111 PAGE_SIZE << SEGMENT_ORDER); in vdso_alloc_per_cpu() 264 + PAGE_SIZE - 1) >> PAGE_SHIFT) + 1; in vdso_init() 271 struct page *pg = virt_to_page(vdso32_kbase + i*PAGE_SIZE); in vdso_init() 282 + PAGE_SIZE - 1) >> PAGE_SHIFT) + 1; in vdso_init() 289 struct page *pg = virt_to_page(vdso64_kbase + i*PAGE_SIZE); in vdso_init()
|
/linux-4.4.14/arch/score/include/asm/ |
D | page.h | 9 #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) macro 10 #define PAGE_MASK (~(PAGE_SIZE-1)) 16 #define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) 17 #define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1))) 33 #define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE) 34 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE) 36 #define clear_user_page(pgaddr, vaddr, page) memset((pgaddr), 0, PAGE_SIZE) 38 memcpy((vto), (vfrom), PAGE_SIZE)
|
/linux-4.4.14/arch/metag/kernel/ |
D | vmlinux.lds.S | 34 RO_DATA_SECTION(PAGE_SIZE) 35 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 41 . = ALIGN(PAGE_SIZE); /* Init code and data */ 43 INIT_TEXT_SECTION(PAGE_SIZE) 56 BSS_SECTION(0, PAGE_SIZE, 0) 60 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/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() 182 kernel_end = two_pages + 2*PAGE_SIZE; in callback_init() 183 memset(two_pages, 0, 2*PAGE_SIZE); in callback_init() 188 pmd_set(pmd, (pte_t *)(two_pages + PAGE_SIZE)); in callback_init() 203 vm_area_register_early(&console_remap_vm, PAGE_SIZE); in callback_init() 217 memset(kernel_end, 0, PAGE_SIZE); in callback_init() 220 kernel_end += PAGE_SIZE; in callback_init() 225 vaddr += PAGE_SIZE; in callback_init() [all …]
|
/linux-4.4.14/arch/m68k/mm/ |
D | sun3kmap.c | 57 phys += PAGE_SIZE; in do_pmeg_mapin() 58 virt += PAGE_SIZE; in do_pmeg_mapin() 74 offset = phys & (PAGE_SIZE-1); in sun3_ioremap() 75 phys &= ~(PAGE_SIZE-1); in sun3_ioremap() 87 pages = size / PAGE_SIZE; in sun3_ioremap() 94 seg_pages = (SUN3_PMEG_SIZE - (virt & SUN3_PMEG_MASK)) / PAGE_SIZE; in sun3_ioremap() 101 phys += seg_pages * PAGE_SIZE; in sun3_ioremap() 102 virt += seg_pages * PAGE_SIZE; in sun3_ioremap()
|
D | sun3mmu.c | 50 empty_zero_page = alloc_bootmem_pages(PAGE_SIZE); in paging_init() 58 size = (size + PAGE_SIZE) & ~(PAGE_SIZE-1); in paging_init() 61 bootmem_end = (next_pgtable + size + PAGE_SIZE) & PAGE_MASK; in paging_init() 79 address += PAGE_SIZE; in paging_init()
|
D | motorola.c | 56 ptablep = (pte_t *)alloc_bootmem_low_pages(PAGE_SIZE); in kernel_page_table() 96 last_pgtable = (pmd_t *)alloc_bootmem_low_pages(PAGE_SIZE); in kernel_ptr_table() 170 physaddr += PAGE_SIZE; in map_node() 171 for (i = 1; i < 64; physaddr += PAGE_SIZE, i++) in map_node() 191 size -= PAGE_SIZE; in map_node() 192 virtaddr += PAGE_SIZE; in map_node() 193 physaddr += PAGE_SIZE; in map_node() 290 empty_zero_page = alloc_bootmem_pages(PAGE_SIZE); in paging_init()
|
D | kmap.c | 37 #define IO_SIZE PAGE_SIZE 212 virtaddr += PAGE_SIZE; in __ioremap() 213 physaddr += PAGE_SIZE; in __ioremap() 214 size -= PAGE_SIZE; in __ioremap() 284 virtaddr += PAGE_SIZE; in __iounmap() 285 size -= PAGE_SIZE; in __iounmap() 361 virtaddr += PAGE_SIZE; in kernel_set_cachemode() 362 size -= PAGE_SIZE; in kernel_set_cachemode()
|
D | mcfmmu.c | 45 empty_zero_page = (void *) alloc_bootmem_pages(PAGE_SIZE); in paging_init() 46 memset((void *) empty_zero_page, 0, PAGE_SIZE); in paging_init() 52 size = (size + PAGE_SIZE) & ~(PAGE_SIZE-1); in paging_init() 55 bootmem_end = (next_pgtable + size + PAGE_SIZE) & PAGE_MASK; in paging_init() 72 address += PAGE_SIZE; in paging_init()
|
/linux-4.4.14/arch/x86/mm/kmemcheck/ |
D | shadow.c | 33 return page->shadow + (address & (PAGE_SIZE - 1)); in kmemcheck_shadow_lookup() 50 first_n = page + PAGE_SIZE - addr; in mark_shadow() 60 while (n >= PAGE_SIZE) { in mark_shadow() 63 memset(shadow, status, PAGE_SIZE); in mark_shadow() 65 addr += PAGE_SIZE; in mark_shadow() 66 n -= PAGE_SIZE; in mark_shadow() 107 kmemcheck_mark_unallocated(page_address(&p[i]), PAGE_SIZE); in kmemcheck_mark_unallocated_pages() 115 kmemcheck_mark_uninitialized(page_address(&p[i]), PAGE_SIZE); in kmemcheck_mark_uninitialized_pages() 123 kmemcheck_mark_initialized(page_address(&p[i]), PAGE_SIZE); in kmemcheck_mark_initialized_pages()
|
/linux-4.4.14/block/partitions/ |
D | acorn.c | 49 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition() 50 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition() 51 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition() 87 strlcat(state->pp_buf, " [RISCiX]", PAGE_SIZE); in riscix_partition() 94 strlcat(state->pp_buf, " <", PAGE_SIZE); in riscix_partition() 103 strlcat(state->pp_buf, "(", PAGE_SIZE); in riscix_partition() 104 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); in riscix_partition() 105 strlcat(state->pp_buf, ")", PAGE_SIZE); in riscix_partition() 109 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in riscix_partition() 139 strlcat(state->pp_buf, " [Linux]", PAGE_SIZE); in linux_partition() [all …]
|
D | msdos.c | 235 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86() 242 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86() 255 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86() 263 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_solaris_x86() 290 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd() 307 strlcat(state->pp_buf, "bad subpartition - ignored\n", PAGE_SIZE); in parse_bsd() 316 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_bsd() 318 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_bsd() 371 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_unixware() 386 strlcat(state->pp_buf, " >\n", PAGE_SIZE); in parse_unixware() [all …]
|
D | atari.c | 65 strlcat(state->pp_buf, " AHDI", PAGE_SIZE); in atari_partition() 84 strlcat(state->pp_buf, " XGM<", PAGE_SIZE); in atari_partition() 123 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition() 130 strlcat(state->pp_buf, " ICD<", PAGE_SIZE); in atari_partition() 140 strlcat(state->pp_buf, " >", PAGE_SIZE); in atari_partition() 146 strlcat(state->pp_buf, "\n", PAGE_SIZE); in atari_partition()
|
D | ibm.c | 148 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_vol1_partitions() 186 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_vol1_partitions() 208 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_lnx1_partitions() 225 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions() 237 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_lnx1_partitions() 259 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions() 265 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions() 281 strlcat(state->pp_buf, "\n", PAGE_SIZE); in find_cms1_partitions() 347 strlcat(state->pp_buf, "(nonl)", PAGE_SIZE); in ibm_partition() 351 strlcat(state->pp_buf, "\n", PAGE_SIZE); in ibm_partition()
|
D | amiga.c | 79 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition() 129 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition() 133 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition() 137 strlcat(state->pp_buf, "\n", PAGE_SIZE); in amiga_partition()
|
/linux-4.4.14/drivers/misc/cxl/ |
D | sysfs.c | 27 return scnprintf(buf, PAGE_SIZE, "%i.%i\n", adapter->caia_major, in caia_version_show() 37 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->psl_rev); in psl_revision_show() 46 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->base_image); in base_image_show() 56 return scnprintf(buf, PAGE_SIZE, "user\n"); in image_loaded_show() 57 return scnprintf(buf, PAGE_SIZE, "factory\n"); in image_loaded_show() 84 return scnprintf(buf, PAGE_SIZE, "none\n"); in load_image_on_perst_show() 87 return scnprintf(buf, PAGE_SIZE, "user\n"); in load_image_on_perst_show() 88 return scnprintf(buf, PAGE_SIZE, "factory\n"); in load_image_on_perst_show() 121 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->perst_same_image); in perst_reloads_same_image_show() 159 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->adapter->ps_size); in mmio_size_show_master() [all …]
|
/linux-4.4.14/drivers/cpufreq/ |
D | cpufreq_stats.c | 71 len += snprintf(buf + len, PAGE_SIZE - len, " From : To\n"); in show_trans_table() 72 len += snprintf(buf + len, PAGE_SIZE - len, " : "); in show_trans_table() 74 if (len >= PAGE_SIZE) in show_trans_table() 76 len += snprintf(buf + len, PAGE_SIZE - len, "%9u ", in show_trans_table() 79 if (len >= PAGE_SIZE) in show_trans_table() 80 return PAGE_SIZE; in show_trans_table() 82 len += snprintf(buf + len, PAGE_SIZE - len, "\n"); in show_trans_table() 85 if (len >= PAGE_SIZE) in show_trans_table() 88 len += snprintf(buf + len, PAGE_SIZE - len, "%9u: ", in show_trans_table() 92 if (len >= PAGE_SIZE) in show_trans_table() [all …]
|
/linux-4.4.14/fs/nilfs2/ |
D | sysfs.c | 37 count = scnprintf(buf, PAGE_SIZE, \ 122 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_inodes_count_show() 130 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_blocks_count_show() 143 return snprintf(buf, PAGE_SIZE, snapshot_readme_str); in nilfs_snapshot_README_show() 244 return snprintf(buf, PAGE_SIZE, mounted_snapshots_readme_str); in nilfs_mounted_snapshots_README_show() 282 return snprintf(buf, PAGE_SIZE, "%llu\n", ncheckpoints); in nilfs_checkpoints_checkpoints_number_show() 305 return snprintf(buf, PAGE_SIZE, "%llu\n", nsnapshots); in nilfs_checkpoints_snapshots_number_show() 319 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); in nilfs_checkpoints_last_seg_checkpoint_show() 333 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show() 349 return snprintf(buf, PAGE_SIZE, checkpoints_readme_str); in nilfs_checkpoints_README_show() [all …]
|
/linux-4.4.14/arch/arc/kernel/ |
D | vmlinux.lds.S | 36 . = ALIGN(PAGE_SIZE); 62 . = ALIGN(PAGE_SIZE); 93 . = ALIGN(PAGE_SIZE); 109 RO_DATA_SECTION(PAGE_SIZE) 115 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 122 . = ALIGN(PAGE_SIZE); 139 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/arch/hexagon/mm/ |
D | uaccess.c | 39 while (count > PAGE_SIZE) { in __clear_user_hexagon() 41 PAGE_SIZE); in __clear_user_hexagon() 43 return count - (PAGE_SIZE - uncleared); in __clear_user_hexagon() 44 count -= PAGE_SIZE; in __clear_user_hexagon() 45 dest += PAGE_SIZE; in __clear_user_hexagon()
|
/linux-4.4.14/arch/tile/kernel/ |
D | vmlinux.lds.S | 60 INIT_TEXT_SECTION(PAGE_SIZE) 67 . = ALIGN(PAGE_SIZE); 71 . = ALIGN(PAGE_SIZE); 75 RO_DATA_SECTION(PAGE_SIZE) 76 RW_DATA_SECTION(L2_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 83 BSS_SECTION(8, PAGE_SIZE, 1)
|
D | vdso.c | 28 #define VDSO_ALIGNMENT PAGE_SIZE 45 u8 page[PAGE_SIZE]; 60 struct page *pg = virt_to_page(vdso_kbase + i*PAGE_SIZE); in vdso_setup() 85 BUG_ON(offset >= PAGE_SIZE); in vdso_init()
|
/linux-4.4.14/arch/sh/kernel/ |
D | vmlinux.lds.S | 51 RO_DATA(PAGE_SIZE) 52 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 57 . = ALIGN(PAGE_SIZE); /* Init code and data */ 59 INIT_TEXT_SECTION(PAGE_SIZE) 78 . = ALIGN(PAGE_SIZE); 80 BSS_SECTION(0, PAGE_SIZE, 4)
|
/linux-4.4.14/sound/soc/fsl/ |
D | imx-audmux.c | 85 buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in audmux_read_file() 89 ret = snprintf(buf, PAGE_SIZE, "PDCR: %08x\nPTCR: %08x\n", in audmux_read_file() 93 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 97 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 101 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 105 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 108 ret += snprintf(buf + ret, PAGE_SIZE - ret, "\n"); in audmux_read_file() 111 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 115 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 119 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() [all …]
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 160 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n", in qla4xxx_fw_version_show() 164 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_fw_version_show() 174 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number); in qla4xxx_serial_num_show() 182 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, in qla4xxx_iscsi_version_show() 191 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_optrom_version_show() 201 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); in qla4xxx_board_id_show() 211 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state, in qla4xxx_fw_state_show() 224 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); in qla4xxx_phy_port_cnt_show() 236 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num); in qla4xxx_phy_port_num_show() 248 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->iscsi_pci_func_cnt); in qla4xxx_iscsi_func_cnt_show() [all …]
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | vmlinux.lds.S | 35 #define PAGE_SIZE _PAGE_SIZE macro 43 INIT_TEXT_SECTION(PAGE_SIZE) 59 INIT_DATA_SECTION(PAGE_SIZE) 62 RW_DATA_SECTION(32,PAGE_SIZE,_THREAD_SIZE) 63 RO_DATA_SECTION(PAGE_SIZE)
|
/linux-4.4.14/arch/nios2/kernel/ |
D | vmlinux.lds.S | 55 . = ALIGN(PAGE_SIZE); 57 INIT_TEXT_SECTION(PAGE_SIZE) 58 INIT_DATA_SECTION(PAGE_SIZE) 63 RO_DATA_SECTION(PAGE_SIZE) 64 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.4.14/arch/mn10300/mm/ |
D | init.c | 61 for (loop = VMALLOC_START / (PAGE_SIZE * PTRS_PER_PTE); in paging_init() 62 loop < VMALLOC_END / (PAGE_SIZE * PTRS_PER_PTE); in paging_init() 66 ppte += PAGE_SIZE / sizeof(pte_t); in paging_init() 88 vm_area_register_early(&user_iomap_vm, PAGE_SIZE); in paging_init() 108 high_memory = (void *) __va(MAX_LOW_PFN * PAGE_SIZE); in mem_init() 111 memset(empty_zero_page, 0, PAGE_SIZE); in mem_init()
|
D | cache-smp-flush.c | 41 start &= ~(PAGE_SIZE-1); in mn10300_dcache_flush_page() 45 smp_cache_call(SMP_DCACHE_FLUSH_RANGE, start, start + PAGE_SIZE); in mn10300_dcache_flush_page() 112 start &= ~(PAGE_SIZE-1); in mn10300_dcache_flush_inv_page() 116 smp_cache_call(SMP_DCACHE_FLUSH_INV_RANGE, start, start + PAGE_SIZE); in mn10300_dcache_flush_inv_page()
|
D | cache-smp-inv.c | 41 start &= ~(PAGE_SIZE-1); in mn10300_icache_inv_page() 45 smp_cache_call(SMP_ICACHE_INV_RANGE, start, start + PAGE_SIZE); in mn10300_icache_inv_page() 111 start &= ~(PAGE_SIZE-1); in mn10300_dcache_inv_page() 115 smp_cache_call(SMP_DCACHE_INV_RANGE, start, start + PAGE_SIZE); in mn10300_dcache_inv_page()
|
/linux-4.4.14/arch/nios2/mm/ |
D | cacheflush.c | 143 unsigned long end = start + PAGE_SIZE; in flush_icache_page() 153 unsigned long end = start + PAGE_SIZE; in flush_cache_page() 169 __flush_dcache(start, start + PAGE_SIZE); in __flush_dcache_page() 193 flush_icache_range(start, start + PAGE_SIZE); in flush_dcache_page() 233 __flush_dcache(vaddr, vaddr + PAGE_SIZE); in copy_user_page() 234 __flush_icache(vaddr, vaddr + PAGE_SIZE); in copy_user_page() 236 __flush_dcache((unsigned long)vto, (unsigned long)vto + PAGE_SIZE); in copy_user_page() 237 __flush_icache((unsigned long)vto, (unsigned long)vto + PAGE_SIZE); in copy_user_page() 242 __flush_dcache(vaddr, vaddr + PAGE_SIZE); in clear_user_page() 243 __flush_icache(vaddr, vaddr + PAGE_SIZE); in clear_user_page() [all …]
|
/linux-4.4.14/arch/sparc/mm/ |
D | iommu.c | 39 #define IOMMU_NPTES (IOMMU_WINSIZE/PAGE_SIZE) /* 64K PTEs, 256KB */ 71 iommu->regs = of_ioremap(&op->resource[0], 0, PAGE_SIZE * 3, in sbus_iommu_init() 162 start += PAGE_SIZE; in iommu_flush_iotlb() 167 start += PAGE_SIZE; in iommu_flush_iotlb() 172 start += PAGE_SIZE; in iommu_flush_iotlb() 197 busa += PAGE_SIZE; in iommu_get_one() 215 npages = (off + len + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_get_scsi_one() 233 page += PAGE_SIZE; in iommu_get_scsi_one_pflush() 245 n = (sg->length + sg->offset + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_get_scsi_sgl_gflush() 260 n = (sg->length + sg->offset + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_get_scsi_sgl_pflush() [all …]
|
D | io-unit.c | 59 xpt = of_ioremap(&op->resource[2], 0, PAGE_SIZE * 16, "XPT"); in iounit_iommu_init() 69 xptend = iounit->page_table + (16 * PAGE_SIZE) / sizeof(iopte_t); in iounit_iommu_init() 100 npages = ((vaddr & ~PAGE_MASK) + size + (PAGE_SIZE-1)) >> PAGE_SHIFT; in iounit_get_area() 175 len = ((vaddr & ~PAGE_MASK) + len + (PAGE_SIZE-1)) >> PAGE_SHIFT; in iounit_release_scsi_one() 192 len = ((sg->dma_address & ~PAGE_MASK) + sg->length + (PAGE_SIZE-1)) >> PAGE_SHIFT; in iounit_release_scsi_sgl() 233 addr += PAGE_SIZE; in iounit_map_dma_area() 234 va += PAGE_SIZE; in iounit_map_dma_area()
|
/linux-4.4.14/drivers/w1/slaves/ |
D | w1_ds2423.c | 58 c = PAGE_SIZE; in w1_slave_show() 78 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 87 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 110 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 113 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 119 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show() 122 return PAGE_SIZE - c; in w1_slave_show()
|
D | w1_therm.c | 231 ssize_t c = PAGE_SIZE; in w1_slave_show() 312 c -= snprintf(buf + PAGE_SIZE - c, c, "%02x ", rom[i]); in w1_slave_show() 313 c -= snprintf(buf + PAGE_SIZE - c, c, ": crc=%02x %s\n", in w1_slave_show() 321 c -= snprintf(buf + PAGE_SIZE - c, c, "%02x ", in w1_slave_show() 324 c -= snprintf(buf + PAGE_SIZE - c, c, "t=%d\n", in w1_slave_show() 326 ret = PAGE_SIZE - c; in w1_slave_show() 350 ssize_t c = PAGE_SIZE; in w1_seq_show() 412 c -= snprintf(buf + PAGE_SIZE - c, c, "%d\n", seq); in w1_seq_show() 413 return PAGE_SIZE - c; in w1_seq_show()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | page.h | 33 #define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT) macro 34 #define PAGE_MASK (~(PAGE_SIZE-1)) 47 #define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) 48 #define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1))) 78 # define copy_page(to, from) memcpy((to), (from), PAGE_SIZE) 79 # define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE) 81 # define clear_user_page(pgaddr, vaddr, page) memset((pgaddr), 0, PAGE_SIZE) 83 memcpy((vto), (vfrom), PAGE_SIZE)
|
D | cacheflush.h | 81 flush_dcache_range((unsigned) (addr), (unsigned) (addr) + PAGE_SIZE); \ 93 flush_dcache_range(pfn << PAGE_SHIFT, (pfn << PAGE_SHIFT) + PAGE_SIZE); 112 invalidate_icache_range(addr, addr + PAGE_SIZE); in copy_to_user_page() 113 flush_dcache_range(addr, addr + PAGE_SIZE); in copy_to_user_page()
|
/linux-4.4.14/arch/score/mm/ |
D | cache.c | 45 for (i = 0; i < (PAGE_SIZE / L1_CACHE_BYTES); i += L1_CACHE_BYTES) { in flush_data_cache_page() 198 start = (start + PAGE_SIZE) & ~(PAGE_SIZE - 1); in flush_cache_range() 201 tmpend = (start | (PAGE_SIZE-1)) > end ? in flush_cache_range() 202 end : (start | (PAGE_SIZE-1)); in flush_cache_range() 207 start = (start + PAGE_SIZE) & ~(PAGE_SIZE - 1); in flush_cache_range() 217 flush_dcache_range(kaddr, kaddr + PAGE_SIZE); in flush_cache_page() 220 flush_icache_range(kaddr, kaddr + PAGE_SIZE); in flush_cache_page()
|
D | tlb-score.c | 90 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_range() 96 end += (PAGE_SIZE - 1); in local_flush_tlb_range() 102 start += PAGE_SIZE; in local_flush_tlb_range() 129 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_kernel_range() 134 end += PAGE_SIZE - 1; in local_flush_tlb_kernel_range() 141 start += PAGE_SIZE; in local_flush_tlb_kernel_range()
|
/linux-4.4.14/fs/logfs/ |
D | dev_bdev.c | 15 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1)) 26 bio_vec.bv_len = PAGE_SIZE; in sync_request() 30 bio.bi_iter.bi_sector = page->index * (PAGE_SIZE >> 9); in sync_request() 31 bio.bi_iter.bi_size = PAGE_SIZE; in sync_request() 93 bio->bi_iter.bi_size = i * PAGE_SIZE; in __bdev_writeseg() 101 ofs += i * PAGE_SIZE; in __bdev_writeseg() 112 bio->bi_io_vec[i].bv_len = PAGE_SIZE; in __bdev_writeseg() 120 bio->bi_iter.bi_size = nr_pages * PAGE_SIZE; in __bdev_writeseg() 144 head = ofs & (PAGE_SIZE - 1); in bdev_writeseg() 183 bio->bi_iter.bi_size = i * PAGE_SIZE; in do_erase() [all …]
|
/linux-4.4.14/fs/exofs/ |
D | ore_raid.c | 91 BUG_ON(sizeof(_aab->__asp2d) > PAGE_SIZE); in _sp2d_alloc() 92 BUG_ON(sizeof__a1pa > PAGE_SIZE); in _sp2d_alloc() 94 if (sizeof(*_aab) > PAGE_SIZE) { in _sp2d_alloc() 95 num_a1pa = (PAGE_SIZE - sizeof(_aab->__asp2d)) / sizeof__a1pa; in _sp2d_alloc() 116 num_a1pa = min_t(unsigned, PAGE_SIZE / sizeof__a1pa, in _sp2d_alloc() 238 PAGE_SIZE, &_1ps->submit); in _gen_xor_unit() 242 PAGE_SIZE, &_1ps->submit); in _gen_xor_unit() 376 si->obj_offset % PAGE_SIZE); in _add_to_r4w() 395 pg_len = si.obj_offset % PAGE_SIZE; in _add_to_r4w_first_page() 417 pg_len = PAGE_SIZE - (si.unit_off % PAGE_SIZE); in _add_to_r4w_last_page() [all …]
|
/linux-4.4.14/arch/ia64/mm/ |
D | init.c | 64 flush_icache_range(addr, addr + (PAGE_SIZE << compound_order(page))); in __ia64_sync_icache_dcache() 80 while (pg_addr + PAGE_SIZE <= end) { in dma_mark_clean() 83 pg_addr += PAGE_SIZE; in dma_mark_clean() 120 vma->vm_end = vma->vm_start + PAGE_SIZE; in ia64_init_addr_space() 138 vma->vm_end = PAGE_SIZE; in ia64_init_addr_space() 200 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() [all …]
|
/linux-4.4.14/arch/um/kernel/ |
D | mem.c | 44 memset(empty_zero_page, 0, PAGE_SIZE); in mem_init() 69 pte_t *pte = (pte_t *) alloc_bootmem_low_pages(PAGE_SIZE); in one_page_table_init() 80 pmd_t *pmd_table = (pmd_t *) alloc_bootmem_low_pages(PAGE_SIZE); in one_md_table_init() 132 for ( ; size > 0; size -= PAGE_SIZE, vaddr += PAGE_SIZE, in fixaddr_user_init() 133 p += PAGE_SIZE) { in fixaddr_user_init() 148 empty_zero_page = (unsigned long *) alloc_bootmem_low_pages(PAGE_SIZE); in paging_init() 149 empty_bad_page = (unsigned long *) alloc_bootmem_low_pages(PAGE_SIZE); in paging_init() 231 memset(pmd, 0, PAGE_SIZE); in pmd_alloc_one()
|
D | tlb.c | 219 PAGE_SIZE, prot, hvc); in update_pte_range() 221 ret = add_munmap(addr, PAGE_SIZE, hvc); in update_pte_range() 223 ret = add_mprotect(addr, PAGE_SIZE, prot, hvc); in update_pte_range() 225 } while (pte++, addr += PAGE_SIZE, ((addr < end) && !ret)); in update_pte_range() 375 PAGE_SIZE); in flush_tlb_kernel_range_common() 382 PAGE_SIZE, 1, 1, 1); in flush_tlb_kernel_range_common() 386 os_protect_memory((void *) addr, PAGE_SIZE, 1, 1, 1); in flush_tlb_kernel_range_common() 388 addr += PAGE_SIZE; in flush_tlb_kernel_range_common() 438 err = map(mm_id, address, PAGE_SIZE, prot, fd, offset, in flush_tlb_page() 441 else err = unmap(mm_id, address, PAGE_SIZE, 1, &flush); in flush_tlb_page() [all …]
|
D | uml.lds.S | 24 . = ALIGN(PAGE_SIZE); 38 . = ALIGN(PAGE_SIZE); 97 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | vmlinux.lds.S | 68 . = ALIGN(PAGE_SIZE); 90 . = ALIGN(PAGE_SIZE); 92 INIT_TEXT_SECTION(PAGE_SIZE) :kernel 194 . = ALIGN(PAGE_SIZE); 201 . = ALIGN(PAGE_SIZE); 239 PAGE_ALIGNED_DATA(PAGE_SIZE) 250 . = ALIGN(PAGE_SIZE); 255 . = ALIGN(PAGE_SIZE); 265 . = ALIGN(PAGE_SIZE);
|
D | proc_powerpc.c | 34 return fixed_size_llseek(file, off, whence, PAGE_SIZE); in page_map_seek() 41 PDE_DATA(file_inode(file)), PAGE_SIZE); in page_map_read() 46 if ((vma->vm_end - vma->vm_start) > PAGE_SIZE) in page_map_mmap() 51 PAGE_SIZE, vma->vm_page_prot); in page_map_mmap() 70 proc_set_size(pde, PAGE_SIZE); in proc_ppc64_init()
|
D | crash_dump.c | 106 csize = min_t(size_t, csize, PAGE_SIZE); in copy_oldmem_page() 113 vaddr = __ioremap(paddr, PAGE_SIZE, 0); in copy_oldmem_page() 140 for (addr = begin; addr < end; addr += PAGE_SIZE) { in crash_free_reserved_phys_range() 142 if (addr <= rtas_end && ((addr + PAGE_SIZE) > rtas_start)) in crash_free_reserved_phys_range()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | page.h | 37 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) macro 40 #define PAGE_MASK (~(PAGE_SIZE - 1)) 61 memset(page, 0, PAGE_SIZE); in clear_page() 66 memcpy(to, from, PAGE_SIZE); in copy_page() 224 #if PAGE_SIZE > INTRPT_SIZE 226 #define INTRPT_SIZE PAGE_SIZE 230 #define FIXADDR_TOP (KERNEL_HIGH_VADDR - PAGE_SIZE) 264 ((unsigned long)kaddr & (PAGE_SIZE-1)); in virt_to_phys() 269 return pfn_to_kaddr(paddr >> PAGE_SHIFT) + (paddr & (PAGE_SIZE-1)); in phys_to_virt()
|
D | pgtable_32.h | 55 #define PKMAP_BASE ((FIXADDR_BOOT_START - PAGE_SIZE*LAST_PKMAP) & PGDIR_MASK) 68 #define VMALLOC_END (_VMALLOC_END - PAGE_SIZE) 71 #define VMALLOC_START (_VMALLOC_START + PAGE_SIZE)
|
/linux-4.4.14/drivers/staging/dgnc/ |
D | dgnc_sysfs.c | 30 return snprintf(buf, PAGE_SIZE, "%s\n", DG_PART); in dgnc_driver_version_show() 36 return snprintf(buf, PAGE_SIZE, "%d\n", dgnc_NumBoards); in dgnc_driver_boards_show() 42 return snprintf(buf, PAGE_SIZE, "%d\n", MAXBOARDS); in dgnc_driver_maxboards_show() 48 return snprintf(buf, PAGE_SIZE, "%dms\n", dgnc_poll_tick); in dgnc_driver_pollrate_show() 155 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_state_show() 173 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_baud_show() 193 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_msignals_show() 203 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_msignals_show() 221 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", in dgnc_ports_iflag_show() 239 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", in dgnc_ports_cflag_show() [all …]
|
/linux-4.4.14/drivers/memstick/core/ |
D | mspro_block.c | 302 if (PAGE_SIZE - rc) in mspro_block_attr_show_default() 306 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "%02x ", in mspro_block_attr_show_default() 336 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "class: %x\n", in mspro_block_attr_show_sysinfo() 338 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "block size: %x\n", in mspro_block_attr_show_sysinfo() 340 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "block count: %x\n", in mspro_block_attr_show_sysinfo() 342 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "user block count: %x\n", in mspro_block_attr_show_sysinfo() 344 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "page size: %x\n", in mspro_block_attr_show_sysinfo() 346 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "assembly date: " in mspro_block_attr_show_sysinfo() 353 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "serial number: %x\n", in mspro_block_attr_show_sysinfo() 355 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, in mspro_block_attr_show_sysinfo() [all …]
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | page.h | 18 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro 19 #define PAGE_MASK (~(PAGE_SIZE - 1)) 21 #define PAGE_SIZE +(1 << PAGE_SHIFT) /* unary plus marks an macro 23 #define PAGE_MASK +(~(PAGE_SIZE - 1)) 29 #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE) 30 #define copy_page(to, from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | vmlinux.lds.S | 62 . = ALIGN(PAGE_SIZE); /* page aligned when MMU used */ 71 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE) 90 . = ALIGN(PAGE_SIZE); 93 INIT_TEXT_SECTION(PAGE_SIZE) 128 .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) { 136 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/lib/raid6/ |
D | algos.c | 28 const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256))); 132 void *(*const dptrs)[(65536/PAGE_SIZE)+2], const int disks) in raid6_choose_gen() 152 (*algo)->gen_syndrome(disks, PAGE_SIZE, *dptrs); in raid6_choose_gen() 176 PAGE_SIZE, *dptrs); in raid6_choose_gen() 209 const int disks = (65536/PAGE_SIZE)+2; in raid6_select_algo() 214 void *dptrs[(65536/PAGE_SIZE)+2]; in raid6_select_algo() 218 dptrs[i] = ((char *)raid6_gfmul) + PAGE_SIZE*i; in raid6_select_algo() 229 dptrs[disks-1] = syndromes + PAGE_SIZE; in raid6_select_algo()
|
/linux-4.4.14/arch/frv/mm/ |
D | init.c | 74 empty_bad_page_table = (unsigned long) alloc_bootmem_pages(PAGE_SIZE); in paging_init() 75 empty_bad_page = (unsigned long) alloc_bootmem_pages(PAGE_SIZE); in paging_init() 76 empty_zero_page = (unsigned long) alloc_bootmem_pages(PAGE_SIZE); in paging_init() 78 memset((void *) empty_zero_page, 0, PAGE_SIZE); in paging_init() 86 pkmap_page_table = alloc_bootmem_pages(PAGE_SIZE); in paging_init()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | vmlinux.lds.S | 117 RO_DATA(PAGE_SIZE) 123 ALIGN_DEBUG_RO_MIN(PAGE_SIZE) 146 . = ALIGN(PAGE_SIZE); 159 . = ALIGN(PAGE_SIZE); 162 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 168 . = ALIGN(PAGE_SIZE);
|
D | vdso.c | 48 u8 page[PAGE_SIZE]; 80 flush_icache_range(vpage, vpage + PAGE_SIZE); in alloc_vectors_page() 102 ret = _install_special_mapping(mm, addr, PAGE_SIZE, in aarch32_setup_vectors_page() 138 vdso_pagelist[i + 1] = virt_to_page(&vdso_start + i * PAGE_SIZE); in vdso_init() 164 vdso_mapping_len = vdso_text_len + PAGE_SIZE; in arch_setup_additional_pages() 172 ret = _install_special_mapping(mm, vdso_base, PAGE_SIZE, in arch_setup_additional_pages() 178 vdso_base += PAGE_SIZE; in arch_setup_additional_pages()
|
/linux-4.4.14/arch/score/kernel/ |
D | vmlinux.lds.S | 57 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE) 69 . = ALIGN(PAGE_SIZE); /* Init code and data */ 72 INIT_TEXT_SECTION(PAGE_SIZE) 84 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/arch/x86/include/asm/ |
D | page_64_types.h | 11 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) 15 #define EXCEPTION_STKSZ (PAGE_SIZE << EXCEPTION_STACK_ORDER) 18 #define DEBUG_STKSZ (PAGE_SIZE << DEBUG_STACK_ORDER) 21 #define IRQ_STACK_SIZE (PAGE_SIZE << IRQ_STACK_ORDER)
|
D | pgtable_32_types.h | 40 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ 44 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE) 46 # define VMALLOC_END (FIXADDR_START - 2 * PAGE_SIZE)
|
/linux-4.4.14/arch/openrisc/mm/ |
D | init.c | 109 pte = (pte_t *) alloc_bootmem_low_pages(PAGE_SIZE); in map_ram() 114 v += PAGE_SIZE, p += PAGE_SIZE, j++, pte++) { in map_ram() 152 end = (unsigned long)__va(max_low_pfn * PAGE_SIZE); in paging_init() 210 high_memory = (void *)__va(max_low_pfn * PAGE_SIZE); in mem_init() 213 memset((void *)empty_zero_page, 0, PAGE_SIZE); in mem_init()
|
D | ioremap.c | 127 pte = (pte_t *) alloc_bootmem_low_pages(PAGE_SIZE); in pte_alloc_one_kernel() 130 pte = (pte_t *) __va(memblock_alloc(PAGE_SIZE, PAGE_SIZE)); in pte_alloc_one_kernel()
|
/linux-4.4.14/arch/sh/mm/ |
D | tlbflush_32.c | 50 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_range() 61 end += (PAGE_SIZE - 1); in local_flush_tlb_range() 69 start += PAGE_SIZE; in local_flush_tlb_range() 85 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_kernel_range() 94 end += (PAGE_SIZE - 1); in local_flush_tlb_kernel_range() 99 start += PAGE_SIZE; in local_flush_tlb_kernel_range()
|
D | cache-sh5.c | 96 end_addr = addr + PAGE_SIZE; in sh64_icache_inv_user_page() 174 after_last_page_start = PAGE_SIZE + ((end - 1) & PAGE_MASK); in sh64_icache_inv_user_page_range() 182 aligned_start += PAGE_SIZE; in sh64_icache_inv_user_page_range() 191 eaddr += PAGE_SIZE; in sh64_icache_inv_user_page_range() 338 magic_eaddr_end = magic_eaddr + PAGE_SIZE; in sh64_dcache_purge_coloured_phy_page() 371 eaddr_end = eaddr + PAGE_SIZE; in sh64_dcache_purge_phy_page() 378 eaddr_start += PAGE_SIZE; in sh64_dcache_purge_phy_page() 415 } while (pte++, addr += PAGE_SIZE, addr != end); in sh64_dcache_purge_user_pages()
|
D | init.c | 131 pmd = alloc_bootmem_pages(PAGE_SIZE); in one_md_table_init() 144 pte = alloc_bootmem_pages(PAGE_SIZE); in one_page_table_init() 238 paddr = memblock_alloc(total_pages << PAGE_SHIFT, PAGE_SIZE); in bootmem_init_one_node() 306 memblock_reserve(start, (PFN_PHYS(start_pfn) + PAGE_SIZE - 1) - start); in early_reserve_mem() 425 memset(empty_zero_page, 0, PAGE_SIZE); in mem_init() 426 __flush_wback_region(empty_zero_page, PAGE_SIZE); in mem_init() 448 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init() 449 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
|
/linux-4.4.14/net/atm/ |
D | atm_sysfs.c | 18 return scnprintf(buf, PAGE_SIZE, "%s\n", adev->type); in show_type() 26 return scnprintf(buf, PAGE_SIZE, "%pM\n", adev->esi); in show_address() 43 PAGE_SIZE - count, "."); in show_atmaddress() 48 PAGE_SIZE - count, "%02x", in show_atmaddress() 51 count += scnprintf(buf + count, PAGE_SIZE - count, "\n"); in show_atmaddress() 63 return scnprintf(buf, PAGE_SIZE, "%d\n", adev->number); in show_atmindex() 71 return scnprintf(buf, PAGE_SIZE, "%d\n", in show_carrier() 95 return scnprintf(buf, PAGE_SIZE, "%d\n", link_rate); in show_link_rate()
|
/linux-4.4.14/arch/alpha/boot/ |
D | bootpz.c | 86 for (vaddr = vstart; vaddr <= vend; vaddr += PAGE_SIZE) in check_range() 183 #define NEXT_PAGE(a) (((a) | (PAGE_SIZE - 1)) + 1) 255 NEXT_PAGE(K_COPY_IMAGE_START + KERNEL_SIZE + PAGE_SIZE) 387 uncompressed_image_start += PAGE_SIZE; in start_kernel() 388 uncompressed_image_end += PAGE_SIZE; in start_kernel() 389 initrd_image_start += PAGE_SIZE; in start_kernel() 441 move_stack(initrd_image_start - PAGE_SIZE); in start_kernel() 451 memset((char*)ZERO_PGE, 0, PAGE_SIZE); in start_kernel()
|
D | bootp.c | 167 initrd_start = ((START_ADDR + 5*KERNEL_SIZE + PAGE_SIZE) | in start_kernel() 168 (PAGE_SIZE-1)) + 1; in start_kernel() 177 move_stack(initrd_start - PAGE_SIZE); in start_kernel() 206 memset((char*)ZERO_PGE, 0, PAGE_SIZE); in start_kernel()
|
/linux-4.4.14/arch/arm/kernel/ |
D | vmlinux.lds.S | 26 . = ALIGN(PAGE_SIZE); \ 123 RO_DATA(PAGE_SIZE) 159 . = ALIGN(PAGE_SIZE); 254 . = ALIGN(PAGE_SIZE); 258 . = ALIGN(PAGE_SIZE); 283 . = ALIGN(PAGE_SIZE); 328 . = ALIGN(PAGE_SIZE); 352 ASSERT(__hyp_idmap_text_end - (__hyp_idmap_text_start & PAGE_MASK) <= PAGE_SIZE,
|
/linux-4.4.14/crypto/async_tx/ |
D | raid6test.c | 52 prandom_bytes(page_address(data[i]), PAGE_SIZE); in makedata() 134 memset(page_address(recovi), 0xf0, PAGE_SIZE); in test_disks() 135 memset(page_address(recovj), 0xba, PAGE_SIZE); in test_disks() 140 raid6_dual_recov(disks, PAGE_SIZE, i, j, dataptrs); in test_disks() 142 erra = memcmp(page_address(data[i]), page_address(recovi), PAGE_SIZE); in test_disks() 143 errb = memcmp(page_address(data[j]), page_address(recovj), PAGE_SIZE); in test_disks() 170 memset(page_address(data[disks-2]), 0xee, PAGE_SIZE); in test() 171 memset(page_address(data[disks-1]), 0xee, PAGE_SIZE); in test() 176 tx = async_gen_syndrome(dataptrs, 0, disks, PAGE_SIZE, &submit); in test()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_allocator.c | 116 #define MTHCA_ARRAY_MASK (PAGE_SIZE / sizeof (void *) - 1) 162 int npage = (nent * sizeof (void *) + PAGE_SIZE - 1) / PAGE_SIZE; in mthca_array_init() 181 for (i = 0; i < (nent * sizeof (void *) + PAGE_SIZE - 1) / PAGE_SIZE; ++i) in mthca_array_cleanup() 231 npages = (size + PAGE_SIZE - 1) / PAGE_SIZE; in mthca_buf_alloc() 248 dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in mthca_buf_alloc() 294 for (i = 0; i < (size + PAGE_SIZE - 1) / PAGE_SIZE; ++i) in mthca_buf_free() 295 dma_free_coherent(&dev->pdev->dev, PAGE_SIZE, in mthca_buf_free()
|
/linux-4.4.14/arch/frv/include/asm/ |
D | mem-layout.h | 27 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro 29 #define PAGE_SIZE (1 << PAGE_SHIFT) macro 32 #define PAGE_MASK (~(PAGE_SIZE-1)) 68 #define BRK_BASE __UL(2 * 1024 * 1024 + PAGE_SIZE)
|
D | page.h | 14 #define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE) 15 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) 17 #define clear_user_page(pgaddr, vaddr, page) memset((pgaddr), 0, PAGE_SIZE) 18 #define copy_user_page(vto, vfrom, vaddr, topg) memcpy((vto), (vfrom), PAGE_SIZE)
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | page.h | 27 #define PAGE_SIZE (1 << PAGE_SHIFT) macro 29 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro 31 #define PAGE_MASK (~(PAGE_SIZE-1)) 46 #define clear_page(page) memset((page), 0, PAGE_SIZE) 47 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
|
/linux-4.4.14/arch/sparc/kernel/ |
D | vmlinux.lds.S | 59 RO_DATA(PAGE_SIZE) 80 . = ALIGN(PAGE_SIZE); 81 __init_begin = ALIGN(PAGE_SIZE); 82 INIT_TEXT_SECTION(PAGE_SIZE) 152 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/arch/h8300/mm/ |
D | init.c | 80 empty_bad_page_table = (unsigned long)alloc_bootmem_pages(PAGE_SIZE); in paging_init() 81 empty_bad_page = (unsigned long)alloc_bootmem_pages(PAGE_SIZE); in paging_init() 82 empty_zero_page = (unsigned long)alloc_bootmem_pages(PAGE_SIZE); in paging_init() 83 memset((void *)empty_zero_page, 0, PAGE_SIZE); in paging_init()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | vmlinux.lds.S | 115 . = ALIGN(PAGE_SIZE); 118 INIT_TEXT_SECTION(PAGE_SIZE) 155 . = ALIGN(PAGE_SIZE); 159 PAGE_ALIGNED_DATA(PAGE_SIZE) 160 . = ALIGN(PAGE_SIZE); 169 . = ALIGN(PAGE_SIZE); 185 INIT_TASK_DATA(PAGE_SIZE)
|
/linux-4.4.14/include/linux/raid/ |
D | pq.h | 27 extern const char raid6_empty_zero_page[PAGE_SIZE]; 48 #ifndef PAGE_SIZE 49 # define PAGE_SIZE 4096 macro 51 extern const char raid6_empty_zero_page[PAGE_SIZE]; 156 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \ 160 # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y))
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm_ppi.c | 58 return scnprintf(buf, PAGE_SIZE, "%s\n", chip->ppi_version); in tpm_show_ppi_version() 85 size = scnprintf(buf, PAGE_SIZE, "%llu\n", in tpm_show_ppi_request() 186 status = scnprintf(buf, PAGE_SIZE, "%d: %s\n", ret, info[ret]); in tpm_show_ppi_transition_action() 188 status = scnprintf(buf, PAGE_SIZE, "%d: %s\n", ret, in tpm_show_ppi_transition_action() 230 status = scnprintf(buf, PAGE_SIZE, "%llu %s\n", req, in tpm_show_ppi_response() 233 status = scnprintf(buf, PAGE_SIZE, "%llu %s\n", req, in tpm_show_ppi_response() 236 status = scnprintf(buf, PAGE_SIZE, "%llu %s\n", req, in tpm_show_ppi_response() 239 status = scnprintf(buf, PAGE_SIZE, "%llu %llu: %s\n", in tpm_show_ppi_response() 242 status = scnprintf(buf, PAGE_SIZE, "%llu %llu: %s\n", in tpm_show_ppi_response() 245 status = scnprintf(buf, PAGE_SIZE, "%llu: %s\n", in tpm_show_ppi_response() [all …]
|
/linux-4.4.14/drivers/char/ |
D | uv_mmtimer.c | 102 PAGE_SIZE) / 8; in uv_mmtimer_ioctl() 151 if (vma->vm_end - vma->vm_start != PAGE_SIZE) in uv_mmtimer_mmap() 157 if (PAGE_SIZE > (1 << 16)) in uv_mmtimer_mmap() 163 uv_mmtimer_addr &= ~(PAGE_SIZE - 1); in uv_mmtimer_mmap() 167 PAGE_SIZE, vma->vm_page_prot)) { in uv_mmtimer_mmap()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_scatter.c | 104 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_legacy_sg_alloc() 140 i += PAGE_SIZE, j++) { in drm_legacy_sg_alloc() 163 j < PAGE_SIZE / sizeof(unsigned long); in drm_legacy_sg_alloc() 168 (PAGE_SIZE * i)); in drm_legacy_sg_alloc() 170 j < PAGE_SIZE / sizeof(unsigned long); in drm_legacy_sg_alloc() 181 j < PAGE_SIZE / sizeof(unsigned long); in drm_legacy_sg_alloc()
|
D | ati_pcigart.c | 45 PAGE_SIZE); in drm_ati_alloc_pcigart_table() 82 PAGE_SIZE, PCI_DMA_BIDIRECTIONAL); in drm_ati_pcigart_cleanup() 143 max_real_pages = max_ati_pages / (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); in drm_ati_pcigart_init() 157 0, PAGE_SIZE, PCI_DMA_BIDIRECTIONAL); in drm_ati_pcigart_init() 167 for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) { in drm_ati_pcigart_init()
|
/linux-4.4.14/arch/m32r/kernel/ |
D | vmlinux.lds.S | 49 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE) 53 . = ALIGN(PAGE_SIZE); /* Init code and data */ 55 INIT_TEXT_SECTION(PAGE_SIZE) 58 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/mm/kasan/ |
D | kasan_init.c | 30 unsigned char kasan_zero_page[PAGE_SIZE] __page_aligned_bss; 55 while (addr + PAGE_SIZE <= end) { in zero_pte_populate() 57 addr += PAGE_SIZE; in zero_pte_populate() 78 early_alloc(PAGE_SIZE, NUMA_NO_NODE)); in zero_pmd_populate() 103 early_alloc(PAGE_SIZE, NUMA_NO_NODE)); in zero_pud_populate() 148 early_alloc(PAGE_SIZE, NUMA_NO_NODE)); in kasan_populate_zero_shadow()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_sysfs.c | 79 return scnprintf(buf, PAGE_SIZE, "%s", ib_ipath_version); in show_version() 84 return scnprintf(buf, PAGE_SIZE, "%d\n", in show_num_units() 100 ret = scnprintf(buf, PAGE_SIZE, "0x%llx\n", in show_status() 139 if (any && strlcat(buf, " ", PAGE_SIZE) >= in show_status_str() 140 PAGE_SIZE) in show_status_str() 144 PAGE_SIZE) >= PAGE_SIZE) in show_status_str() 151 strlcat(buf, "\n", PAGE_SIZE); in show_status_str() 165 return scnprintf(buf, PAGE_SIZE, "%s", dd->ipath_boardversion); in show_boardversion() 174 return scnprintf(buf, PAGE_SIZE, "%s", dd->ipath_lbus_info); in show_localbus_info() 183 return scnprintf(buf, PAGE_SIZE, "%u\n", dd->ipath_lmc); in show_lmc() [all …]
|
/linux-4.4.14/drivers/s390/char/ |
D | zcore.c | 82 static char buf[PAGE_SIZE] __attribute__((__aligned__(PAGE_SIZE))); in memcpy_hsa() 91 if ((src % PAGE_SIZE) != 0) { in memcpy_hsa() 92 blk_num = src / PAGE_SIZE + 2; in memcpy_hsa() 97 offs = min((PAGE_SIZE - (src % PAGE_SIZE)), count); in memcpy_hsa() 100 buf + (src % PAGE_SIZE), offs)) in memcpy_hsa() 103 memcpy(dest, buf + (src % PAGE_SIZE), offs); in memcpy_hsa() 109 for (; (offs + PAGE_SIZE) <= count; offs += PAGE_SIZE) { in memcpy_hsa() 110 blk_num = (src + offs) / PAGE_SIZE + 2; in memcpy_hsa() 117 buf, PAGE_SIZE)) in memcpy_hsa() 120 memcpy(dest + offs, buf, PAGE_SIZE); in memcpy_hsa() [all …]
|
D | sclp_early.c | 49 } __packed __aligned(PAGE_SIZE); 51 static char sccb_early[PAGE_SIZE] __aligned(PAGE_SIZE) __initdata; 205 return (sccb->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_hsa_size_init() 210 memset(sccb, 0, PAGE_SIZE); in sclp_hsa_copy_wait() 211 sccb->length = PAGE_SIZE; in sclp_hsa_copy_wait() 216 return (((struct sdias_sccb *) sccb)->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_hsa_copy_wait()
|
/linux-4.4.14/include/asm-generic/ |
D | page.h | 17 #define PAGE_SIZE (1 << PAGE_SHIFT) macro 19 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro 21 #define PAGE_MASK (~(PAGE_SIZE-1)) 30 #define clear_page(page) memset((page), 0, PAGE_SIZE) 31 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
|
/linux-4.4.14/drivers/acpi/ |
D | bgrt.c | 22 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->version); in show_version() 29 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->status); in show_status() 36 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_type); in show_type() 43 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_x); in show_xoffset() 50 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_y); in show_yoffset()
|
/linux-4.4.14/arch/s390/pci/ |
D | pci_dma.c | 24 zdev->iommu_pages * PAGE_SIZE); in zpci_refresh_global() 158 page_addr += PAGE_SIZE; in dma_update_trans() 159 dma_addr += PAGE_SIZE; in dma_update_trans() 175 nr_pages * PAGE_SIZE); in dma_update_trans() 180 page_addr -= PAGE_SIZE; in dma_update_trans() 181 dma_addr -= PAGE_SIZE; in dma_update_trans() 226 PAGE_SIZE) >> PAGE_SHIFT; in __dma_alloc_iommu() 295 nr_pages = iommu_num_pages(pa, size, PAGE_SIZE); in s390_dma_map_pages() 303 size = nr_pages * PAGE_SIZE; in s390_dma_map_pages() 305 dma_addr = zdev->start_dma + iommu_page_index * PAGE_SIZE; in s390_dma_map_pages() [all …]
|
/linux-4.4.14/arch/cris/kernel/ |
D | vmlinux.lds.S | 69 INIT_TASK_DATA_SECTION(PAGE_SIZE) 71 . = ALIGN(PAGE_SIZE); /* Init code and data. */ 73 INIT_TEXT_SECTION(PAGE_SIZE) 118 . = ALIGN(PAGE_SIZE);
|
/linux-4.4.14/arch/mips/kernel/ |
D | vdso.c | 46 num_pages = image->size / PAGE_SIZE; in init_vdso_image() 50 virt_to_page(image->data + (i * PAGE_SIZE)); in init_vdso_image() 117 gic_size = gic_present ? PAGE_SIZE : 0; in arch_setup_additional_pages() 118 vvar_size = gic_size + PAGE_SIZE; in arch_setup_additional_pages() 128 vdso_addr = data_addr + PAGE_SIZE; in arch_setup_additional_pages() 155 PAGE_SIZE, PAGE_READONLY); in arch_setup_additional_pages()
|
/linux-4.4.14/tools/virtio/linux/ |
D | kernel.h | 20 #define PAGE_SIZE getpagesize() macro 21 #define PAGE_MASK (~(PAGE_SIZE-1)) 38 #define offset_in_page(p) (((unsigned long)p) % PAGE_SIZE) 76 posix_memalign(&p, PAGE_SIZE, PAGE_SIZE); in __get_free_page()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_attrs.c | 30 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name); in snic_show_sym_name() 40 return snprintf(buf, PAGE_SIZE, "%s\n", in snic_show_state() 49 return snprintf(buf, PAGE_SIZE, "%s\n", SNIC_DRV_VERSION); in snic_show_drv_version() 62 return snprintf(buf, PAGE_SIZE, "%s\n", in snic_show_link_state()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 52 ((PAGE_SIZE - offsetof(struct usnic_uiom_chunk, page_list)) /\ 149 PAGE_SIZE / sizeof(struct page *)), in usnic_uiom_get_pages() 172 PAGE_SIZE, 0); in usnic_uiom_get_pages() 175 cur_base + i*PAGE_SIZE, &pa); in usnic_uiom_get_pages() 177 cur_base += chunk->nents * PAGE_SIZE; in usnic_uiom_get_pages() 208 usnic_dbg("va 0x%lx size 0x%lx", va, PAGE_SIZE); in usnic_uiom_unmap_sorted_intervals() 209 iommu_unmap(pd->domain, va, PAGE_SIZE); in usnic_uiom_unmap_sorted_intervals() 210 va += PAGE_SIZE; in usnic_uiom_unmap_sorted_intervals() 211 size -= PAGE_SIZE; in usnic_uiom_unmap_sorted_intervals() 266 for (i = 0; i < chunk->nents; i++, va += PAGE_SIZE) { in usnic_uiom_map_sorted_intervals() [all …]
|
D | usnic_ib_sysfs.c | 60 return scnprintf(buf, PAGE_SIZE, "%s\n", info.fw_version); in usnic_ib_show_fw_ver() 75 return scnprintf(buf, PAGE_SIZE, "%hu\n", subsystem_device_id); in usnic_ib_show_board() 95 left = PAGE_SIZE; in usnic_ib_show_config() 152 return scnprintf(buf, PAGE_SIZE, "%s\n", in usnic_ib_show_iface() 164 return scnprintf(buf, PAGE_SIZE, "%u\n", in usnic_ib_show_max_vf() 179 return scnprintf(buf, PAGE_SIZE, in usnic_ib_show_qp_per_vf() 191 return scnprintf(buf, PAGE_SIZE, "%d\n", in usnic_ib_show_cq_per_vf() 242 return scnprintf(buf, PAGE_SIZE, "0x%p\n", qp_grp->ctx); in context_show() 253 left = PAGE_SIZE; in summary_show()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_devmap.c | 287 kmem_cache_create("dasd_page_cache", PAGE_SIZE, in dasd_parse_keyword() 288 PAGE_SIZE, SLAB_CACHE_DMA, in dasd_parse_keyword() 723 return snprintf(buf, PAGE_SIZE, ff_flag ? "1\n" : "0\n"); in dasd_ff_show() 768 return snprintf(buf, PAGE_SIZE, ro_flag ? "1\n" : "0\n"); in dasd_ro_show() 820 return snprintf(buf, PAGE_SIZE, erplog ? "1\n" : "0\n"); in dasd_erplog_show() 1000 len = snprintf(buf, PAGE_SIZE, "%s\n", in dasd_discipline_show() 1006 len = snprintf(buf, PAGE_SIZE, "none\n"); in dasd_discipline_show() 1023 len = snprintf(buf, PAGE_SIZE, "new\n"); in dasd_device_status_show() 1026 len = snprintf(buf, PAGE_SIZE, "detected\n"); in dasd_device_status_show() 1029 len = snprintf(buf, PAGE_SIZE, "basic\n"); in dasd_device_status_show() [all …]
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 1006 return scnprintf(buf, PAGE_SIZE, "%s\n", qla2x00_version_str); in qla2x00_drvr_version_show() 1017 return scnprintf(buf, PAGE_SIZE, "%s\n", in qla2x00_fw_version_show() 1030 return scnprintf(buf, PAGE_SIZE, "%s\n", in qla2x00_serial_num_show() 1033 qla2xxx_get_vpd_field(vha, "SN", buf, PAGE_SIZE - 1); in qla2x00_serial_num_show() 1038 return scnprintf(buf, PAGE_SIZE, "%c%05d\n", 'A' + sn / 100000, in qla2x00_serial_num_show() 1047 return scnprintf(buf, PAGE_SIZE, "ISP%04X\n", vha->hw->pdev->device); in qla2x00_isp_name_show() 1058 return scnprintf(buf, PAGE_SIZE, "%s\n", in qla2x00_isp_id_show() 1061 return scnprintf(buf, PAGE_SIZE, "%04x %04x %04x %04x\n", in qla2x00_isp_id_show() 1072 return scnprintf(buf, PAGE_SIZE, "%s\n", vha->hw->model_number); in qla2x00_model_name_show() 1080 return scnprintf(buf, PAGE_SIZE, "%s\n", vha->hw->model_desc); in qla2x00_model_desc_show() [all …]
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-go7007.c | 245 saa->bottom_dma, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_irq_ts_done() 246 go7007_parse_video_stream(go, saa->bottom, PAGE_SIZE); in saa7134_go7007_irq_ts_done() 250 saa->top_dma, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_irq_ts_done() 251 go7007_parse_video_stream(go, saa->top, PAGE_SIZE); in saa7134_go7007_irq_ts_done() 262 0, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_stream_start() 267 0, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_stream_start() 269 dma_unmap_page(&dev->pci->dev, saa->top_dma, PAGE_SIZE, in saa7134_go7007_stream_start() 292 saa_writeb(SAA7134_TS_DMA0, ((PAGE_SIZE >> 7) - 1) & 0xff); in saa7134_go7007_stream_start() 293 saa_writeb(SAA7134_TS_DMA1, (PAGE_SIZE >> 15) & 0xff); in saa7134_go7007_stream_start() 294 saa_writeb(SAA7134_TS_DMA2, (PAGE_SIZE >> 31) & 0x3f); in saa7134_go7007_stream_start() [all …]
|
/linux-4.4.14/arch/cris/include/asm/ |
D | page.h | 9 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) macro 10 #define PAGE_MASK (~(PAGE_SIZE-1)) 12 #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE) 13 #define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
|
/linux-4.4.14/arch/xtensa/mm/ |
D | misc.S | 36 __loopi a2, a7, PAGE_SIZE, 32 62 __loopi a2, a4, PAGE_SIZE, 32 110 #if (DCACHE_WAY_SIZE > PAGE_SIZE) 135 __loopi a2, a7, PAGE_SIZE, 32 193 1: __loopi a2, a4, PAGE_SIZE, 32 226 1: addi a2, a2, -PAGE_SIZE 232 2: addi a3, a3, -PAGE_SIZE+1 242 #if (DCACHE_WAY_SIZE > PAGE_SIZE) 295 #if (ICACHE_WAY_SIZE > PAGE_SIZE)
|
/linux-4.4.14/arch/arm64/mm/ |
D | pgd.c | 35 if (PGD_SIZE == PAGE_SIZE) in pgd_alloc() 43 if (PGD_SIZE == PAGE_SIZE) in pgd_free() 54 if (PGD_SIZE != PAGE_SIZE) in pgd_cache_init()
|
/linux-4.4.14/drivers/block/zram/ |
D | zram_drv.c | 62 return scnprintf(b, PAGE_SIZE, "%llu\n", \ 111 return bvec->bv_len != PAGE_SIZE; in is_partial_io() 140 if (*offset + bvec->bv_len >= PAGE_SIZE) in update_position() 142 *offset = (*offset + bvec->bv_len) % PAGE_SIZE; in update_position() 167 for (pos = 0; pos != PAGE_SIZE / sizeof(*page); pos++) { in page_zero_filled() 200 return scnprintf(buf, PAGE_SIZE, "%u\n", val); in initstate_show() 208 return scnprintf(buf, PAGE_SIZE, "%llu\n", zram->disksize); in disksize_show() 217 return scnprintf(buf, PAGE_SIZE, "%llu\n", in orig_data_size_show() 235 return scnprintf(buf, PAGE_SIZE, "%llu\n", val << PAGE_SHIFT); in mem_used_total_show() 249 return scnprintf(buf, PAGE_SIZE, "%llu\n", val << PAGE_SHIFT); in mem_limit_show() [all …]
|
/linux-4.4.14/arch/c6x/kernel/ |
D | vmlinux.lds.S | 50 . = ALIGN(PAGE_SIZE); 64 . = ALIGN(PAGE_SIZE); 83 RO_DATA_SECTION(PAGE_SIZE) 112 PAGE_ALIGNED_DATA(PAGE_SIZE)
|
/linux-4.4.14/net/rds/ |
D | page.c | 108 if (bytes >= PAGE_SIZE) { in rds_page_remainder_alloc() 113 sg_set_page(scat, page, PAGE_SIZE, 0); in rds_page_remainder_alloc() 124 if (rem->r_page && bytes > (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc() 131 if (rem->r_page && bytes <= (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc() 139 if (rem->r_offset == PAGE_SIZE) { in rds_page_remainder_alloc()
|
/linux-4.4.14/arch/mips/mm/ |
D | tlb-r8k.c | 72 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_range() 88 end += (PAGE_SIZE - 1); in local_flush_tlb_range() 95 start += PAGE_SIZE; in local_flush_tlb_range() 115 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_kernel_range() 128 end += (PAGE_SIZE - 1); in local_flush_tlb_kernel_range() 135 start += PAGE_SIZE; in local_flush_tlb_kernel_range()
|
D | tlb-r3k.c | 95 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_range() 101 end += PAGE_SIZE - 1; in local_flush_tlb_range() 107 start += PAGE_SIZE; /* BARRIER */ in local_flush_tlb_range() 132 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_kernel_range() 137 end += PAGE_SIZE - 1; in local_flush_tlb_kernel_range() 144 start += PAGE_SIZE; /* BARRIER */ in local_flush_tlb_kernel_range()
|
D | c-tx39.c | 262 if (((size | addr) & (PAGE_SIZE - 1)) == 0) { in tx39_dma_cache_wback_inv() 266 addr += PAGE_SIZE; in tx39_dma_cache_wback_inv() 279 if (((size | addr) & (PAGE_SIZE - 1)) == 0) { in tx39_dma_cache_inv() 283 addr += PAGE_SIZE; in tx39_dma_cache_inv() 376 shm_align_mask = PAGE_SIZE - 1; in tx39_cache_init() 409 PAGE_SIZE - 1); in tx39_cache_init() 422 if (current_cpu_data.dcache.waysize > PAGE_SIZE) in tx39_cache_init()
|
/linux-4.4.14/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 34 #ifndef PAGE_SIZE 35 #define PAGE_SIZE sysconf(_SC_PAGESIZE) macro 53 addr_rw = mmap(NULL, 2 * PAGE_SIZE, PROT_READ | PROT_WRITE, in check_error_paths() 60 addr_ro = mmap(addr_rw + PAGE_SIZE, PAGE_SIZE, PROT_READ, in check_error_paths() 100 munmap(addr_rw, 2 * PAGE_SIZE); in check_error_paths()
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | vmlinux.lds.S | 31 INIT_TEXT_SECTION(PAGE_SIZE) 48 RO_DATA_SECTION(PAGE_SIZE) 49 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.4.14/arch/powerpc/boot/ |
D | page.h | 21 #define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT) macro 22 #define PAGE_MASK (~(PAGE_SIZE-1)) 32 #define PAGE_ALIGN(addr) _ALIGN(addr, PAGE_SIZE)
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | page.h | 25 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) macro 26 #define PAGE_MASK (~(PAGE_SIZE - 1)) 48 #define clear_page(page) memset((page), 0, PAGE_SIZE) 49 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | page.h | 33 #define PAGE_SIZE (__XTENSA_UL_CONST(1) << PAGE_SHIFT) macro 34 #define PAGE_MASK (~(PAGE_SIZE-1)) 74 #if DCACHE_WAY_SIZE > PAGE_SIZE 85 #if ICACHE_WAY_SIZE > PAGE_SIZE 148 #if defined(CONFIG_MMU) && DCACHE_WAY_SIZE > PAGE_SIZE
|
D | cacheflush.h | 69 #if defined(CONFIG_MMU) && (DCACHE_WAY_SIZE > PAGE_SIZE) 78 #if defined(CONFIG_MMU) && (ICACHE_WAY_SIZE > PAGE_SIZE) 95 ((DCACHE_WAY_SIZE > PAGE_SIZE) || defined(CONFIG_SMP)) 161 #if defined(CONFIG_MMU) && (DCACHE_WAY_SIZE > PAGE_SIZE)
|
D | shmparam.h | 19 #define SHMLBA ((PAGE_SIZE > DCACHE_WAY_SIZE)? PAGE_SIZE : DCACHE_WAY_SIZE)
|
/linux-4.4.14/arch/x86/mm/ |
D | init_32.c | 180 *adr = (void *)(((unsigned long)(*adr)) + PAGE_SIZE); in page_table_kmap_check() 308 unsigned int addr = pfn * PAGE_SIZE + PAGE_OFFSET; in kernel_physical_mapping_init() 326 addr2 = (pfn + PTRS_PER_PTE-1) * PAGE_SIZE + in kernel_physical_mapping_init() 327 PAGE_OFFSET + PAGE_SIZE-1; in kernel_physical_mapping_init() 347 pte++, pfn++, pte_ofs++, addr += PAGE_SIZE) { in kernel_physical_mapping_init() 361 last_map_addr = (pfn << PAGE_SHIFT) + PAGE_SIZE; in kernel_physical_mapping_init() 422 page_table_range_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in permanent_kmaps_init() 586 if (max_low_pfn - highmem_pages < 64*1024*1024/PAGE_SIZE) { in lowmem_pfn_init() 664 high_memory = (void *) __va(highstart_pfn * PAGE_SIZE - 1) + 1; in initmem_init() 666 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1; in initmem_init() [all …]
|
D | tlb.c | 118 (f->flush_end - f->flush_start) / PAGE_SIZE; in flush_tlb_func() 122 addr += PAGE_SIZE; in flush_tlb_func() 138 end = start + PAGE_SIZE; in native_flush_tlb_others() 229 for (addr = start; addr < end; addr += PAGE_SIZE) { in flush_tlb_mm_range() 292 for (addr = f->flush_start; addr < f->flush_end; addr += PAGE_SIZE) in do_kernel_range_flush() 301 (end - start) > tlb_single_page_flush_ceiling * PAGE_SIZE) { in flush_tlb_kernel_range()
|
/linux-4.4.14/arch/metag/mm/ |
D | init.c | 57 pte = alloc_bootmem_pages(PAGE_SIZE); in insert_gateway_page() 72 gateway_page = alloc_bootmem_pages(PAGE_SIZE); in user_gateway_init() 89 BUG_ON((&__user_gateway_end - &__user_gateway_start) > PAGE_SIZE); in user_gateway_init() 159 paddr = memblock_alloc(total_pages << PAGE_SHIFT, PAGE_SIZE); in bootmem_init_one_node() 244 memblock_reserve(base, (PFN_PHYS(start_pfn) + PAGE_SIZE - 1) - base); in init_and_reserve_mem() 285 pte = (pte_t *)alloc_bootmem_low_pages(PAGE_SIZE); in allocate_pgtables() 311 allocate_pgtables(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP); in fixedrange_init() 351 empty_zero_page = (unsigned long)alloc_bootmem_pages(PAGE_SIZE); in paging_init()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | dma-noncoherent.c | 233 vaddr += PAGE_SIZE; in __dma_alloc_coherent() 234 } while (size -= PAGE_SIZE); in __dma_alloc_coherent() 294 addr += PAGE_SIZE; in __dma_free_coherent() 295 } while (size -= PAGE_SIZE); in __dma_free_coherent() 358 size_t seg_size = min((size_t)(PAGE_SIZE - offset), size); in __dma_sync_page_highmem() 361 int nr_segs = 1 + ((size - seg_size) + PAGE_SIZE - 1)/PAGE_SIZE; in __dma_sync_page_highmem() 375 seg_size = min((size_t)PAGE_SIZE, size - cur_size); in __dma_sync_page_highmem()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | kernel-pgtable.h | 53 #define SWAPPER_DIR_SIZE (SWAPPER_PGTABLE_LEVELS * PAGE_SIZE) 54 #define IDMAP_DIR_SIZE (IDMAP_PGTABLE_LEVELS * PAGE_SIZE) 63 #define SWAPPER_BLOCK_SIZE PAGE_SIZE
|
/linux-4.4.14/arch/arm/include/asm/ |
D | kvm_mmu.h | 218 kvm_flush_dcache_to_poc(va, PAGE_SIZE); in __coherent_cache_guest_page() 222 (unsigned long)va + PAGE_SIZE); in __coherent_cache_guest_page() 224 size -= PAGE_SIZE; in __coherent_cache_guest_page() 241 kvm_flush_dcache_to_poc(va, PAGE_SIZE); in __kvm_flush_dcache_pte() 254 kvm_flush_dcache_to_poc(va, PAGE_SIZE); in __kvm_flush_dcache_pmd() 257 size -= PAGE_SIZE; in __kvm_flush_dcache_pmd()
|
D | page-nommu.h | 17 #define KTHREAD_SIZE PAGE_SIZE 23 #define clear_page(page) memset((page), 0, PAGE_SIZE) 24 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
|
D | limits.h | 4 #ifndef PAGE_SIZE 8 #define PIPE_BUF PAGE_SIZE
|
/linux-4.4.14/mm/ |
D | sparse-vmemmap.c | 106 void *p = vmemmap_alloc_block_buf(PAGE_SIZE, node); in vmemmap_pte_populate() 119 void *p = vmemmap_alloc_block(PAGE_SIZE, node); in vmemmap_pmd_populate() 131 void *p = vmemmap_alloc_block(PAGE_SIZE, node); in vmemmap_pud_populate() 143 void *p = vmemmap_alloc_block(PAGE_SIZE, node); in vmemmap_pgd_populate() 160 for (; addr < end; addr += PAGE_SIZE) { in vmemmap_populate_basepages() 173 vmemmap_verify(pte, node, addr, addr + PAGE_SIZE); in vmemmap_populate_basepages()
|
D | process_vm_access.c | 42 size_t copy = PAGE_SIZE - offset; in process_vm_rw_pages() 63 #define PVM_MAX_KMALLOC_PAGES (PAGE_SIZE * 2) 95 nr_pages = (addr + len - 1) / PAGE_SIZE - addr / PAGE_SIZE + 1; in process_vm_rw_single_vec() 107 bytes = pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec() 117 pa += pages * PAGE_SIZE; in process_vm_rw_single_vec() 166 / PAGE_SIZE - (unsigned long)rvec[i].iov_base in process_vm_rw_core() 167 / PAGE_SIZE + 1; in process_vm_rw_core()
|
D | slob.c | 84 #if PAGE_SIZE <= (32767 * 2) 323 sp->units = SLOB_UNITS(PAGE_SIZE); in slob_alloc() 326 set_slob(b, SLOB_UNITS(PAGE_SIZE), b + SLOB_UNITS(PAGE_SIZE)); in slob_alloc() 357 if (sp->units + units == SLOB_UNITS(PAGE_SIZE)) { in slob_free() 374 SLOB_UNITS(PAGE_SIZE)) & PAGE_MASK)); in slob_free() 437 if (size < PAGE_SIZE - align) { in __do_kmalloc_node() 458 size, PAGE_SIZE << order, gfp, node); in __do_kmalloc_node() 517 return PAGE_SIZE << compound_order(sp); in ksize() 543 if (c->size < PAGE_SIZE) { in slob_alloc_node() 551 PAGE_SIZE << get_order(c->size), in slob_alloc_node() [all …]
|
/linux-4.4.14/drivers/vfio/ |
D | vfio_iommu_type1.c | 293 for (i = 1, vaddr += PAGE_SIZE; i < npage; i++, vaddr += PAGE_SIZE) { in vfio_pin_pages() 365 iova += PAGE_SIZE; in vfio_unmap_unpin() 374 for (len = PAGE_SIZE; in vfio_unmap_unpin() 375 !domain->fgsp && iova + len < end; len += PAGE_SIZE) { in vfio_unmap_unpin() 423 bitmap |= PAGE_SIZE; in vfio_pgsize_bitmap() 520 for (i = 0; i < npage; i++, pfn++, iova += PAGE_SIZE) { in map_try_harder() 523 PAGE_SIZE, prot | domain->prot); in map_try_harder() 528 for (; i < npage && i > 0; i--, iova -= PAGE_SIZE) in map_try_harder() 529 iommu_unmap(domain->domain, iova, PAGE_SIZE); in map_try_harder() 681 iova += PAGE_SIZE; in vfio_iommu_replay() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 49 ret = scnprintf(buf, PAGE_SIZE, "%d\n", ret); in show_hrtbt_enb() 114 ret = scnprintf(buf, PAGE_SIZE, "0x%llx\n", in show_status() 153 if (any && strlcat(buf, " ", PAGE_SIZE) >= PAGE_SIZE) in show_status_str() 155 if (strlcat(buf, qib_status_str[i], PAGE_SIZE) >= in show_status_str() 156 PAGE_SIZE) in show_status_str() 163 strlcat(buf, "\n", PAGE_SIZE); in show_status_str() 253 .size = PAGE_SIZE, 292 .size = PAGE_SIZE, 521 ret = scnprintf(buf, PAGE_SIZE, "%s\n", dd->boardname); in show_hca() 529 return scnprintf(buf, PAGE_SIZE, "%s", (char *)ib_qib_version); in show_version() [all …]
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 106 return snprintf(buf, PAGE_SIZE, LPFC_MODULE_DESC "\n"); in lpfc_drvr_version_show() 126 return snprintf(buf, PAGE_SIZE, "1\n"); in lpfc_enable_fip_show() 128 return snprintf(buf, PAGE_SIZE, "0\n"); in lpfc_enable_fip_show() 141 return snprintf(buf, PAGE_SIZE, "BlockGuard Enabled\n"); in lpfc_bg_info_show() 143 return snprintf(buf, PAGE_SIZE, in lpfc_bg_info_show() 146 return snprintf(buf, PAGE_SIZE, in lpfc_bg_info_show() 158 return snprintf(buf, PAGE_SIZE, "%llu\n", in lpfc_bg_guard_err_show() 170 return snprintf(buf, PAGE_SIZE, "%llu\n", in lpfc_bg_apptag_err_show() 182 return snprintf(buf, PAGE_SIZE, "%llu\n", in lpfc_bg_reftag_err_show() 200 return snprintf(buf, PAGE_SIZE, "%s\n",lpfc_info(host)); in lpfc_info_show() [all …]
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 263 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_version() 275 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_posted_cmd() 287 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_reset() 299 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_abort() 311 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_model() 324 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_version() 337 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_request_len() 350 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_numbers_queue() 363 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_sdram_size() 376 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_hd_channels()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | overlay-sysfs.c | 36 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name); in overlay_name_show() 41 return snprintf(buf, PAGE_SIZE, "%s\n", in overlay_manager_show() 122 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_input_size_show() 132 return snprintf(buf, PAGE_SIZE, "%d\n", info.screen_width); in overlay_screen_width_show() 141 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_position_show() 180 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_output_size_show() 215 return snprintf(buf, PAGE_SIZE, "%d\n", ovl->is_enabled(ovl)); in overlay_enabled_show() 245 return snprintf(buf, PAGE_SIZE, "%d\n", in overlay_global_alpha_show() 287 return snprintf(buf, PAGE_SIZE, "%d\n", in overlay_pre_mult_alpha_show() 328 return snprintf(buf, PAGE_SIZE, "%d\n", info.zorder); in overlay_zorder_show()
|
D | display-sysfs.c | 33 return snprintf(buf, PAGE_SIZE, "%s\n", in display_name_show() 40 return snprintf(buf, PAGE_SIZE, "%d\n", in display_enabled_show() 73 return snprintf(buf, PAGE_SIZE, "%d\n", in display_tear_show() 107 return snprintf(buf, PAGE_SIZE, "%u,%u/%u/%u/%u,%u/%u/%u/%u\n", in display_timings_show() 157 return snprintf(buf, PAGE_SIZE, "%u\n", rotate); in display_rotate_show() 185 return snprintf(buf, PAGE_SIZE, "%u\n", mirror); in display_mirror_show() 217 return snprintf(buf, PAGE_SIZE, "0x%05x\n", wss); in display_wss_show()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | vmlinux.lds.S | 41 __init_begin = ALIGN(PAGE_SIZE); 42 INIT_TEXT_SECTION(PAGE_SIZE) 53 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | mem-layout.h | 78 #define VMALLOC_OFFSET PAGE_SIZE 110 #define PKMAP_BASE (FIXADDR_START-PAGE_SIZE*LAST_PKMAP) 116 #define VMALLOC_END (PKMAP_BASE-PAGE_SIZE*2)
|
/linux-4.4.14/sound/soc/tegra/ |
D | tegra_pcm.c | 46 .period_bytes_max = PAGE_SIZE, 49 .buffer_bytes_max = PAGE_SIZE * 8, 56 .prealloc_buffer_size = PAGE_SIZE * 8,
|
/linux-4.4.14/include/sound/ |
D | memalloc.h | 100 return (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in snd_sgbuf_aligned_pages() 111 addr &= ~((dma_addr_t)PAGE_SIZE - 1); in snd_sgbuf_get_addr() 112 return addr + offset % PAGE_SIZE; in snd_sgbuf_get_addr() 122 return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE; in snd_sgbuf_get_ptr()
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_attrs.c | 29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]); in fnic_show_state() 35 return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION); in fnic_show_drv_version() 43 return snprintf(buf, PAGE_SIZE, "%s\n", (lp->link_up) in fnic_show_link_state()
|
D | fnic_trace.c | 142 (trace_max_pages * PAGE_SIZE * 3) - len, in fnic_get_trace_data() 184 (trace_max_pages * PAGE_SIZE * 3) - len, in fnic_get_trace_data() 403 fnic_max_trace_entries = (trace_max_pages * PAGE_SIZE)/ in fnic_trace_buf_init() 406 fnic_trace_buf_p = (unsigned long)vmalloc((trace_max_pages * PAGE_SIZE)); in fnic_trace_buf_init() 413 memset((void *)fnic_trace_buf_p, 0, (trace_max_pages * PAGE_SIZE)); in fnic_trace_buf_init() 491 fc_trace_max_entries = (fnic_fc_trace_max_pages * PAGE_SIZE)/ in fnic_fc_trace_init() 494 fnic_fc_trace_max_pages * PAGE_SIZE); in fnic_fc_trace_init() 503 fnic_fc_trace_max_pages * PAGE_SIZE); in fnic_fc_trace_init() 598 fnic_fc_trace_max_pages * PAGE_SIZE); in fnic_fc_trace_set_data() 679 (fnic_fc_trace_max_pages * PAGE_SIZE * 3) - len, in fnic_fc_trace_get_data() [all …]
|
/linux-4.4.14/arch/x86/um/vdso/ |
D | vma.c | 28 BUG_ON(vdso_end - vdso_start > PAGE_SIZE); in init_vdso() 30 um_vdso_addr = task_size - PAGE_SIZE; in init_vdso() 66 err = install_special_mapping(mm, um_vdso_addr, PAGE_SIZE, in arch_setup_additional_pages()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | pgtable-64.h | 111 #define PTRS_PER_PGD ((PAGE_SIZE << PGD_ORDER) / sizeof(pgd_t)) 113 #define PTRS_PER_PMD ((PAGE_SIZE << PMD_ORDER) / sizeof(pmd_t)) 115 #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) 129 #define VMALLOC_START (MAP_BASE + (2 * PAGE_SIZE)) 132 min(PTRS_PER_PGD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 139 #define MODULE_END (FIXADDR_START-2*PAGE_SIZE)
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gart.c | 128 PAGE_SIZE, true, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gart_table_vram_alloc() 239 p = t / (PAGE_SIZE / AMDGPU_GPU_PAGE_SIZE); in amdgpu_gart_unbind() 248 for (j = 0; j < (PAGE_SIZE / AMDGPU_GPU_PAGE_SIZE); j++, t++) { in amdgpu_gart_unbind() 287 p = t / (PAGE_SIZE / AMDGPU_GPU_PAGE_SIZE); in amdgpu_gart_bind() 294 for (j = 0; j < (PAGE_SIZE / AMDGPU_GPU_PAGE_SIZE); j++, t++) { in amdgpu_gart_bind() 321 if (PAGE_SIZE < AMDGPU_GPU_PAGE_SIZE) { in amdgpu_gart_init() 329 adev->gart.num_cpu_pages = adev->mc.gtt_size / PAGE_SIZE; in amdgpu_gart_init()
|
/linux-4.4.14/arch/arm/mm/ |
D | flush.c | 51 : "r" (to), "r" (to + PAGE_SIZE - 1), "r" (zero) in flush_pfn_alias() 58 unsigned long offset = vaddr & (PAGE_SIZE - 1); in flush_icache_alias() 210 size_t page_size = PAGE_SIZE << compound_order(page); in __flush_dcache_page() 217 __cpuc_flush_dcache_area(addr, PAGE_SIZE); in __flush_dcache_page() 224 __cpuc_flush_dcache_area(addr, PAGE_SIZE); in __flush_dcache_page() 373 __cpuc_flush_dcache_area(addr, PAGE_SIZE); in flush_kernel_dcache_page() 416 __cpuc_flush_dcache_area(page_address(page), PAGE_SIZE); in __flush_anon_page()
|
/linux-4.4.14/fs/ |
D | dax.c | 53 unsigned pgsz = PAGE_SIZE - offset_in_page(addr); in dax_clear_blocks() 267 size = (i_size_read(inode) + PAGE_SIZE - 1) >> PAGE_SHIFT; in dax_load_hole() 312 size = (i_size_read(inode) + PAGE_SIZE - 1) >> PAGE_SHIFT; in dax_insert_mapping() 321 if (error < PAGE_SIZE) { in dax_insert_mapping() 327 clear_pmem(addr, PAGE_SIZE); in dax_insert_mapping() 370 size = (i_size_read(inode) + PAGE_SIZE - 1) >> PAGE_SHIFT; in __dax_fault() 376 bh.b_size = PAGE_SIZE; in __dax_fault() 390 size = (i_size_read(inode) + PAGE_SIZE - 1) >> PAGE_SHIFT; in __dax_fault() 402 if (!error && (bh.b_size < PAGE_SIZE)) in __dax_fault() 413 if (!error && (bh.b_size < PAGE_SIZE)) in __dax_fault() [all …]
|
/linux-4.4.14/arch/tile/mm/ |
D | homecache.c | 164 finv_buffer_local(va, PAGE_SIZE); in homecache_finv_page_va() 166 finv_buffer_remote(va, PAGE_SIZE, 1); in homecache_finv_page_va() 169 finv_buffer_remote(va, PAGE_SIZE, 0); in homecache_finv_page_va() 195 hv_flush_page(va, PAGE_SIZE); in homecache_finv_map_page() 230 sim_validate_lines_evicted(PFN_PHYS(page_to_pfn(page)), PAGE_SIZE); in homecache_finv_page_internal() 372 kva, pages * PAGE_SIZE, PAGE_SIZE, cpu_online_mask, in homecache_change_page_home() 375 for (i = 0; i < pages; ++i, kva += PAGE_SIZE) { in homecache_change_page_home()
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 98 return scnprintf(buf, PAGE_SIZE, "%s\n", name); in show_name() 120 return scnprintf(buf, PAGE_SIZE, "%s\n", name); in show_type() 133 return scnprintf(buf, PAGE_SIZE, "%ld\n", val); in show_min() 146 return scnprintf(buf, PAGE_SIZE, "%ld\n", val); in show_max() 161 buf, PAGE_SIZE - 1, &cnt); in show_def() 180 buf, PAGE_SIZE - 1, &cnt); in show_val_norm() 199 buf, PAGE_SIZE - 1, &cnt); in show_val_custom() 218 PAGE_SIZE - bcnt, &ccnt); in show_enum() 221 if (bcnt >= PAGE_SIZE) break; in show_enum() 244 PAGE_SIZE - bcnt, &ccnt); in show_bits() [all …]
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
D | coresight-etm4x.c | 322 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in nr_pe_cmp_show() 334 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in nr_addr_cmp_show() 346 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in nr_cntr_show() 358 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in nr_ext_inp_show() 370 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in numcidc_show() 382 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in numvmidc_show() 394 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in nrseqstate_show() 406 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in nr_resource_show() 418 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in nr_ss_cmp_show() 540 return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); in mode_show() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | sysfs.c | 89 count = snprintf(buf, PAGE_SIZE, "0 (No Interference" in b43legacy_attr_interfmode_show() 93 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference" in b43legacy_attr_interfmode_show() 97 count = snprintf(buf, PAGE_SIZE, "2 (WLAN Interference" in b43legacy_attr_interfmode_show() 170 count = snprintf(buf, PAGE_SIZE, "1 (Short Preamble" in b43legacy_attr_preamble_show() 173 count = snprintf(buf, PAGE_SIZE, "0 (Short Preamble" in b43legacy_attr_preamble_show()
|
/linux-4.4.14/drivers/lguest/ |
D | core.c | 55 if (end_switcher_text - start_switcher_text > PAGE_SIZE) { in map_switcher() 91 switcher_addr = FIXADDR_START - (TOTAL_SWITCHER_PAGES+1)*PAGE_SIZE; in map_switcher() 99 switcher_vma = __get_vm_area(TOTAL_SWITCHER_PAGES * PAGE_SIZE, in map_switcher() 101 + (TOTAL_SWITCHER_PAGES+1) * PAGE_SIZE); in map_switcher() 176 return addr+len <= lg->pfn_limit * PAGE_SIZE && (addr+len >= addr); in lguest_address_ok()
|
/linux-4.4.14/net/vmw_vsock/ |
D | vmci_transport_notify_qstate.c | 43 if (PKT_FIELD(vsk, write_notify_window) < PAGE_SIZE) { in vmci_transport_notify_waiting_write() 47 PKT_FIELD(vsk, write_notify_window) -= PAGE_SIZE; in vmci_transport_notify_waiting_write() 104 min(PKT_FIELD(vsk, write_notify_window) + PAGE_SIZE, in vsock_block_update_write_window() 152 PKT_FIELD(vsk, write_notify_window) = PAGE_SIZE; in vmci_transport_notify_pkt_socket_init() 153 PKT_FIELD(vsk, write_notify_min_window) = PAGE_SIZE; in vmci_transport_notify_pkt_socket_init() 160 PKT_FIELD(vsk, write_notify_window) = PAGE_SIZE; in vmci_transport_notify_pkt_socket_destruct() 161 PKT_FIELD(vsk, write_notify_min_window) = PAGE_SIZE; in vmci_transport_notify_pkt_socket_destruct()
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion_system_heap.c | 47 return PAGE_SIZE << order; in order_to_size() 73 ion_pages_sync_for_device(NULL, page, PAGE_SIZE << order, in alloc_buffer_page() 136 if (align > PAGE_SIZE) in ion_system_heap_allocate() 139 if (size / PAGE_SIZE > totalram_pages / 2) in ion_system_heap_allocate() 149 size_remaining -= PAGE_SIZE << compound_order(page); in ion_system_heap_allocate() 162 sg_set_page(sg, page, PAGE_SIZE << compound_order(page), 0); in ion_system_heap_allocate() 268 (PAGE_SIZE << pool->order) * pool->high_count); in ion_system_heap_debug_show() 271 (PAGE_SIZE << pool->order) * pool->low_count); in ion_system_heap_debug_show() 336 if (align > (PAGE_SIZE << order)) in ion_system_contig_heap_allocate()
|
D | ion_heap.c | 36 int npages = PAGE_ALIGN(buffer->size) / PAGE_SIZE; in ion_heap_map_kernel() 49 int npages_this_entry = PAGE_ALIGN(sg->length) / PAGE_SIZE; in ion_heap_map_kernel() 76 unsigned long offset = vma->vm_pgoff * PAGE_SIZE; in ion_heap_map_user() 90 page += offset / PAGE_SIZE; in ion_heap_map_user() 112 memset(addr, 0, PAGE_SIZE * num); in ion_heap_clear_pages() 275 total = ion_heap_freelist_size(heap) / PAGE_SIZE; in ion_heap_shrink_count() 297 freed = ion_heap_freelist_shrink(heap, to_scan * PAGE_SIZE) / in ion_heap_shrink_scan() 298 PAGE_SIZE; in ion_heap_shrink_scan()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | block2mtd.c | 67 max = page_address(page) + PAGE_SIZE; in _block2mtd_erase() 71 memset(page_address(page), 0xff, PAGE_SIZE); in _block2mtd_erase() 112 int offset = from & (PAGE_SIZE-1); in block2mtd_read() 116 if ((offset + len) > PAGE_SIZE) in block2mtd_read() 117 cpylen = PAGE_SIZE - offset; // multiple pages in block2mtd_read() 150 if ((offset+len) > PAGE_SIZE) in _block2mtd_write() 151 cpylen = PAGE_SIZE - offset; // multiple pages in _block2mtd_write() 295 dev->mtd.writebufsize = PAGE_SIZE; in add_device() 389 size_t erase_size = PAGE_SIZE; in block2mtd_setup2()
|
/linux-4.4.14/drivers/mfd/ |
D | aat2870-core.c | 239 if (count >= PAGE_SIZE - 1) in aat2870_dump_reg() 244 count += snprintf(buf + count, PAGE_SIZE - count, in aat2870_dump_reg() 247 count += snprintf(buf + count, PAGE_SIZE - count, in aat2870_dump_reg() 250 if (count >= PAGE_SIZE - 1) in aat2870_dump_reg() 253 count += snprintf(buf + count, PAGE_SIZE - count, "\n"); in aat2870_dump_reg() 254 if (count >= PAGE_SIZE - 1) in aat2870_dump_reg() 259 if (count >= PAGE_SIZE) in aat2870_dump_reg() 260 count = PAGE_SIZE - 1; in aat2870_dump_reg() 272 buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in aat2870_reg_read_file()
|
/linux-4.4.14/drivers/misc/mic/cosm/ |
D | cosm_sysfs.c | 98 return scnprintf(buf, PAGE_SIZE, "%s\n", in state_show() 141 return scnprintf(buf, PAGE_SIZE, "%s\n", in shutdown_status_show() 155 return scnprintf(buf, PAGE_SIZE, "%d\n", cdev->sysfs_heartbeat_enable); in heartbeat_enable_show() 198 return scnprintf(buf, PAGE_SIZE, "%s\n", cmdline); in cmdline_show() 244 return scnprintf(buf, PAGE_SIZE, "%s\n", firmware); in firmware_show() 289 return scnprintf(buf, PAGE_SIZE, "%s\n", ramdisk); in ramdisk_show() 335 return scnprintf(buf, PAGE_SIZE, "%s\n", bootmode); in bootmode_show() 381 return scnprintf(buf, PAGE_SIZE, "%p\n", cdev->log_buf_addr); in log_buf_addr_show() 415 return scnprintf(buf, PAGE_SIZE, "%p\n", cdev->log_buf_len); in log_buf_len_show()
|
/linux-4.4.14/drivers/xen/ |
D | privcmd.c | 93 if (size > PAGE_SIZE) in gather_array() 96 pageidx = PAGE_SIZE; in gather_array() 99 if (pageidx > PAGE_SIZE-size) { in gather_array() 139 BUG_ON(size > PAGE_SIZE); in traverse_pages() 141 pageidx = PAGE_SIZE; in traverse_pages() 145 if (pageidx > PAGE_SIZE-size) { in traverse_pages() 175 BUG_ON(size > PAGE_SIZE); in traverse_pages_block() 177 pageidx = PAGE_SIZE; in traverse_pages_block() 180 int nr = (PAGE_SIZE/size); in traverse_pages_block() 338 st->va += PAGE_SIZE * nr; in mmap_batch_fn() [all …]
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | page.h | 17 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) macro 18 #define PAGE_MASK (~(PAGE_SIZE-1)) 25 #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE)
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | page_mm.h | 27 : "0" (to), "1" (from) , "2" (PAGE_SIZE / 32 - 1) in copy_page() 50 "1" ((PAGE_SIZE - 16) / 16 - 1)); in clear_page() 54 #define clear_page(page) memset((page), 0, PAGE_SIZE) 55 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | page_32.h | 14 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) macro 15 #define PAGE_MASK (~(PAGE_SIZE-1)) 19 #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE) 20 #define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
|
D | shmparam_64.h | 8 #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE)
|
/linux-4.4.14/include/linux/ |
D | bootmem.h | 125 __alloc_bootmem(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT) 127 __alloc_bootmem_nopanic(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT) 133 __alloc_bootmem_node(pgdat, x, PAGE_SIZE, BOOTMEM_LOW_LIMIT) 135 __alloc_bootmem_node_nopanic(pgdat, x, PAGE_SIZE, BOOTMEM_LOW_LIMIT) 140 __alloc_bootmem_low_nopanic(x, PAGE_SIZE, 0) 142 __alloc_bootmem_low(x, PAGE_SIZE, 0) 144 __alloc_bootmem_low_node(pgdat, x, PAGE_SIZE, 0)
|
/linux-4.4.14/drivers/staging/most/mostcore/ |
D | core.c | 293 return snprintf(buf, PAGE_SIZE, "%d\n", in show_number_of_packet_buffers() 304 return snprintf(buf, PAGE_SIZE, "%d\n", in show_number_of_stream_buffers() 315 return snprintf(buf, PAGE_SIZE, "%d\n", in show_size_of_packet_buffer() 326 return snprintf(buf, PAGE_SIZE, "%d\n", in show_size_of_stream_buffer() 334 return snprintf(buf, PAGE_SIZE, "%d\n", c->is_starving); in show_channel_starving() 352 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.num_buffers); in show_set_number_of_buffers() 371 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.buffer_size); in show_set_buffer_size() 391 return snprintf(buf, PAGE_SIZE, "dir_tx\n"); in show_set_direction() 393 return snprintf(buf, PAGE_SIZE, "dir_rx\n"); in show_set_direction() 394 return snprintf(buf, PAGE_SIZE, "unconfigured\n"); in show_set_direction() [all …]
|
/linux-4.4.14/arch/x86/entry/vdso/ |
D | vma.c | 30 int npages = (image->size) / PAGE_SIZE; in init_vdso_image() 32 BUG_ON(image->size % PAGE_SIZE != 0); in init_vdso_image() 35 virt_to_page(image->data + i*PAGE_SIZE); in init_vdso_image() 153 PAGE_SIZE, in map_vdso() 164 PAGE_SIZE, in map_vdso()
|
/linux-4.4.14/fs/ext4/ |
D | sysfs.c | 56 return snprintf(buf, PAGE_SIZE, "0\n"); in session_write_kbytes_show() 57 return snprintf(buf, PAGE_SIZE, "%lu\n", in session_write_kbytes_show() 68 return snprintf(buf, PAGE_SIZE, "0\n"); in lifetime_write_kbytes_show() 69 return snprintf(buf, PAGE_SIZE, "%llu\n", in lifetime_write_kbytes_show() 261 return snprintf(buf, PAGE_SIZE, "%llu\n", in ext4_attr_show() 269 return snprintf(buf, PAGE_SIZE, "%llu\n", in ext4_attr_show() 276 return snprintf(buf, PAGE_SIZE, "%u\n", in ext4_attr_show() 281 return snprintf(buf, PAGE_SIZE, "%d\n", in ext4_attr_show() 284 return snprintf(buf, PAGE_SIZE, "supported\n"); in ext4_attr_show()
|
/linux-4.4.14/crypto/ |
D | tcrypt.c | 283 int np = (buflen + PAGE_SIZE - 1)/PAGE_SIZE; in sg_init_aead() 287 rem = PAGE_SIZE; in sg_init_aead() 290 rem = buflen % PAGE_SIZE; in sg_init_aead() 296 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead() 327 if (aad_size >= PAGE_SIZE) { in test_aead_speed() 378 if ((*keysize + *b_size) > TVMEMSIZE * PAGE_SIZE) { in test_aead_speed() 381 TVMEMSIZE * PAGE_SIZE); in test_aead_speed() 404 memset(tvmem[0], 0xff, PAGE_SIZE); in test_aead_speed() 494 if ((*keysize + *b_size) > TVMEMSIZE * PAGE_SIZE) { in test_cipher_speed() 497 TVMEMSIZE * PAGE_SIZE); in test_cipher_speed() [all …]
|
/linux-4.4.14/drivers/s390/crypto/ |
D | ap_bus.c | 1029 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type); in ap_hwtype_show() 1039 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->raw_hwtype); in ap_raw_hwtype_show() 1048 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); in ap_depth_show() 1060 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->total_request_count); in ap_request_count_show() 1074 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->requestq_count); in ap_requestq_count_show() 1088 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->pendingq_count); in ap_pendingq_count_show() 1105 rc = snprintf(buf, PAGE_SIZE, "Reset in progress.\n"); in ap_reset_show() 1109 rc = snprintf(buf, PAGE_SIZE, "Reset Timer armed.\n"); in ap_reset_show() 1112 rc = snprintf(buf, PAGE_SIZE, "No Reset Timer set.\n"); in ap_reset_show() 1128 rc = snprintf(buf, PAGE_SIZE, "Enable Interrupt pending.\n"); in ap_interrupt_show() [all …]
|
/linux-4.4.14/kernel/power/ |
D | swap.c | 53 #define MAP_PAGE_ENTRIES (PAGE_SIZE / sizeof(sector_t) - 1) 98 char reserved[PAGE_SIZE - 20 - sizeof(sector_t) - sizeof(int) - 261 bio->bi_iter.bi_sector = page_off * (PAGE_SIZE >> 9); in hib_submit_io() 264 if (bio_add_page(bio, page, PAGE_SIZE, 0) < PAGE_SIZE) { in hib_submit_io() 336 res = set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_swap_check() 494 #define LZO_UNC_SIZE (LZO_UNC_PAGES * PAGE_SIZE) 498 LZO_HEADER, PAGE_SIZE) 499 #define LZO_CMP_SIZE (LZO_CMP_PAGES * PAGE_SIZE) 756 for (off = 0; off < LZO_UNC_SIZE; off += PAGE_SIZE) { in save_image_lzo() 765 data_of(*snapshot), PAGE_SIZE); in save_image_lzo() [all …]
|
/linux-4.4.14/drivers/usb/atm/ |
D | cxacru.c | 250 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_u32() 255 return snprintf(buf, PAGE_SIZE, "%d\n", value); in cxacru_sysfs_showattr_s8() 261 return snprintf(buf, PAGE_SIZE, "%u.%02u\n", in cxacru_sysfs_showattr_dB() 265 return snprintf(buf, PAGE_SIZE, "-%u.%02u\n", in cxacru_sysfs_showattr_dB() 275 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_bool() 276 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); in cxacru_sysfs_showattr_bool() 284 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_LINK() 285 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); in cxacru_sysfs_showattr_LINK() 295 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_LINE() 296 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); in cxacru_sysfs_showattr_LINE() [all …]
|
/linux-4.4.14/fs/proc/ |
D | vmcore.c | 98 offset = (unsigned long)(*ppos % PAGE_SIZE); in read_from_oldmem() 99 pfn = (unsigned long)(*ppos / PAGE_SIZE); in read_from_oldmem() 102 if (count > (PAGE_SIZE - offset)) in read_from_oldmem() 103 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem() 282 rc = __read_vmcore(buf, PAGE_SIZE, &offset, 0); in mmap_vmcore_fault() 374 PAGE_SIZE, prot)) in remap_oldmem_pfn_checked() 376 len += PAGE_SIZE; in remap_oldmem_pfn_checked() 664 *notes_sz = roundup(phdr_sz, PAGE_SIZE); in merge_note_headers_elf64() 678 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64() 693 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | sysfs.c | 16 return snprintf(buf, PAGE_SIZE, "%d\n", get); \ 43 return snprintf(buf, PAGE_SIZE, "%d\n", get); \ 66 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_NOISE_IMM_LVL); in ath5k_attr_show_noise_immunity_level_max() 75 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_FIRSTEP_LVL); in ath5k_attr_show_firstep_level_max()
|
/linux-4.4.14/arch/mips/dec/ |
D | kn01-berr.c | 114 entryhi = asid & (PAGE_SIZE - 1); in dec_kn01_be_backend() 115 entryhi |= vaddr & ~(PAGE_SIZE - 1); in dec_kn01_be_backend() 123 offset = vaddr & (PAGE_SIZE - 1); in dec_kn01_be_backend() 124 address = (entrylo & ~(PAGE_SIZE - 1)) | offset; in dec_kn01_be_backend()
|
/linux-4.4.14/arch/tile/lib/ |
D | atomic_32.c | 24 int atomic_locks[PAGE_SIZE / sizeof(int)] __page_aligned_bss; 195 BUG_ON((unsigned long)atomic_locks % PAGE_SIZE != 0); in __init_atomic_per_cpu() 198 BUILD_BUG_ON(ATOMIC_HASH_SIZE * sizeof(int) > PAGE_SIZE); in __init_atomic_per_cpu() 205 BUILD_BUG_ON((PAGE_SIZE >> 3) > ATOMIC_HASH_SIZE); in __init_atomic_per_cpu()
|
/linux-4.4.14/arch/um/include/asm/ |
D | page.h | 14 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) macro 15 #define PAGE_MASK (~(PAGE_SIZE-1)) 28 #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE) 29 #define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | sysfs.c | 109 .size = PAGE_SIZE, 151 .size = PAGE_SIZE, 465 ret = scnprintf(buf, PAGE_SIZE, "%s\n", dd->boardname); in show_hfi() 477 return scnprintf(buf, PAGE_SIZE, "%s", dd->boardversion); in show_boardversion() 494 return scnprintf(buf, PAGE_SIZE, "%u\n", in show_nctxts() 507 return scnprintf(buf, PAGE_SIZE, "%u\n", dd->freectxts); in show_nfreectxts() 517 return scnprintf(buf, PAGE_SIZE, "%s", dd->serial); in show_serial() 564 idx += temp2str(temp.curr, buf, PAGE_SIZE, idx); in show_tempsense() 565 idx += temp2str(temp.lo_lim, buf, PAGE_SIZE, idx); in show_tempsense() 566 idx += temp2str(temp.hi_lim, buf, PAGE_SIZE, idx); in show_tempsense() [all …]
|
/linux-4.4.14/arch/arm/vdso/ |
D | vdso.S | 29 .balign PAGE_SIZE 32 .balign PAGE_SIZE
|
/linux-4.4.14/arch/powerpc/kernel/vdso64/ |
D | vdso64_wrapper.S | 7 .balign PAGE_SIZE 10 .balign PAGE_SIZE
|
/linux-4.4.14/arch/tile/kernel/vdso/ |
D | vdso32.S | 22 .align PAGE_SIZE 25 .align PAGE_SIZE
|
D | vdso.S | 22 .align PAGE_SIZE 25 .align PAGE_SIZE
|
/linux-4.4.14/arch/arm64/kernel/vdso/ |
D | vdso.S | 27 .balign PAGE_SIZE 30 .balign PAGE_SIZE
|