Searched refs:FS_BLOCKSIZE (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap16.c | 39 #define FS_BLOCKSIZE 1024 macro 97 char buf[FS_BLOCKSIZE]; in do_test() 110 memset(buf, 'a', FS_BLOCKSIZE); in do_test() 114 ret = write(parentfd, buf, FS_BLOCKSIZE); in do_test() 181 char buf[FS_BLOCKSIZE]; in do_child() 191 memset(buf, 'a', FS_BLOCKSIZE); in do_child() 193 SAFE_WRITE(NULL, 1, fd, buf, FS_BLOCKSIZE); in do_child() 205 addr = SAFE_MMAP(NULL, addr, FS_BLOCKSIZE, PROT_WRITE | PROT_READ, in do_child() 211 addr = mremap(addr, FS_BLOCKSIZE, 2 * page_size, 0); in do_child() 226 for (offset = FS_BLOCKSIZE; offset < page_size; offset += FS_BLOCKSIZE) in do_child()
|