/third_party/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_limit_in_bytes.sh | 27 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE * 2)) 0 32 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE * 2)) 0 39 test_proc_kill $PAGESIZE "--mmap-anon" $((PAGESIZE * 2)) 0 46 test_proc_kill $PAGESIZE "--mmap-file" $((PAGESIZE * 2)) 0 53 test_proc_kill $PAGESIZE "--shm -k 18" $((PAGESIZE * 2)) 0 60 test_proc_kill 0 "--mmap-anon" $PAGESIZE 0 65 test_proc_kill 0 "--mmap-file" $PAGESIZE 0 70 test_proc_kill 0 "--shm -k 21" $PAGESIZE 0 76 test_limit_in_bytes $((PAGESIZE - 1)) 0 81 test_limit_in_bytes $((PAGESIZE + 1)) 0
|
D | memcg_memsw_limit_in_bytes_test.sh | 16 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE*2)) 1 21 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE*2)) 1 26 test_proc_kill 0 "--mmap-anon" $PAGESIZE 1 31 test_proc_kill 0 "--mmap-file" $PAGESIZE 1 36 test_proc_kill 0 "--shm -k 21" $PAGESIZE 1 41 test_limit_in_bytes $((PAGESIZE - 1)) 1 46 test_limit_in_bytes $((PAGESIZE + 1)) 1
|
D | memcg_stat_rss.sh | 26 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 0 false 31 test_mem_stat "--shm -k 3" $PAGESIZE $PAGESIZE "rss" 0 0 false 52 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 0 true 57 test_mem_stat "--shm -k 8" $PAGESIZE $PAGESIZE "rss" 0 0 true
|
D | memcg_lib.sh | 22 PAGESIZE=$(tst_getconf PAGESIZE) 28 PAGESIZES=$(($PAGESIZE * 33)) 93 node_mem=$((node_mem * PAGESIZE * 128)) 96 limit=$((limit + 4 * PAGESIZE + total_cpus * PAGESIZE + node_mem)) 390 local limit_up=$(( PAGESIZE * (limit / PAGESIZE) )) 391 local limit_down=$(( PAGESIZE * ((limit + PAGESIZE - 1) / PAGESIZE) ))
|
D | memcg_use_hierarchy_test.sh | 18 local limit=$(memcg_adjust_limit_for_kmem $PAGESIZE) 25 test_proc_kill $((limit + PAGESIZE * 3)) "--mmap-lock1" $((limit + PAGESIZE * 2)) 0
|
D | memcg_force_empty.sh | 19 start_memcg_process --mmap-anon -s $PAGESIZE 21 signal_memcg_process $PAGESIZE
|
/third_party/python/Lib/test/ |
D | test_mmap.py | 15 PAGESIZE = mmap.PAGESIZE variable 37 f.write(b'\0'* PAGESIZE) 39 f.write(b'\0'* (PAGESIZE-3) ) 41 m = mmap.mmap(f.fileno(), 2 * PAGESIZE) 48 self.assertEqual(m.find(b'foo'), PAGESIZE) 50 self.assertEqual(len(m), 2*PAGESIZE) 61 m[PAGESIZE +3: PAGESIZE +3+3] = b'bar' 66 self.assertEqual(m[PAGESIZE-1 : PAGESIZE + 7], b'\0foobar\0') 78 self.assertEqual(start, PAGESIZE) 79 self.assertEqual(end, PAGESIZE + 6) [all …]
|
/third_party/musl/arch/s390x/bits/ |
D | user.h | 57 #define PAGE_MASK (~(PAGESIZE-1)) 58 #define NBPG PAGESIZE
|
/third_party/ltp/testcases/kernel/tracing/pt_test/ |
D | pt_test.c | 28 #define PAGESIZE 4096 macro 29 #define INTEL_PT_MEMSIZE (17*PAGESIZE) 157 buhsz = 2 * PAGESIZE; in setup()
|
/third_party/musl/arch/x32/bits/ |
D | user.h | 37 #define PAGE_MASK (~(PAGESIZE-1)) 38 #define NBPG PAGESIZE
|
/third_party/musl/arch/i386/bits/ |
D | user.h | 40 #define PAGE_MASK (~(PAGESIZE-1)) 41 #define NBPG PAGESIZE
|
/third_party/musl/arch/x86_64/bits/ |
D | user.h | 37 #define PAGE_MASK (~(PAGESIZE-1)) 38 #define NBPG PAGESIZE
|
D | limits.h | 1 #define PAGESIZE 4096 macro
|
/third_party/musl/src/malloc/mallocng/ |
D | glue.h | 51 #ifndef PAGESIZE 52 #define PAGESIZE PAGE_SIZE macro
|
D | meta.h | 43 #ifndef PAGESIZE 63 #ifdef PAGESIZE 64 #define PGSZ PAGESIZE
|
/third_party/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect03.c | 51 #ifndef PAGESIZE 52 #define PAGESIZE 4096 macro
|
/third_party/musl/ndk_musl_include/ |
D | limits.h | 96 #ifdef PAGESIZE 97 #define PAGE_SIZE PAGESIZE
|
/third_party/musl/include/ |
D | limits.h | 96 #ifdef PAGESIZE 97 #define PAGE_SIZE PAGESIZE
|
/third_party/musl/porting/liteos_a/user/include/ |
D | limits.h | 96 #ifdef PAGESIZE 97 #define PAGE_SIZE PAGESIZE
|
/third_party/musl/porting/liteos_m/user/include/ |
D | limits.h | 96 #ifdef PAGESIZE 97 #define PAGE_SIZE PAGESIZE
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | limits.h | 98 #ifdef PAGESIZE 99 #define PAGE_SIZE PAGESIZE
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | limits.h | 98 #ifdef PAGESIZE 99 #define PAGE_SIZE PAGESIZE
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | limits.h | 13 #ifndef PAGESIZE 14 #define PAGESIZE PAGE_SIZE macro
|
/third_party/musl/porting/linux/user/src/malloc/mallocng/ |
D | meta.h | 43 #ifndef PAGESIZE 63 #ifdef PAGESIZE 64 #define PGSZ PAGESIZE
|
/third_party/musl/arch/or1k/bits/ |
D | limits.h | 1 #define PAGESIZE 8192 macro
|