/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_stat_test.sh | 50 test_mem_stat "--mmap-lock1" $PAGESIZE $PAGESIZE \ 51 "unevictable" $PAGESIZE false 57 test_mem_stat "--mmap-lock2" $PAGESIZE $PAGESIZE \ 58 "unevictable" $PAGESIZE false 67 echo $PAGESIZE > memory.limit_in_bytes 68 echo $((PAGESIZE*2)) > subgroup/memory.limit_in_bytes 71 check_mem_stat "hierarchical_memory_limit" $PAGESIZE 83 echo $PAGESIZE > memory.limit_in_bytes 84 echo $((PAGESIZE*2)) > subgroup/memory.limit_in_bytes 87 check_mem_stat "hierarchical_memory_limit" $((PAGESIZE*2)) [all …]
|
D | memcg_limit_in_bytes.sh | 36 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE*2)) 0 41 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE*2)) 0 48 test_proc_kill $PAGESIZE "--mmap-anon" $((PAGESIZE*2)) 0 55 test_proc_kill $PAGESIZE "--mmap-file" $((PAGESIZE*2)) 0 62 test_proc_kill $PAGESIZE "--shm -k 18" $((PAGESIZE*2)) 0 69 test_proc_kill 0 "--mmap-anon" $PAGESIZE 0 74 test_proc_kill 0 "--mmap-file" $PAGESIZE 0 79 test_proc_kill 0 "--shm -k 21" $PAGESIZE 0 85 test_limit_in_bytes $((PAGESIZE-1)) 0 90 test_limit_in_bytes $((PAGESIZE+1)) 0
|
D | memcg_max_usage_in_bytes_test.sh | 37 test_max_usage_in_bytes "--mmap-anon" $((PAGESIZE*1024)) \ 38 "memory.max_usage_in_bytes" $((PAGESIZE*1024)) 0 49 echo $((PAGESIZE*2048)) > memory.limit_in_bytes 50 echo $((PAGESIZE*2048)) > memory.memsw.limit_in_bytes 51 test_max_usage_in_bytes "--mmap-anon" $((PAGESIZE*1024)) \ 52 "memory.memsw.max_usage_in_bytes" $((PAGESIZE*1024)) 0 58 test_max_usage_in_bytes "--mmap-anon" $((PAGESIZE*1024)) \ 59 "memory.max_usage_in_bytes" $((PAGESIZE*1024)) 1 70 echo $((PAGESIZE*2048)) > memory.limit_in_bytes 71 echo $((PAGESIZE*2048)) > memory.memsw.limit_in_bytes [all …]
|
D | memcg_usage_in_bytes_test.sh | 37 test_mem_stat "--mmap-anon" $((PAGESIZE*1024)) $((PAGESIZE*1024)) \ 38 "memory.usage_in_bytes" $((PAGESIZE*1024)) false 49 echo $((PAGESIZE*2048)) > memory.limit_in_bytes 50 echo $((PAGESIZE*2048)) > memory.memsw.limit_in_bytes 51 test_mem_stat "--mmap-anon" $((PAGESIZE*1024)) $((PAGESIZE*1024)) \ 52 "memory.memsw.usage_in_bytes" $((PAGESIZE*1024)) false
|
D | memcg_memsw_limit_in_bytes_test.sh | 36 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE*2)) 1 41 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE*2)) 1 46 test_proc_kill 0 "--mmap-anon" $PAGESIZE 1 51 test_proc_kill 0 "--mmap-file" $PAGESIZE 1 56 test_proc_kill 0 "--shm -k 21" $PAGESIZE 1 61 test_limit_in_bytes $((PAGESIZE-1)) 1 66 test_limit_in_bytes $((PAGESIZE+1)) 1
|
D | memcg_stat_rss.sh | 41 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 false 46 test_mem_stat "--shm -k 3" $PAGESIZE $PAGESIZE "rss" 0 false 67 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 true 72 test_mem_stat "--shm -k 8" $PAGESIZE $PAGESIZE "rss" 0 true
|
D | memcg_failcnt.sh | 36 echo $PAGESIZE > memory.limit_in_bytes 37 malloc_free_memory "--mmap-anon" $(($PAGESIZE*2)) 43 echo $PAGESIZE > memory.limit_in_bytes 44 malloc_free_memory "--mmap-file" $(($PAGESIZE*2)) 50 echo $PAGESIZE > memory.limit_in_bytes 51 malloc_free_memory "--shm" $(($PAGESIZE*2))
|
D | memcg_lib.sh | 32 PAGESIZE=$(tst_getconf PAGESIZE) 41 PAGESIZES=$(( $PAGESIZE * 33 )) 344 if [ \( $(($PAGESIZE*($1/$PAGESIZE))) -eq $limit \) \ 345 -o \( $(($PAGESIZE*(($1+$PAGESIZE-1)/$PAGESIZE))) -eq $limit \) ]; then
|
D | memcg_use_hierarchy_test.sh | 38 echo $PAGESIZE > memory.limit_in_bytes 42 test_proc_kill $((PAGESIZE*3)) "--mmap-lock1" $((PAGESIZE*2)) 0
|
D | memcg_force_empty.sh | 36 memcg_process --mmap-anon -s $PAGESIZE & 40 signal_memcg_process $pid $PAGESIZE
|
/external/python/cpython2/Lib/test/ |
D | test_mmap.py | 8 PAGESIZE = mmap.PAGESIZE variable 29 f.write('\0'* PAGESIZE) 31 f.write('\0'* (PAGESIZE-3) ) 33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE) 39 self.assertEqual(m.find('foo'), PAGESIZE) 41 self.assertEqual(len(m), 2*PAGESIZE) 52 m[PAGESIZE +3: PAGESIZE +3+3] = 'bar' 57 self.assertEqual(m[PAGESIZE-1 : PAGESIZE + 7], '\0foobar\0') 69 self.assertEqual(start, PAGESIZE) 70 self.assertEqual(end, PAGESIZE + 6) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_mmap.py | 14 PAGESIZE = mmap.PAGESIZE variable 35 f.write(b'\0'* PAGESIZE) 37 f.write(b'\0'* (PAGESIZE-3) ) 39 m = mmap.mmap(f.fileno(), 2 * PAGESIZE) 46 self.assertEqual(m.find(b'foo'), PAGESIZE) 48 self.assertEqual(len(m), 2*PAGESIZE) 59 m[PAGESIZE +3: PAGESIZE +3+3] = b'bar' 64 self.assertEqual(m[PAGESIZE-1 : PAGESIZE + 7], b'\0foobar\0') 76 self.assertEqual(start, PAGESIZE) 77 self.assertEqual(end, PAGESIZE + 6) [all …]
|
/external/ltp/testcases/kernel/tracing/pt_test/ |
D | pt_test.c | 28 #define PAGESIZE 4096 macro 29 #define INTEL_PT_MEMSIZE (17*PAGESIZE) 118 buhsz = 2 * PAGESIZE; in setup()
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect03.c | 51 #ifndef PAGESIZE 52 #define PAGESIZE 4096 macro
|
/external/python/cpython2/Lib/multiprocessing/ |
D | heap.py | 94 def __init__(self, size=mmap.PAGESIZE): 117 length = self._roundup(max(self._size, size), mmap.PAGESIZE)
|
/external/u-boot/include/ |
D | malloc.h | 549 # ifdef PAGESIZE 550 # define malloc_getpagesize PAGESIZE
|
/external/python/cpython3/Lib/multiprocessing/ |
D | heap.py | 108 def __init__(self, size=mmap.PAGESIZE): 131 length = self._roundup(max(self._size, size), mmap.PAGESIZE)
|
/external/ltp/testcases/commands/du/ |
D | du01.sh | 76 page_size=$(tst_getconf PAGESIZE)
|
/external/ltp/testcases/kernel/controllers/memcg/control/ |
D | memcg_control_test.sh | 44 PAGE_SIZE=$(tst_getconf PAGESIZE)
|
/external/ltp/testcases/commands/mkswap/ |
D | mkswap01.sh | 32 PAGE_SIZE=`tst_getconf PAGESIZE`
|
/external/iproute2/ |
D | README | 30 PAGESIZE=a4 , ie: a4 , letter ... (string)
|
/external/elfutils/tests/ |
D | run-readelf-vmcoreinfo.sh | 64 PAGESIZE=4096
|
/external/ltp/testcases/lib/ |
D | test.sh | 424 LTP_IPC_SIZE=$(tst_getconf PAGESIZE)
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
D | update_engine_performance_monitor.py | 70 rss = int(fields[23]) * mmap.PAGESIZE
|
/external/linux-kselftest/tools/testing/selftests/sysctl/ |
D | sysctl.sh | 86 PAGE_SIZE=$(getconf PAGESIZE)
|