Home
last modified time | relevance | path

Searched refs:sys_page_size (Results 1 – 5 of 5) sorted by relevance

/third_party/glib/glib/
Dgslice.c295 static gsize sys_page_size = 0; variable
311 g_return_if_fail (sys_page_size == 0); in g_slice_set_config()
457 mem_assert (sys_page_size == 0); in g_slice_init_nomessage()
464 sys_page_size = system_info.dwPageSize; in g_slice_init_nomessage()
467 sys_page_size = sysconf (_SC_PAGESIZE); /* = sysconf (_SC_PAGE_SIZE); = getpagesize(); */ in g_slice_init_nomessage()
469 mem_assert (sys_page_size >= 2 * LARGEALIGNMENT); in g_slice_init_nomessage()
470 mem_assert ((sys_page_size & (sys_page_size - 1)) == 0); in g_slice_init_nomessage()
472 allocator->min_page_size = sys_page_size; in g_slice_init_nomessage()
487 allocator->max_page_size = sys_page_size; in g_slice_init_nomessage()
571 if G_UNLIKELY (sys_page_size == 0) in thread_memory_from_self()
[all …]
/third_party/e2fsprogs/resize/
Dmain.c267 unsigned int sys_page_size = 4096; in main() local
492 sys_page_size = sysval; in main()
522 if (sys_page_size > blocksize) in main()
523 new_size &= ~((blk64_t)((sys_page_size / blocksize)-1)); in main()
/third_party/e2fsprogs/misc/
Dbadblocks.c95 static unsigned int sys_page_size = 4096; variable
133 if (posix_memalign(&ret, sys_page_size, size) != 0) in allocate_buffer()
137 ret = memalign(sys_page_size, size); in allocate_buffer()
307 (((unsigned long) buffer & (sys_page_size - 1)) != 0) || in set_o_direct()
308 ((size & (sys_page_size - 1)) != 0) || in set_o_direct()
1090 sys_page_size = sysval; in main()
Dmke2fs.c125 static int sys_page_size = 4096; variable
1611 sys_page_size = sysval; in PRS()
2035 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param)) in PRS()
2036 fs_blocks_count &= ~((blk64_t) ((sys_page_size / in PRS()
2164 use_bsize = sys_page_size; in PRS()
2181 (psector_size <= sys_page_size)) { /* Suboptimal */ in PRS()
2361 if (dev_param.dax && blocksize != sys_page_size) { in PRS()
2366 device_name, blocksize, sys_page_size); in PRS()
2384 if (blocksize > sys_page_size) { in PRS()
2388 blocksize, sys_page_size); in PRS()
[all …]
/third_party/e2fsprogs/e2fsck/
Dunix.c1399 int sysval, sys_page_size = 4096; in main() local
1860 sys_page_size = sysval; in main()
1862 ctx->blocks_per_page = sys_page_size / fs->blocksize; in main()