Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 - 25 of 7084) sorted by relevance

12345678910>>...284

/kernel/linux/linux-5.10/drivers/media/common/siano/
H A Dsmsdvb-debugfs.c27 char stats_data[PAGE_SIZE];
48 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
50 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
52 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
54 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
56 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
58 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
60 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
62 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
64 n += scnprintf(&buf[n], PAGE_SIZE in smsdvb_print_dvb_stats()
[all...]
/kernel/linux/linux-5.10/tools/testing/scatterlist/
H A Dmain.c24 ((1 + array[i]) * PAGE_SIZE); in set_pages()
55 { -EINVAL, 1, pfn(0), PAGE_SIZE, 0, 1 }, in main()
56 { 0, 1, pfn(0), PAGE_SIZE, PAGE_SIZE + 1, 1 }, in main()
57 { 0, 1, pfn(0), PAGE_SIZE, sgmax + 1, 1 }, in main()
58 { 0, 1, pfn(0), PAGE_SIZE, sgmax, 1 }, in main()
60 { 0, 2, pfn(0, 1), 2 * PAGE_SIZE, sgmax, 1 }, in main()
61 { 0, 2, pfn(1, 0), 2 * PAGE_SIZE, sgmax, 2 }, in main()
62 { 0, 3, pfn(0, 1, 2), 3 * PAGE_SIZE, sgmax, 1 }, in main()
63 { 0, 3, pfn(0, 2, 1), 3 * PAGE_SIZE, sgma in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/scatterlist/
H A Dmain.c25 ((1 + array[i]) * PAGE_SIZE); in set_pages()
56 { -EINVAL, 1, pfn(0), NULL, PAGE_SIZE, 0, 1 }, in main()
57 { 0, 1, pfn(0), NULL, PAGE_SIZE, PAGE_SIZE + 1, 1 }, in main()
58 { 0, 1, pfn(0), NULL, PAGE_SIZE, sgmax, 1 }, in main()
60 { 0, 2, pfn(0, 1), NULL, 2 * PAGE_SIZE, sgmax, 1 }, in main()
61 { 0, 2, pfn(1, 0), NULL, 2 * PAGE_SIZE, sgmax, 2 }, in main()
62 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 }, in main()
63 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 }, in main()
64 { 0, 3, pfn(0, 1, 2), pfn(3, 4, 5), 3 * PAGE_SIZE, sgma in main()
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dvmlinux.lds.S56 . = ALIGN(PAGE_SIZE);
60 RO_DATA(PAGE_SIZE)
62 . = ALIGN(PAGE_SIZE);
65 . = ALIGN(PAGE_SIZE);
71 . = ALIGN(PAGE_SIZE);
74 RW_DATA(0x100, PAGE_SIZE, THREAD_SIZE)
84 . = ALIGN(PAGE_SIZE);
88 . = ALIGN(PAGE_SIZE); /* Init code and data */
91 . = ALIGN(PAGE_SIZE);
95 . = ALIGN(PAGE_SIZE);
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dva_high_addr_switch.c15 #define PAGE_SIZE (64 << 10) macro
25 #define PAGE_SIZE (64 << 10) macro
28 #define PAGE_SIZE (4 << 10) macro
68 .addr = ((void *)(ADDR_SWITCH_HINT - PAGE_SIZE)),
69 .size = PAGE_SIZE,
71 .msg = "mmap(ADDR_SWITCH_HINT - PAGE_SIZE, PAGE_SIZE)",
81 .addr = ((void *)(ADDR_SWITCH_HINT - PAGE_SIZE)),
82 .size = 2 * PAGE_SIZE,
84 .msg = "mmap(ADDR_SWITCH_HINT - PAGE_SIZE, (
[all...]
/kernel/linux/linux-5.10/lib/raid6/test/
H A Dtest.c21 const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
24 char data[NDISKS][PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
25 char recovi[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
26 char recovj[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
33 for (j = 0; j < PAGE_SIZE; j++) in makedata()
56 memset(recovi, 0xf0, PAGE_SIZE); in test_disks()
[all...]
/kernel/linux/linux-6.6/lib/raid6/test/
H A Dtest.c21 const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
24 char data[NDISKS][PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
25 char recovi[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
26 char recovj[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
33 for (j = 0; j < PAGE_SIZE; j++) in makedata()
56 memset(recovi, 0xf0, PAGE_SIZE); in test_disks()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dva_128TBswitch.c15 #define PAGE_SIZE (64 << 10) macro
21 #define PAGE_SIZE (4 << 10) macro
48 .addr = ((void *)(ADDR_SWITCH_HINT - PAGE_SIZE)),
49 .size = PAGE_SIZE,
51 .msg = "mmap(ADDR_SWITCH_HINT - PAGE_SIZE, PAGE_SIZE)",
60 .addr = ((void *)(ADDR_SWITCH_HINT - PAGE_SIZE)),
61 .size = 2 * PAGE_SIZE,
63 .msg = "mmap(ADDR_SWITCH_HINT - PAGE_SIZE, (2 * PAGE_SIZE))",
[all...]
/kernel/linux/linux-5.10/arch/nds32/mm/
H A Dinit.c80 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in map_ram()
83 __func__, PAGE_SIZE, PAGE_SIZE); in map_ram()
88 v += PAGE_SIZE, p += PAGE_SIZE, j++, pte++) { in map_ram()
111 fixmap_pmd_p = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in fixedrange_init()
114 __func__, PAGE_SIZE, PAGE_SIZE); in fixedrange_init()
[all...]
/kernel/linux/linux-5.10/arch/um/kernel/
H A Dmem.c43 memset(empty_zero_page, 0, PAGE_SIZE); in mem_init()
68 pte_t *pte = (pte_t *) memblock_alloc_low(PAGE_SIZE, in one_page_table_init()
69 PAGE_SIZE); in one_page_table_init()
72 __func__, PAGE_SIZE, PAGE_SIZE); in one_page_table_init()
84 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init()
87 __func__, PAGE_SIZE, PAGE_SIZE); in one_md_table_init()
136 v = (unsigned long) memblock_alloc_low(size, PAGE_SIZE); in fixaddr_user_init()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dvmlinux.lds.S53 . = ALIGN(PAGE_SIZE);
57 RO_DATA(PAGE_SIZE)
59 . = ALIGN(PAGE_SIZE);
62 . = ALIGN(PAGE_SIZE);
69 . = ALIGN(PAGE_SIZE);
72 RW_DATA(0x100, PAGE_SIZE, THREAD_SIZE)
78 . = ALIGN(PAGE_SIZE); /* Init code and data */
81 . = ALIGN(PAGE_SIZE);
85 . = ALIGN(PAGE_SIZE);
142 . = ALIGN(PAGE_SIZE);
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/iommu/
H A Diommufd.c14 #define MOCK_PAGE_SIZE (PAGE_SIZE / 2)
40 PAGE_SIZE = sysconf(_SC_PAGE_SIZE); in setup_sizes()
43 BUFFER_SIZE = PAGE_SIZE * 16; in setup_sizes()
276 test_ioctl_ioas_map_fixed(buffer, PAGE_SIZE, self->base_iova); in TEST_F()
290 test_ioctl_ioas_map_fixed(buffer, PAGE_SIZE, in TEST_F()
291 self->base_iova + i * PAGE_SIZE); in TEST_F()
335 test_err_ioctl_ioas_unmap(ENOENT, i * PAGE_SIZE, PAGE_SIZE); in TEST_F()
339 test_ioctl_ioas_map_fixed(buffer, PAGE_SIZE, in TEST_F()
340 self->base_iova + i * PAGE_SIZE); in TEST_F()
[all...]
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dvmlinux.lds.S18 . = ALIGN(PAGE_SIZE); \
22 . = ALIGN(PAGE_SIZE); \
27 . = ALIGN(PAGE_SIZE); \
42 . = ALIGN(PAGE_SIZE); \
51 #define SBSS_ALIGN PAGE_SIZE
78 . = ALIGN(PAGE_SIZE); \
85 . = ALIGN(PAGE_SIZE); \
116 . = ALIGN(PAGE_SIZE); \
119 . = ALIGN(PAGE_SIZE); \
190 RO_DATA(PAGE_SIZE)
[all...]
/kernel/linux/linux-5.10/lib/
H A Dtest_user_copy.c52 if (test(size < 2 * PAGE_SIZE, "buffer too small")) in test_check_nonzero_user()
62 start = PAGE_SIZE - (size / 2); in test_check_nonzero_user()
194 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init()
198 user_addr = vm_mmap(NULL, 0, PAGE_SIZE * 2, in test_user_copy_init()
213 memset(kmem, 0x3a, PAGE_SIZE * 2); in test_user_copy_init()
214 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init()
216 memset(kmem, 0x0, PAGE_SIZE); in test_user_copy_init()
217 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init()
219 ret |= test(memcmp(kmem, kmem + PAGE_SIZE, PAGE_SIZE), in test_user_copy_init()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_user_copy.c52 if (test(size < 2 * PAGE_SIZE, "buffer too small")) in test_check_nonzero_user()
62 start = PAGE_SIZE - (size / 2); in test_check_nonzero_user()
194 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init()
198 user_addr = vm_mmap(NULL, 0, PAGE_SIZE * 2, in test_user_copy_init()
213 memset(kmem, 0x3a, PAGE_SIZE * 2); in test_user_copy_init()
214 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init()
216 memset(kmem, 0x0, PAGE_SIZE); in test_user_copy_init()
217 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init()
219 ret |= test(memcmp(kmem, kmem + PAGE_SIZE, PAGE_SIZE), in test_user_copy_init()
[all...]
/kernel/linux/linux-6.6/arch/csky/kernel/
H A Dvmlinux.lds.S27 . = ALIGN(PAGE_SIZE);
45 . = ALIGN(PAGE_SIZE);
47 INIT_TEXT_SECTION(PAGE_SIZE)
48 INIT_DATA_SECTION(PAGE_SIZE)
50 . = ALIGN(PAGE_SIZE);
54 RO_DATA(PAGE_SIZE)
55 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
60 . = ALIGN(PAGE_SIZE);
80 #define ITCM_SIZE CONFIG_ITCM_NR_PAGES * PAGE_SIZE
101 . = ALIGN(PAGE_SIZE);
[all...]
/kernel/linux/linux-6.6/arch/um/kernel/
H A Dmem.c62 memset(empty_zero_page, 0, PAGE_SIZE); in mem_init()
86 pte_t *pte = (pte_t *) memblock_alloc_low(PAGE_SIZE, in one_page_table_init()
87 PAGE_SIZE); in one_page_table_init()
90 __func__, PAGE_SIZE, PAGE_SIZE); in one_page_table_init()
101 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init()
104 __func__, PAGE_SIZE, PAGE_SIZE); in one_md_table_init()
152 v = (unsigned long) memblock_alloc_low(size, PAGE_SIZE); in fixaddr_user_init()
[all...]
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_stat.c55 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show()
60 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show()
65 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show()
70 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show()
105 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show()
110 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show()
116 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show()
123 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show()
125 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show()
138 return snprintf(page, PAGE_SIZE, " in target_stat_tgt_non_access_lus_show()
[all...]
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_stat.c52 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show()
57 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show()
62 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show()
67 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show()
102 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show()
107 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show()
113 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show()
120 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show()
122 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show()
135 return snprintf(page, PAGE_SIZE, " in target_stat_tgt_non_access_lus_show()
[all...]
/kernel/linux/linux-5.10/arch/m68k/mm/
H A Dsun3mmu.c47 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
50 __func__, PAGE_SIZE, PAGE_SIZE); in paging_init()
58 size = (size + PAGE_SIZE) & ~(PAGE_SIZE-1); in paging_init()
60 next_pgtable = (unsigned long)memblock_alloc(size, PAGE_SIZE); in paging_init()
63 __func__, size, PAGE_SIZE); in paging_init()
64 bootmem_end = (next_pgtable + size + PAGE_SIZE) & PAGE_MASK; in paging_init()
82 address += PAGE_SIZE; in paging_init()
[all...]
/kernel/linux/linux-5.10/arch/csky/kernel/
H A Dvmlinux.lds.S28 INIT_TEXT_SECTION(PAGE_SIZE)
29 INIT_DATA_SECTION(PAGE_SIZE)
31 . = ALIGN(PAGE_SIZE);
49 . = ALIGN(PAGE_SIZE);
53 RO_DATA(PAGE_SIZE)
54 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
59 . = ALIGN(PAGE_SIZE);
79 #define ITCM_SIZE CONFIG_ITCM_NR_PAGES * PAGE_SIZE
100 . = ALIGN(PAGE_SIZE);
106 BSS_SECTION(L1_CACHE_BYTES, PAGE_SIZE, L1_CACHE_BYTE
[all...]
/kernel/linux/linux-5.10/drivers/target/iscsi/
H A Discsi_target_stat.c54 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show()
61 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show()
67 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show()
73 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show()
80 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show()
86 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show()
103 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show()
112 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show()
122 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show()
130 return snprintf(page, PAGE_SIZE, " in iscsi_stat_instance_disc_time_show()
[all...]
/kernel/linux/linux-6.6/drivers/target/iscsi/
H A Discsi_target_stat.c53 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show()
60 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show()
66 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show()
72 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show()
79 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show()
85 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show()
102 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show()
111 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show()
121 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show()
129 return snprintf(page, PAGE_SIZE, " in iscsi_stat_instance_disc_time_show()
[all...]
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/
H A Dmmap_test_001.cpp43 {(void *)(PAGE_SIZE - 1), -1, MAP_FLAGS | MAP_FIXED},
44 {(void *)PAGE_SIZE, -1, MAP_FLAGS | MAP_FIXED},
46 {(void *)(-PAGE_SIZE), -1, MAP_FLAGS | MAP_FIXED},
47 {(void *)(-1 - PAGE_SIZE), -1, MAP_FLAGS | MAP_FIXED},
48 {(void *)(-1 - PAGE_SIZE - 1), -1, MAP_FLAGS | MAP_FIXED},
49 {(void *)(0x1000 * PAGE_SIZE), 0, MAP_FLAGS | MAP_FIXED},
61 p = mmap((void *)g_gMmapTests[i].addr, PAGE_SIZE, PROT_READ | PROT_WRITE | PROT_EXEC, g_gMmapTests[i].flags, -1, in Testcase()
72 ret = munmap(array[i], PAGE_SIZE); in Testcase()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_attr.c141 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show()
161 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show()
182 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show()
199 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show()
220 if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) in lpfc_cmf_info_show()
[all...]

Completed in 15 milliseconds

12345678910>>...284