Searched refs:PAGESIZE (Results 1 – 25 of 29) sorted by relevance
12
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_stat_rss.sh | 36 test_mem_stat "--mmap-anon" $PAGESIZE $PAGESIZE "rss" $PAGESIZE false 41 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 false 46 test_mem_stat "--shm -k 3" $PAGESIZE $PAGESIZE "rss" 0 false 52 $PAGESIZE $((PAGESIZE*3)) "rss" $PAGESIZE false 57 test_mem_stat "--mmap-lock1" $PAGESIZE $PAGESIZE "rss" $PAGESIZE false 62 test_mem_stat "--mmap-anon" $PAGESIZE $PAGESIZE "rss" $PAGESIZE true 67 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 true 72 test_mem_stat "--shm -k 8" $PAGESIZE $PAGESIZE "rss" 0 true 78 $PAGESIZE $((PAGESIZE*3)) "rss" $PAGESIZE true 83 test_mem_stat "--mmap-lock1" $PAGESIZE $PAGESIZE "rss" $PAGESIZE true
|
D | memcg_stat_test.sh | 37 test_mem_stat "--shm -k 3" $PAGESIZE $PAGESIZE "cache" $PAGESIZE false 43 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE \ 44 "mapped_file" $PAGESIZE false 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 [all …]
|
D | memcg_move_charge_at_immigrate_test.sh | 37 test_move_charge "--mmap-anon" $PAGESIZE $PAGESIZE 0 0 0 $PAGESIZE 0 43 test_move_charge "--mmap-anon --shm --mmap-file" $PAGESIZE \ 44 $((PAGESIZE*3)) 1 $PAGESIZE 0 0 $((PAGESIZE*2)) 50 test_move_charge "--mmap-anon --shm --mmap-file" $PAGESIZE \ 51 $((PAGESIZE*3)) 2 0 $((PAGESIZE*2)) $PAGESIZE 0 57 test_move_charge "--mmap-anon --shm" $PAGESIZE \ 58 $((PAGESIZE*2)) 3 $PAGESIZE $PAGESIZE 0 0
|
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_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_subgroup_charge.sh | 36 test_subgroup $PAGESIZE $((2*PAGESIZE)) 41 test_subgroup $PAGESIZE $PAGESIZE 46 test_subgroup $PAGESIZE 0
|
D | memcg_lib.sh | 32 PAGESIZE=$(getconf PAGESIZE) 336 if [ \( $(($PAGESIZE*($1/$PAGESIZE))) -eq $limit \) \ 337 -o \( $(($PAGESIZE*(($1+$PAGESIZE-1)/$PAGESIZE))) -eq $limit \) ]; then 407 tst_resm TINFO "Running memcg_process --mmap-anon -s $PAGESIZE" 408 memcg_process --mmap-anon -s $PAGESIZE & 411 warmup $! $PAGESIZE 417 signal_memcg_process $! $PAGESIZE 418 check_mem_stat "rss" $PAGESIZE
|
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/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect03.c | 51 #ifndef PAGESIZE 52 #define PAGESIZE 4096 macro
|
/external/elfutils/src/ |
D | elf32-i386.script | 10 PAGESIZE(4k); 91 . = ALIGN(PAGESIZE) + (. & (PAGESIZE - 1));
|
D | ldlex.l | 141 PAGESIZE { return kPAGESIZE; }
|
/external/valgrind/none/tests/solaris/ |
D | mmap_noreserve.c | 18 void *addr = mmap(0, PAGESIZE, PROT_READ | PROT_WRITE, flags, -1, 0); in do_map()
|
/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/iproute2/doc/ |
D | Makefile | 13 PAGESIZE=a4 macro
|
/external/ltp/testcases/commands/du/ |
D | du01.sh | 77 page_size=$(getconf PAGESIZE)
|
/external/ltp/testcases/kernel/controllers/memcg/control/ |
D | memcg_control_test.sh | 44 PAGE_SIZE=$(getconf PAGESIZE)
|
/external/iproute2/ |
D | README | 29 PAGESIZE=a4 , ie: a4 , letter ... (string)
|
/external/elfutils/tests/ |
D | run-readelf-vmcoreinfo.sh | 64 PAGESIZE=4096
|
/external/ltp/testcases/lib/ |
D | test.sh | 419 LTP_IPC_SIZE=$(getconf PAGESIZE)
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
D | update_engine_performance_monitor.py | 69 rss = int(fields[23]) * mmap.PAGESIZE
|
12