/external/yaffs2/yaffs2/direct/ |
D | yaffs_fileem2k.h | 24 #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))
|
D | yaffs_fileem2k.c | 39 __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/ |
D | op_util.c | 36 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()
|
D | op_dname.c | 103 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/ |
D | slice-threadinit.c | 25 #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/ |
D | page_32.h | 6 #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)
|
D | shmparam.h | 4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
|
D | highmem.h | 61 #define PKMAP_BASE ( (FIXADDR_BOOT_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK )
|
D | user_32.h | 116 #define NBPG PAGE_SIZE
|
D | pgtable_32.h | 82 # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE) 84 # define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE)
|
/external/kernel-headers/original/asm-arm/ |
D | page.h | 16 #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)
|
D | shmparam.h | 9 #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */
|
D | user.h | 79 #define NBPG PAGE_SIZE
|
/external/valgrind/main/coregrind/ |
D | launcher-aix5.c | 229 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/ |
D | a.out.h | 110 #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
|
D | threads.h | 33 #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
|
D | resource.h | 64 #define MLOCK_LIMIT (8 * PAGE_SIZE)
|
D | nfsacl.h | 37 #define NFSACL_MAXPAGES ((2*(8+12*NFS_ACL_MAX_ENTRIES) + PAGE_SIZE-1) \
|
D | shm.h | 16 #define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */
|
D | netlink.h | 214 #if PAGE_SIZE < 8192UL 215 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)
|
D | highmem.h | 84 BUG_ON(offset + size > PAGE_SIZE); in memclear_highpage_flush()
|
D | relay.h | 22 #define FIX_SIZE(x) ((((x) - 1) & PAGE_MASK) + PAGE_SIZE)
|
/external/valgrind/main/memcheck/tests/ |
D | sh-mem-random.c | 23 #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/ |
D | svc.h | 79 #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/ |
D | codemap.js | 71 CodeMap.PAGE_SIZE = 140 addr += CodeMap.PAGE_SIZE) {
|