Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 25 of 44) sorted by relevance

12

/external/yaffs2/yaffs2/direct/
Dyaffs_fileem2k.h24 #define PAGE_SIZE (PAGE_DATA_SIZE + PAGE_SPARE_SIZE) macro
27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE))
36 #define PAGE_SIZE (PAGE_DATA_SIZE + SPARE_SIZE) macro
38 #define BLOCK_DATA_SIZE (PAGE_SIZE * PAGES_PER_BLOCK)
39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE))
Dyaffs_fileem2k.c39 __u8 data[PAGE_SIZE]; // Data + spare
154 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; in yflash_WriteChunkWithTagsToNAND()
170 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE ; in yflash_WriteChunkWithTagsToNAND()
223 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; in yflash_ReadChunkWithTagsFromNAND()
233 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE; in yflash_ReadChunkWithTagsFromNAND()
289 …lseek(h,((blockNo % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE + PAGE_DATA_SIZE,SEEK_S… in yflash_MarkNANDBlockBad()
318 __u8 pg[PAGE_SIZE]; in yflash_EraseBlockInNAND()
319 int syz = PAGE_SIZE; in yflash_EraseBlockInNAND()
326 lseek(h,((blockNumber % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE,SEEK_SET); in yflash_EraseBlockInNAND()
329 write(h,pg,PAGE_SIZE); in yflash_EraseBlockInNAND()
/external/oprofile/module/
Dop_util.c36 ret |= adr & (PAGE_SIZE - 1); in uvirt_to_kva()
72 adr += PAGE_SIZE; in rvmalloc()
73 size -= PAGE_SIZE; in rvmalloc()
90 adr += PAGE_SIZE; in rvfree()
91 size -= PAGE_SIZE; in rvfree()
Dop_dname.c103 if (remap_page_range(start, page, PAGE_SIZE, PAGE_SHARED)) in oprof_hash_map_mmap()
105 start += PAGE_SIZE; in oprof_hash_map_mmap()
106 pos += PAGE_SIZE; in oprof_hash_map_mmap()
107 size -= PAGE_SIZE; in oprof_hash_map_mmap()
/external/bluetooth/glib/tests/
Dslice-threadinit.c25 #define PAGE_SIZE (128) /* must be <= minimum GSlice alignment bloc… macro
55 guint i, j, n_trials = N_PAGES * PAGE_SIZE / SAMPLE_SIZE; /* upper bound */ in allocate_from_known_page()
59 void *p = (void*) (PAGE_SIZE * ((gsize) b / PAGE_SIZE)); in allocate_from_known_page()
85 void *p = (void*) (PAGE_SIZE * ((gsize) b / PAGE_SIZE)); in main()
/external/kernel-headers/original/asm-x86/
Dpage_32.h6 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro
7 #define PAGE_MASK (~(PAGE_SIZE-1))
29 #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE)
30 #define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
141 #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)
Dshmparam.h4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
Dhighmem.h61 #define PKMAP_BASE ( (FIXADDR_BOOT_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK )
Duser_32.h116 #define NBPG PAGE_SIZE
Dpgtable_32.h82 # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
84 # define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE)
/external/kernel-headers/original/asm-arm/
Dpage.h16 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro
17 #define PAGE_MASK (~(PAGE_SIZE-1))
22 #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)
134 #define clear_page(page) memzero((void *)(page), PAGE_SIZE)
Dshmparam.h9 #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */
Duser.h79 #define NBPG PAGE_SIZE
/external/valgrind/main/coregrind/
Dlauncher-aix5.c229 ULong a = PAGE_SIZE; in ROUNDDN_PAGE()
237 ULong a = PAGE_SIZE; in IS_PAGE_ALIGNED()
283 assert(off == PAGE_SIZE); in ptrace_read_page()
317 assert(off == PAGE_SIZE); in ptrace_write_page()
1219 UChar p_page_unzbuf[PAGE_SIZE]; in write_bootstrap_loader_into_child()
1220 UChar p_page_unzbuf2[PAGE_SIZE]; in write_bootstrap_loader_into_child()
1221 UChar p_page_zbuf[PAGE_SIZE + 384 + 8/*paranoia*/]; in write_bootstrap_loader_into_child()
1223 for (c_page = c_first_page; c_page <= c_last_page; c_page += PAGE_SIZE) { in write_bootstrap_loader_into_child()
1228 zsize = Huffman_Compress(p_page_unzbuf, p_page_zbuf, PAGE_SIZE); in write_bootstrap_loader_into_child()
1229 assert(zsize >= 0 && zsize <= PAGE_SIZE + 384); in write_bootstrap_loader_into_child()
[all …]
/external/kernel-headers/original/linux/
Da.out.h110 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0)
126 #define PAGE_SIZE 0x400 macro
127 #define SEGMENT_SIZE PAGE_SIZE
136 #define SEGMENT_SIZE PAGE_SIZE
Dthreads.h33 #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
Dresource.h64 #define MLOCK_LIMIT (8 * PAGE_SIZE)
Dnfsacl.h37 #define NFSACL_MAXPAGES ((2*(8+12*NFS_ACL_MAX_ENTRIES) + PAGE_SIZE-1) \
Dshm.h16 #define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */
Dnetlink.h214 #if PAGE_SIZE < 8192UL
215 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)
Dhighmem.h84 BUG_ON(offset + size > PAGE_SIZE); in memclear_highpage_flush()
Drelay.h22 #define FIX_SIZE(x) ((((x) - 1) & PAGE_MASK) + PAGE_SIZE)
/external/valgrind/main/memcheck/tests/
Dsh-mem-random.c23 #define PAGE_SIZE 4096ULL macro
243 nbytes_p = (N_BYTES + PAGE_SIZE) & ~(PAGE_SIZE-1); in main()
251 huge_addr += (randomU4() & ~(PAGE_SIZE-1)); in main()
/external/kernel-headers/original/linux/sunrpc/
Dsvc.h79 #define RPCSVC_MAXPAGES ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE + 2)
188 return vec->iov_len <= PAGE_SIZE; in xdr_ressize_check()
/external/v8/tools/
Dcodemap.js71 CodeMap.PAGE_SIZE =
140 addr += CodeMap.PAGE_SIZE) {

12