Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 25 of 37) sorted by relevance

12

/external/autotest/client/tests/kvm/scripts/
Dksm_overcommit_guest.py13 PAGE_SIZE = 4096 # machine page size variable
48 self.npages = ((mem * 1024 * 1024) / PAGE_SIZE)
67 for ip in range(PAGE_SIZE / original.itemsize):
75 position = (self.f.tell() - PAGE_SIZE + ip *
89 for i in range((PAGE_SIZE / a.itemsize)):
106 for i in range(PAGE_SIZE / a.itemsize):
144 pf.fromfile(self.f, PAGE_SIZE / pf.itemsize)
157 def static_random_fill(self, n_bytes_on_end=PAGE_SIZE):
172 rand = random.randint(((PAGE_SIZE / page.itemsize) - 1) -
174 (PAGE_SIZE/page.itemsize) - 1)
[all …]
/external/autotest/client/tests/fsx/
D0001-Minor-fixes-to-PAGE_SIZE-handling.patch4 Subject: [PATCH 1/2] Minor fixes to PAGE_SIZE handling
19 + * Minor fixes to PAGE_SIZE handling -- Suzuki <suzuki@in.ibm.com>.
27 #ifndef PAGE_SIZE
28 -#define PAGE_SIZE 4096
29 +#define PAGE_SIZE pagesize
31 #define PAGE_MASK (PAGE_SIZE - 1)
/external/libunwind/src/x86/
DGinit.c79 #ifndef PAGE_SIZE
80 #define PAGE_SIZE 4096 macro
84 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1))
101 len = PAGE_SIZE; in validate_mem()
103 len = PAGE_SIZE * 2; in validate_mem()
/external/autotest/client/site_tests/hardware_TLBMissCost/src/
DgenerateBenchmarkFunction.sh6 PAGE_SIZE=$(( $1 ))
10 for (( c=0; c < PAGE_SIZE ; c++ )) ; do
/external/valgrind/memcheck/tests/
Dsh-mem-random.c23 #define PAGE_SIZE 4096ULL macro
256 nbytes_p = (N_BYTES + PAGE_SIZE) & ~(PAGE_SIZE-1); in main()
264 huge_addr += (randomU4() & ~(PAGE_SIZE-1)); in main()
/external/libunwind/src/x86_64/
DGinit.c71 #define PAGE_SIZE 4096 macro
72 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1))
122 len = PAGE_SIZE; in validate_mem()
124 len = PAGE_SIZE * 2; in validate_mem()
/external/kernel-headers/original/uapi/linux/
Dresource.h71 #define MLOCK_LIMIT ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
Da.out.h112 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0)
128 #define PAGE_SIZE 0x400 macro
129 #define SEGMENT_SIZE PAGE_SIZE
Dbinfmts.h14 #define MAX_ARG_STRLEN (PAGE_SIZE * 32)
Dkvm.h381 ((PAGE_SIZE - sizeof(struct kvm_coalesced_mmio_ring)) / \
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DBitmapFont.java57 static private final int PAGE_SIZE = 1 << LOG2_PAGE_SIZE; field in BitmapFont
58 static private final int PAGES = 0x10000 / PAGE_SIZE;
405 if (page != null) return page[ch & PAGE_SIZE - 1]; in getKerning()
413 if (page == null) kerning[ch >>> LOG2_PAGE_SIZE] = page = new byte[PAGE_SIZE]; in setKerning()
414 page[ch & PAGE_SIZE - 1] = (byte)value; in setKerning()
740 Glyph[] page = glyphs[ch / PAGE_SIZE]; in setGlyph()
741 if (page == null) glyphs[ch / PAGE_SIZE] = page = new Glyph[PAGE_SIZE]; in setGlyph()
742 page[ch & PAGE_SIZE - 1] = glyph; in setGlyph()
766 Glyph[] page = glyphs[ch / PAGE_SIZE]; in getGlyph()
767 if (page != null) return page[ch & PAGE_SIZE - 1]; in getGlyph()
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/client/
Dmain.py43 PAGE_SIZE = 10 variable
91 response = music_service.search_artists(fetch_size=PAGE_SIZE,
183 response = music_service.search_albums(fetch_size=PAGE_SIZE,
237 response = music_service.search_albums(fetch_size=PAGE_SIZE,
/external/libchrome/base/process/
Dprocess_metrics_mac.cc211 *private_bytes = private_pages_count * PAGE_SIZE; in GetMemoryBytes()
213 *shared_bytes = shared_pages_count * PAGE_SIZE; in GetMemoryBytes()
365 return (data.active_count * PAGE_SIZE) / 1024; in GetSystemCommitCharge()
391 (vm_info.free_count - vm_info.speculative_count) * PAGE_SIZE / 1024); in GetSystemMemoryInfo()
/external/iputils/Modules/
Dpg3.c297 if (datalen > frags*PAGE_SIZE) { in fill_packet()
298 skb_put(skb, datalen-frags*PAGE_SIZE); in fill_packet()
299 datalen = frags*PAGE_SIZE; in fill_packet()
307 skb_shinfo(skb)->frags[i].size = (datalen < PAGE_SIZE ? datalen : PAGE_SIZE); in fill_packet()
/external/kernel-headers/original/uapi/asm-generic/
Dshmparam.h4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
/external/v8/tools/
Dcodemap.js71 CodeMap.PAGE_SIZE =
142 addr += CodeMap.PAGE_SIZE) {
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc80 char protected_buffer[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
651 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandler()
695 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, in UninstallHandler()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
DUnicodeFont.java62 static private final int PAGE_SIZE = 512; field in UnicodeFont
63 static private final int PAGES = MAX_GLYPH_CODE / PAGE_SIZE;
394 int pageIndex = glyphCode / PAGE_SIZE; in getGlyph()
395 int glyphIndex = glyphCode & (PAGE_SIZE - 1); in getGlyph()
402 page = glyphs[pageIndex] = new Glyph[PAGE_SIZE]; in getGlyph()
/external/libchrome/base/
Dsys_info_mac.cc79 PAGE_SIZE; in AmountOfAvailablePhysicalMemory()
/external/libdrm/omap/
Domap_drm.c51 #define PAGE_SIZE 4096 macro
219 bo->size = round_up(size.tiled.width, PAGE_SIZE) * size.tiled.height; in omap_bo_new_impl()
/external/f2fs-tools/fsck/
Dmount.c326 cp_page_1 = malloc(PAGE_SIZE); in validate_checkpoint()
342 cp_page_2 = malloc(PAGE_SIZE); in validate_checkpoint()
579 kaddr = (char *)malloc(PAGE_SIZE); in read_compacted_summaries()
610 memset(kaddr, 0, PAGE_SIZE); in read_compacted_summaries()
669 sum_blk = (struct f2fs_summary_block *)malloc(PAGE_SIZE); in read_normal_summaries()
/external/f2fs-tools/include/
Df2fs_fs.h205 #define PAGE_SIZE 4096 macro
691 #define SIZE_OF_RESERVED (PAGE_SIZE - ((SIZE_OF_DIR_ENTRY + \
/external/f2fs-tools/lib/
Dlibf2fs.c467 c->sectors_per_blk = PAGE_SIZE / sector_size; in f2fs_get_device_info()
/external/valgrind/include/vki/
Dvki-darwin.h359 #define VKI_PAGE_SIZE PAGE_SIZE
/external/libnl/
DChangeLog25 o Use PAGE_SIZE as initial buffer size when reading from

12