Home
last modified time | relevance | path

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

123

/third_party/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_limit_in_bytes.sh27 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
Dmemcg_memsw_limit_in_bytes_test.sh16 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
Dmemcg_stat_rss.sh26 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
Dmemcg_lib.sh22 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) ))
Dmemcg_use_hierarchy_test.sh18 local limit=$(memcg_adjust_limit_for_kmem $PAGESIZE)
25 test_proc_kill $((limit + PAGESIZE * 3)) "--mmap-lock1" $((limit + PAGESIZE * 2)) 0
Dmemcg_force_empty.sh19 start_memcg_process --mmap-anon -s $PAGESIZE
21 signal_memcg_process $PAGESIZE
/third_party/python/Lib/test/
Dtest_mmap.py15 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/
Duser.h57 #define PAGE_MASK (~(PAGESIZE-1))
58 #define NBPG PAGESIZE
/third_party/ltp/testcases/kernel/tracing/pt_test/
Dpt_test.c28 #define PAGESIZE 4096 macro
29 #define INTEL_PT_MEMSIZE (17*PAGESIZE)
157 buhsz = 2 * PAGESIZE; in setup()
/third_party/musl/arch/x32/bits/
Duser.h37 #define PAGE_MASK (~(PAGESIZE-1))
38 #define NBPG PAGESIZE
/third_party/musl/arch/i386/bits/
Duser.h40 #define PAGE_MASK (~(PAGESIZE-1))
41 #define NBPG PAGESIZE
/third_party/musl/arch/x86_64/bits/
Duser.h37 #define PAGE_MASK (~(PAGESIZE-1))
38 #define NBPG PAGESIZE
Dlimits.h1 #define PAGESIZE 4096 macro
/third_party/musl/src/malloc/mallocng/
Dglue.h51 #ifndef PAGESIZE
52 #define PAGESIZE PAGE_SIZE macro
Dmeta.h43 #ifndef PAGESIZE
63 #ifdef PAGESIZE
64 #define PGSZ PAGESIZE
/third_party/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect03.c51 #ifndef PAGESIZE
52 #define PAGESIZE 4096 macro
/third_party/musl/ndk_musl_include/
Dlimits.h96 #ifdef PAGESIZE
97 #define PAGE_SIZE PAGESIZE
/third_party/musl/include/
Dlimits.h96 #ifdef PAGESIZE
97 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/liteos_a/user/include/
Dlimits.h96 #ifdef PAGESIZE
97 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/liteos_m/user/include/
Dlimits.h96 #ifdef PAGESIZE
97 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/liteos_m/kernel/include/
Dlimits.h98 #ifdef PAGESIZE
99 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/uniproton/kernel/include/
Dlimits.h98 #ifdef PAGESIZE
99 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/liteos_a/kernel/include/
Dlimits.h13 #ifndef PAGESIZE
14 #define PAGESIZE PAGE_SIZE macro
/third_party/musl/porting/linux/user/src/malloc/mallocng/
Dmeta.h43 #ifndef PAGESIZE
63 #ifdef PAGESIZE
64 #define PGSZ PAGESIZE
/third_party/musl/arch/or1k/bits/
Dlimits.h1 #define PAGESIZE 8192 macro

123