Home
last modified time | relevance | path

Searched refs:PAGESIZE (Results 1 - 25 of 47) sorted by relevance

12

/third_party/ltp/testcases/kernel/controllers/memcg/functional/
H A Dmemcg_limit_in_bytes.sh26 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE * 2)) 0
31 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE * 2)) 0
38 test_proc_kill $PAGESIZE "--mmap-anon" $((PAGESIZE * 2)) 0
45 test_proc_kill $PAGESIZE "--mmap-file" $((PAGESIZE * 2)) 0
52 test_proc_kill $PAGESIZE "--shm -k 18" $((PAGESIZE *
[all...]
H A Dmemcg_memsw_limit_in_bytes_test.sh15 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE*2)) 1
20 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE*2)) 1
25 test_proc_kill 0 "--mmap-anon" $PAGESIZE 1
30 test_proc_kill 0 "--mmap-file" $PAGESIZE 1
35 test_proc_kill 0 "--shm -k 21" $PAGESIZE 1
40 test_limit_in_bytes $((PAGESIZE - 1)) 1
45 test_limit_in_bytes $((PAGESIZE + 1)) 1
H A Dmemcg_stat_rss.sh25 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 0 false
30 test_mem_stat "--shm -k 3" $PAGESIZE $PAGESIZE "rss" 0 0 false
51 test_mem_stat "--mmap-file" $PAGESIZE $PAGESIZE "rss" 0 0 true
56 test_mem_stat "--shm -k 8" $PAGESIZE $PAGESIZE "rss" 0 0 true
H A Dmemcg_lib.sh64 node_mem=$((node_mem * PAGESIZE * 128))
67 limit=$((limit + 4 * PAGESIZE + total_cpus * PAGESIZE + node_mem))
345 # Test limit_in_bytes will be aligned to PAGESIZE
365 local limit_up=$(( PAGESIZE * (limit / PAGESIZE) ))
366 local limit_down=$(( PAGESIZE * ((limit + PAGESIZE - 1) / PAGESIZE) ))
399 PAGESIZE
[all...]
H A Dmemcg_use_hierarchy_test.sh17 local limit=$(memcg_adjust_limit_for_kmem $PAGESIZE)
24 test_proc_kill $((limit + PAGESIZE * 3)) "--mmap-lock1" $((limit + PAGESIZE * 2)) 0
H A Dmemcg_force_empty.sh18 start_memcg_process --mmap-anon -s $PAGESIZE
20 signal_memcg_process $PAGESIZE
/third_party/ltp/testcases/kernel/kvm/
H A Dkvm_pagefault01.c29 #define PAGESIZE 0x1000 macro
81 writable = tst_heap_alloc_aligned(5 * PAGESIZE, PAGESIZE); in main()
82 memset(writable, 0, 5 * PAGESIZE); in main()
92 subpte[0].address = (tmp + PAGESIZE) >> 12; in main()
96 subpte[1].address = (tmp + 2 * PAGESIZE) >> 12; in main()
101 subpte = (struct page_table_entry_pae *)(tmp + PAGESIZE); in main()
102 subpte[0].address = (tmp + 3 * PAGESIZE) >> 12; in main()
107 subpte = (struct page_table_entry_pae *)(tmp + 2 * PAGESIZE); in main()
108 subpte[0].address = (tmp + 4 * PAGESIZE) >> 1 in main()
[all...]
H A Dlib_x86.c288 ret = tst_heap_alloc_aligned(sizeof(struct kvm_vmcb), PAGESIZE); in kvm_alloc_vmcb()
385 stack = tst_heap_alloc_aligned(2 * PAGESIZE, PAGESIZE); in kvm_create_svm_vcpu()
387 stack += 2 * PAGESIZE; in kvm_create_svm_vcpu()
/third_party/python/Lib/test/
H A Dtest_mmap.py19 PAGESIZE = mmap.PAGESIZE variable
51 f.write(b'\0'* PAGESIZE)
53 f.write(b'\0'* (PAGESIZE-3) )
55 m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
62 self.assertEqual(m.find(b'foo'), PAGESIZE)
64 self.assertEqual(len(m), 2*PAGESIZE)
75 m[PAGESIZE +3: PAGESIZE +3+3] = b'bar'
80 self.assertEqual(m[PAGESIZE
[all...]
/third_party/musl/arch/s390x/bits/
H A Duser.h57 #define PAGE_MASK (~(PAGESIZE-1))
58 #define NBPG PAGESIZE
H A Dlimits.h1 #define PAGESIZE 4096 macro
/third_party/musl/arch/x32/bits/
H A Duser.h37 #define PAGE_MASK (~(PAGESIZE-1))
38 #define NBPG PAGESIZE
/third_party/musl/arch/i386/bits/
H A Duser.h40 #define PAGE_MASK (~(PAGESIZE-1))
41 #define NBPG PAGESIZE
H A Dlimits.h1 #define PAGESIZE 4096 macro
/third_party/musl/arch/x86_64/bits/
H A Duser.h37 #define PAGE_MASK (~(PAGESIZE-1))
38 #define NBPG PAGESIZE
/third_party/ltp/testcases/kernel/tracing/pt_test/
H A Dpt_test.c28 #define PAGESIZE 4096 macro
29 #define INTEL_PT_MEMSIZE (17*PAGESIZE)
157 buhsz = 2 * PAGESIZE; in setup()
/third_party/musl/porting/liteos_a/user/include/
H A Dlimits.h96 #ifdef PAGESIZE
97 #define PAGE_SIZE PAGESIZE
/third_party/musl/src/malloc/mallocng/
H A Dglue.h53 #ifndef PAGESIZE
54 #define PAGESIZE PAGE_SIZE macro
/third_party/musl/porting/liteos_m/user/include/
H A Dlimits.h96 #ifdef PAGESIZE
97 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/uniproton/kernel/include/
H A Dlimits.h98 #ifdef PAGESIZE
99 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/liteos_m/kernel/include/
H A Dlimits.h98 #ifdef PAGESIZE
99 #define PAGE_SIZE PAGESIZE
/third_party/ltp/testcases/kernel/syscalls/mprotect/
H A Dmprotect03.c51 #ifndef PAGESIZE
52 #define PAGESIZE 4096 macro
85 * mmap the PAGESIZE bytes as read only. in main()
/third_party/musl/include/
H A Dlimits.h105 #ifdef PAGESIZE
106 #define PAGE_SIZE PAGESIZE
/third_party/musl/porting/liteos_a/kernel/include/
H A Dlimits.h13 #ifndef PAGESIZE
14 #define PAGESIZE PAGE_SIZE macro
/third_party/musl/arch/or1k/bits/
H A Dlimits.h1 #define PAGESIZE 8192 macro

Completed in 9 milliseconds

12