Home
last modified time | relevance | path

Searched refs:page_size (Results 1 – 25 of 5695) sorted by relevance

12345678910>>...228

/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/vm/
H A Dmremap_dontunmap.c22 unsigned long page_size; variable
56 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in kernel_support_for_mremap_dontunmap()
74 BUG_ON(size & (page_size - 1), in check_region_contains_byte()
87 memcmp(addr + (i * page_size), page_buffer, page_size); in check_region_contains_byte()
111 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple()
152 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_shmem()
203 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_fixed()
254 mremap(source_mapping + (5 * page_size), 5 * page_size, in mremap_dontunmap_partial_mapping()
255 5 * page_size, in mremap_dontunmap_partial_mapping()
264 (source_mapping + (5 * page_size), 5 * page_size, 0) != 0, in mremap_dontunmap_partial_mapping()
[all …]
H A Dmlock2-tests.c204 if (mlock2_(map, 2 * page_size, 0)) { in test_mlock_lock()
217 if (munlock(map, 2 * page_size)) { in test_mlock_lock()
225 munmap(map, 2 * page_size); in test_mlock_lock()
280 if (munlock(map, 2 * page_size)) { in test_mlock_onfault()
291 munmap(map, 2 * page_size); in test_mlock_onfault()
327 munmap(map, 2 * page_size); in test_lock_onfault_of_present()
362 munmap(map, 2 * page_size); in test_munlockall()
404 munmap(map, 2 * page_size); in test_munlockall()
453 if (munlock(map + page_size, page_size)) { in test_vma_management()
472 if (munlock(map, page_size * 3)) { in test_vma_management()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/vm/
H A Dmremap_dontunmap.c22 unsigned long page_size; variable
56 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in kernel_support_for_mremap_dontunmap()
74 BUG_ON(size & (page_size - 1), in check_region_contains_byte()
87 memcmp(addr + (i * page_size), page_buffer, page_size); in check_region_contains_byte()
111 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple()
152 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_shmem()
203 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_fixed()
254 mremap(source_mapping + (5 * page_size), 5 * page_size, in mremap_dontunmap_partial_mapping()
255 5 * page_size, in mremap_dontunmap_partial_mapping()
264 (source_mapping + (5 * page_size), 5 * page_size, 0) != 0, in mremap_dontunmap_partial_mapping()
[all …]
H A Dmlock2-tests.c204 if (mlock2_(map, 2 * page_size, 0)) { in test_mlock_lock()
217 if (munlock(map, 2 * page_size)) { in test_mlock_lock()
225 munmap(map, 2 * page_size); in test_mlock_lock()
280 if (munlock(map, 2 * page_size)) { in test_mlock_onfault()
291 munmap(map, 2 * page_size); in test_mlock_onfault()
327 munmap(map, 2 * page_size); in test_lock_onfault_of_present()
362 munmap(map, 2 * page_size); in test_munlockall()
404 munmap(map, 2 * page_size); in test_munlockall()
453 if (munlock(map + page_size, page_size)) { in test_vma_management()
472 if (munlock(map, page_size * 3)) { in test_vma_management()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/vm/
H A Dmremap_dontunmap.c22 unsigned long page_size; variable
56 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in kernel_support_for_mremap_dontunmap()
74 BUG_ON(size & (page_size - 1), in check_region_contains_byte()
87 memcmp(addr + (i * page_size), page_buffer, page_size); in check_region_contains_byte()
111 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple()
152 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_shmem()
203 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_fixed()
254 mremap(source_mapping + (5 * page_size), 5 * page_size, in mremap_dontunmap_partial_mapping()
255 5 * page_size, in mremap_dontunmap_partial_mapping()
264 (source_mapping + (5 * page_size), 5 * page_size, 0) != 0, in mremap_dontunmap_partial_mapping()
[all …]
H A Dmlock2-tests.c204 if (mlock2_(map, 2 * page_size, 0)) { in test_mlock_lock()
217 if (munlock(map, 2 * page_size)) { in test_mlock_lock()
225 munmap(map, 2 * page_size); in test_mlock_lock()
280 if (munlock(map, 2 * page_size)) { in test_mlock_onfault()
291 munmap(map, 2 * page_size); in test_mlock_onfault()
327 munmap(map, 2 * page_size); in test_lock_onfault_of_present()
362 munmap(map, 2 * page_size); in test_munlockall()
404 munmap(map, 2 * page_size); in test_munlockall()
453 if (munlock(map + page_size, page_size)) { in test_vma_management()
472 if (munlock(map, page_size * 3)) { in test_vma_management()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/mincore/
H A Dmincore_selftest.c33 int page_size; in TEST() local
73 munmap(addr, page_size); in TEST()
88 int page_size; in TEST() local
107 mlock(addr, page_size); in TEST()
118 munlock(addr, page_size); in TEST()
125 munmap(addr, page_size); in TEST()
144 int page_size; in TEST() local
165 mlock(addr, page_size); in TEST()
173 munmap(addr, page_size); in TEST()
193 int page_size; in TEST() local
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/mincore/
H A Dmincore_selftest.c33 int page_size; in TEST() local
73 munmap(addr, page_size); in TEST()
88 int page_size; in TEST() local
107 mlock(addr, page_size); in TEST()
118 munlock(addr, page_size); in TEST()
125 munmap(addr, page_size); in TEST()
144 int page_size; in TEST() local
165 mlock(addr, page_size); in TEST()
173 munmap(addr, page_size); in TEST()
193 int page_size; in TEST() local
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/mincore/
H A Dmincore_selftest.c33 int page_size; in TEST() local
73 munmap(addr, page_size); in TEST()
88 int page_size; in TEST() local
107 mlock(addr, page_size); in TEST()
118 munlock(addr, page_size); in TEST()
125 munmap(addr, page_size); in TEST()
144 int page_size; in TEST() local
165 mlock(addr, page_size); in TEST()
173 munmap(addr, page_size); in TEST()
193 int page_size; in TEST() local
[all …]
/dports/sysutils/flashrom/flashrom-v1.2/
H A Dat45db.c190 chip->page_size = (chip->page_size / 32) * 33;
234 const unsigned int page_size = flash->chip->page_size;
265 const unsigned int page_size = flash->chip->page_size;
342 const unsigned int page_size = flash->chip->page_size;
345 if ((addr % page_size) != 0 || (blocklen % page_size) != 0) {
362 const unsigned int page_size = flash->chip->page_size;
382 const unsigned int page_size = flash->chip->page_size;
419 const unsigned int page_size = flash->chip->page_size;
458 const unsigned int page_size = flash->chip->page_size;
533 const unsigned int page_size = flash->chip->page_size;
[all …]
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-misaligned.c66 volatile uint16_t *ptr9 = (uint16_t *)(buffer + page_size - 1); in stress_misaligned_int16rd()
67 volatile uint16_t *ptr10 = (uint16_t *)(buffer + page_size - 3); in stress_misaligned_int16rd()
68 volatile uint16_t *ptr11 = (uint16_t *)(buffer + page_size - 5); in stress_misaligned_int16rd()
69 volatile uint16_t *ptr12 = (uint16_t *)(buffer + page_size - 7); in stress_misaligned_int16rd()
70 volatile uint16_t *ptr13 = (uint16_t *)(buffer + page_size - 9); in stress_misaligned_int16rd()
71 volatile uint16_t *ptr14 = (uint16_t *)(buffer + page_size - 11); in stress_misaligned_int16rd()
127 volatile uint16_t *ptr9 = (uint16_t *)(buffer + page_size - 1); in stress_misaligned_int16wr()
696 info->func(buffer, page_size); in stress_misaligned_all()
804 const size_t page_size = args->page_size; in stress_misaligned() local
805 const size_t buffer_size = page_size << 1; in stress_misaligned()
[all …]
H A Dstress-remap-file-pages.c87 const size_t page_size) in remap_order() argument
128 const size_t page_size = args->page_size; in stress_remap() local
129 const size_t data_size = N_PAGES * page_size; in stress_remap()
131 size_t i, mapped_size = page_size + page_size; in stress_remap()
144 unmapped = stress_get_umapped_addr(page_size); in stress_remap()
153 if (munmap(mapped + page_size, page_size) == 0) { in stress_remap()
154 mapped_size = page_size; in stress_remap()
225 ret = remap_file_pages((void *)(mapped + page_size), page_size, 0, 0, 0); in stress_remap()
229 ret = remap_file_pages((void *)(mapped + page_size), page_size, 0, 0, ~0); in stress_remap()
233 ret = remap_file_pages((void *)(mapped + page_size), page_size, ~0, order[0], 0); in stress_remap()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/unittest/gunit/innodb/
H A Dut0crc32-t.cc2120 byte* buf = new byte[page_size + 7]; in TEST()
2128 memcpy(p, page, page_size); in TEST()
2137 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2141 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2145 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2149 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2153 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2157 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2191 static const size_t page_size = 16 * 1024; in TEST() local
2204 ut_crc32(p + i * page_size, page_size)); in TEST()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/unittest/gunit/innodb/
H A Dut0crc32-t.cc2120 byte* buf = new byte[page_size + 7]; in TEST()
2128 memcpy(p, page, page_size); in TEST()
2137 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2141 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2145 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2149 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2153 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2157 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2191 static const size_t page_size = 16 * 1024; in TEST() local
2204 ut_crc32(p + i * page_size, page_size)); in TEST()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/unittest/gunit/innodb/
H A Dut0crc32-t.cc2120 byte* buf = new byte[page_size + 7]; in TEST()
2128 memcpy(p, page, page_size); in TEST()
2137 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2141 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2145 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2149 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2153 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2157 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2191 static const size_t page_size = 16 * 1024; in TEST() local
2204 ut_crc32(p + i * page_size, page_size)); in TEST()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/unittest/gunit/innodb/
H A Dut0crc32-t.cc2120 byte* buf = new byte[page_size + 7]; in TEST()
2128 memcpy(p, page, page_size); in TEST()
2137 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2141 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2145 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2149 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2153 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2157 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2191 static const size_t page_size = 16 * 1024; in TEST() local
2204 ut_crc32(p + i * page_size, page_size)); in TEST()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/unittest/gunit/innodb/
H A Dut0crc32-t.cc2120 byte* buf = new byte[page_size + 7]; in TEST()
2128 memcpy(p, page, page_size); in TEST()
2137 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2141 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2145 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2149 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2153 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2157 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2191 static const size_t page_size = 16 * 1024; in TEST() local
2204 ut_crc32(p + i * page_size, page_size)); in TEST()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/unittest/gunit/innodb/
H A Dut0crc32-t.cc2120 byte* buf = new byte[page_size + 7]; in TEST()
2128 memcpy(p, page, page_size); in TEST()
2137 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2141 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2145 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2149 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2153 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2157 ut_crc32_legacy_big_endian(p, page_size)); in TEST()
2191 static const size_t page_size = 16 * 1024; in TEST() local
2204 ut_crc32(p + i * page_size, page_size)); in TEST()
[all …]
/dports/databases/sqlite3/sqlite-src-3350500/mptest/
H A Dconfig02.test4 PRAGMA page_size=512;
22 PRAGMA page_size=1024;
26 INSERT INTO pgsz VALUES(1, eval('PRAGMA page_size'));
29 INSERT INTO pgsz VALUES(2, eval('PRAGMA page_size'));
32 INSERT INTO pgsz VALUES(3, eval('PRAGMA page_size'));
35 INSERT INTO pgsz VALUES(4, eval('PRAGMA page_size'));
38 INSERT INTO pgsz VALUES(5, eval('PRAGMA page_size'));
45 PRAGMA page_size=2048;
68 PRAGMA page_size=8192;
91 PRAGMA page_size=16384;
[all …]
/dports/databases/sqlcipher/sqlcipher-3.4.2/mptest/
H A Dconfig02.test4 PRAGMA page_size=512;
22 PRAGMA page_size=1024;
26 INSERT INTO pgsz VALUES(1, eval('PRAGMA page_size'));
29 INSERT INTO pgsz VALUES(2, eval('PRAGMA page_size'));
32 INSERT INTO pgsz VALUES(3, eval('PRAGMA page_size'));
35 INSERT INTO pgsz VALUES(4, eval('PRAGMA page_size'));
38 INSERT INTO pgsz VALUES(5, eval('PRAGMA page_size'));
45 PRAGMA page_size=2048;
68 PRAGMA page_size=8192;
91 PRAGMA page_size=16384;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/mptest/
H A Dconfig02.test4 PRAGMA page_size=512;
22 PRAGMA page_size=1024;
26 INSERT INTO pgsz VALUES(1, eval('PRAGMA page_size'));
29 INSERT INTO pgsz VALUES(2, eval('PRAGMA page_size'));
32 INSERT INTO pgsz VALUES(3, eval('PRAGMA page_size'));
35 INSERT INTO pgsz VALUES(4, eval('PRAGMA page_size'));
38 INSERT INTO pgsz VALUES(5, eval('PRAGMA page_size'));
45 PRAGMA page_size=2048;
68 PRAGMA page_size=8192;
91 PRAGMA page_size=16384;
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/mptest/
H A Dconfig02.test4 PRAGMA page_size=512;
22 PRAGMA page_size=1024;
26 INSERT INTO pgsz VALUES(1, eval('PRAGMA page_size'));
29 INSERT INTO pgsz VALUES(2, eval('PRAGMA page_size'));
32 INSERT INTO pgsz VALUES(3, eval('PRAGMA page_size'));
35 INSERT INTO pgsz VALUES(4, eval('PRAGMA page_size'));
38 INSERT INTO pgsz VALUES(5, eval('PRAGMA page_size'));
45 PRAGMA page_size=2048;
68 PRAGMA page_size=8192;
91 PRAGMA page_size=16384;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sql/recover_module/
H A Dpayload.cc55 int MaxInlinePayloadSize(int page_size) { in MaxInlinePayloadSize() argument
78 int MinInlinePayloadSize(int page_size) { in MinInlinePayloadSize() argument
110 int MaxOverflowPayloadSize(int page_size) { in MaxOverflowPayloadSize() argument
138 const int page_size = db_reader_->page_size(); in Initialize() local
187 DCHECK_LE(inline_payload_size_, page_size); in Initialize()
194 page_size) { in Initialize()
223 const int page_size = db_reader_->page_size(); in ReadPayload() local
228 DCHECK_LE(read_offset, page_size); in ReadPayload()
234 DCHECK_LE(read_offset + read_size, page_size); in ReadPayload()
268 const int page_size = db_reader_->page_size(); in ReadPayload() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/sql/recover_module/
H A Dpayload.cc55 int MaxInlinePayloadSize(int page_size) { in MaxInlinePayloadSize() argument
78 int MinInlinePayloadSize(int page_size) { in MinInlinePayloadSize() argument
110 int MaxOverflowPayloadSize(int page_size) { in MaxOverflowPayloadSize() argument
138 const int page_size = db_reader_->page_size(); in Initialize() local
187 DCHECK_LE(inline_payload_size_, page_size); in Initialize()
194 page_size) { in Initialize()
223 const int page_size = db_reader_->page_size(); in ReadPayload() local
228 DCHECK_LE(read_offset, page_size); in ReadPayload()
234 DCHECK_LE(read_offset + read_size, page_size); in ReadPayload()
268 const int page_size = db_reader_->page_size(); in ReadPayload() local
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dfile-cache.c63 i_assert(page_size > 0); in file_cache_set_size()
65 diff = size % page_size; in file_cache_set_size()
67 size += page_size - diff; in file_cache_set_size()
111 i_assert(page_size > 0); in file_cache_read()
146 psize = (offset + size + page_size-1) / page_size - poffset; in file_cache_read()
155 dest_size = page_size; in file_cache_read()
163 dest += page_size; in file_cache_read()
223 dest_size = page_size; in file_cache_read()
243 i_assert(page_size > 0); in file_cache_write()
301 size = (offset + size + page_size-1) / page_size; in file_cache_invalidate()
[all …]

12345678910>>...228