Home
last modified time | relevance | path

Searched refs:PAGESIZE (Results 1 – 21 of 21) sorted by relevance

/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_function_test.sh37 test_mem_stat "--mmap-anon" $PAGESIZE "rss" $PAGESIZE 0
42 test_mem_stat "--mmap-file" $PAGESIZE "rss" 0 0
47 test_mem_stat "--shm -k 3" $PAGESIZE "rss" 0 0
52 test_mem_stat "--mmap-anon --mmap-file --shm" $PAGESIZE "rss" \
53 $PAGESIZE 0
58 test_mem_stat "--mmap-lock1" $PAGESIZE "rss" $PAGESIZE 0
63 test_mem_stat "--mmap-anon" $PAGESIZE "rss" $PAGESIZE 1
68 test_mem_stat "--mmap-file" $PAGESIZE "rss" 0 1
73 test_mem_stat "--shm -k 8" $PAGESIZE "rss" 0 1
78 test_mem_stat "--mmap-anon --mmap-file --shm" $PAGESIZE "rss" \
[all …]
Dmemcg_stat_test.sh40 test_mem_stat "--shm -k 3" $PAGESIZE "cache" $PAGESIZE 0
46 test_mem_stat "--mmap-file" $PAGESIZE "mapped_file" $PAGESIZE 0
52 test_mem_stat "--mmap-lock1" $PAGESIZE "unevictable" $PAGESIZE 0
58 test_mem_stat "--mmap-lock2" $PAGESIZE "unevictable" $PAGESIZE 0
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 …]
Dmemcg_max_usage_in_bytes_test.sh40 test_max_usage_in_bytes "--mmap-anon" $((PAGESIZE*1024)) \
41 "memory.max_usage_in_bytes" $((PAGESIZE*1024)) 0
52 echo $((PAGESIZE*2048)) > memory.limit_in_bytes
53 echo $((PAGESIZE*2048)) > memory.memsw.limit_in_bytes
54 test_max_usage_in_bytes "--mmap-anon" $((PAGESIZE*1024)) \
55 "memory.memsw.max_usage_in_bytes" $((PAGESIZE*1024)) 0
61 test_max_usage_in_bytes "--mmap-anon" $((PAGESIZE*1024)) \
62 "memory.max_usage_in_bytes" $((PAGESIZE*1024)) 1
73 echo $((PAGESIZE*2048)) > memory.limit_in_bytes
74 echo $((PAGESIZE*2048)) > memory.memsw.limit_in_bytes
[all …]
Dmemcg_move_charge_at_immigrate_test.sh38 test_move_charge "--mmap-anon" $PAGESIZE 0 0 0 $PAGESIZE 0
44 test_move_charge "--mmap-anon --shm --mmap-file" $PAGESIZE 1 \
45 $PAGESIZE 0 0 $((PAGESIZE*2))
51 test_move_charge "--mmap-anon --shm --mmap-file" $PAGESIZE 2 \
52 0 $((PAGESIZE*2)) $PAGESIZE 0
58 test_move_charge "--mmap-anon --shm" $PAGESIZE 3 $PAGESIZE $PAGESIZE 0 0
Dmemcg_memsw_limit_in_bytes_test.sh39 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE*2)) 1
44 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE*2)) 1
49 test_proc_kill 0 "--mmap-anon" $PAGESIZE 1
54 test_proc_kill 0 "--mmap-file" $PAGESIZE 1
59 test_proc_kill 0 "--shm -k 21" $PAGESIZE 1
64 test_limit_in_bytes $((PAGESIZE-1)) 1
69 test_limit_in_bytes $((PAGESIZE+1)) 1
Dmemcg_usage_in_bytes_test.sh40 test_mem_stat "--mmap-anon" $((PAGESIZE*1024)) \
41 "memory.usage_in_bytes" $((PAGESIZE*1024)) 0
52 echo $((PAGESIZE*2048)) > memory.limit_in_bytes
53 echo $((PAGESIZE*2048)) > memory.memsw.limit_in_bytes
54 test_mem_stat "--mmap-anon" $((PAGESIZE*1024)) \
55 "memory.memsw.usage_in_bytes" $((PAGESIZE*1024)) 0
Dmemcg_lib.sh35 PAGESIZE=`./memcg_getpagesize`
266 if [ \( $(($PAGESIZE*($1/$PAGESIZE))) -eq $limit \) \
267 -o \( $(($PAGESIZE*(($1+$PAGESIZE-1)/$PAGESIZE))) -eq $limit \) ]; then
336 echo "Running $TEST_PATH/memcg_process --mmap-anon -s $PAGESIZE"
337 $TEST_PATH/memcg_process --mmap-anon -s $PAGESIZE &
348 check_mem_stat "rss" $PAGESIZE
Dmemcg_use_hierarchy_test.sh39 echo $PAGESIZE > memory.limit_in_bytes
43 test_proc_kill $((PAGESIZE*3)) "--mmap-lock1" $((PAGESIZE*2)) 0
/external/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect03.c51 #ifndef PAGESIZE
52 #define PAGESIZE 4096 macro
/external/elfutils/src/
Delf32-i386.script10 PAGESIZE(4k);
91 . = ALIGN(PAGESIZE) + (. & (PAGESIZE - 1));
Dldlex.l141 PAGESIZE { return kPAGESIZE; }
/external/valgrind/none/tests/solaris/
Dmmap_noreserve.c18 void *addr = mmap(0, PAGESIZE, PROT_READ | PROT_WRITE, flags, -1, 0); in do_map()
/external/iproute2/doc/
DMakefile13 PAGESIZE=a4 macro
/external/ltp/runtest/
Dcontrollers12 memcg_control PAGESIZE=$(mem_process -p);memcg_control_test.sh $PAGESIZE $PAGESIZE $((PAGESIZE * 2…
/external/iproute2/
DREADME29 PAGESIZE=a4 , ie: a4 , letter ... (string)
/external/elfutils/tests/
Drun-readelf-vmcoreinfo.sh64 PAGESIZE=4096
/external/ltp/testcases/lib/
Dtest.sh434 LTP_IPC_SIZE=$(getconf PAGESIZE)
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
Dupdate_engine_performance_monitor.py69 rss = int(fields[23]) * mmap.PAGESIZE
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.test.performance_3.6.0.v20091014.jarMETA-INF/MANIFEST.MF plugin.properties about.html scripts/cs.sh scripts ...
/external/dlmalloc/
Dmalloc.c1583 # ifdef PAGESIZE
1584 # define malloc_getpagesize PAGESIZE
/external/valgrind/
Dconfigure.ac943 psizer=`getconf PAGESIZE`