Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_stat_rss.sh36 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
Dmemcg_stat_test.sh37 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 …]
Dmemcg_move_charge_at_immigrate_test.sh37 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
Dmemcg_limit_in_bytes.sh36 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
Dmemcg_max_usage_in_bytes_test.sh37 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 …]
Dmemcg_usage_in_bytes_test.sh37 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
Dmemcg_memsw_limit_in_bytes_test.sh36 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
Dmemcg_failcnt.sh36 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))
Dmemcg_subgroup_charge.sh36 test_subgroup $PAGESIZE $((2*PAGESIZE))
41 test_subgroup $PAGESIZE $PAGESIZE
46 test_subgroup $PAGESIZE 0
Dmemcg_lib.sh32 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
Dmemcg_use_hierarchy_test.sh38 echo $PAGESIZE > memory.limit_in_bytes
42 test_proc_kill $((PAGESIZE*3)) "--mmap-lock1" $((PAGESIZE*2)) 0
Dmemcg_force_empty.sh36 memcg_process --mmap-anon -s $PAGESIZE &
40 signal_memcg_process $pid $PAGESIZE
/external/python/cpython2/Lib/test/
Dtest_mmap.py8 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/
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/python/cpython2/Lib/multiprocessing/
Dheap.py94 def __init__(self, size=mmap.PAGESIZE):
117 length = self._roundup(max(self._size, size), mmap.PAGESIZE)
/external/iproute2/doc/
DMakefile13 PAGESIZE=a4 macro
/external/ltp/testcases/commands/du/
Ddu01.sh77 page_size=$(getconf PAGESIZE)
/external/ltp/testcases/kernel/controllers/memcg/control/
Dmemcg_control_test.sh44 PAGE_SIZE=$(getconf PAGESIZE)
/external/iproute2/
DREADME29 PAGESIZE=a4 , ie: a4 , letter ... (string)
/external/elfutils/tests/
Drun-readelf-vmcoreinfo.sh64 PAGESIZE=4096
/external/ltp/testcases/lib/
Dtest.sh419 LTP_IPC_SIZE=$(getconf PAGESIZE)
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
Dupdate_engine_performance_monitor.py69 rss = int(fields[23]) * mmap.PAGESIZE

12