Lines Matching full:length
110 size_t length = 0; in main() local
117 /* Read memory length as the first arg if valid, otherwise fallback to in main()
118 * the default length. in main()
121 length = argc > 2 ? (size_t)atoi(argv[1]) : 0UL; in main()
123 length = length > 0 ? length : DEFAULT_LENGTH_MB; in main()
124 length = MB_TO_BYTES(length); in main()
138 void *haddr = mmap((void *)suggested_addr, length, PROTECTION, in main()
148 void *daddr = mmap((void *)suggested_addr, length, PROTECTION, in main()
158 mmap((void *)suggested_addr, length, PROTECTION, FLAGS, -1, 0); in main()
165 register_region_with_uffd(haddr, length); in main()
167 void *addr = mremap(haddr, length, length, in main()
176 write_bytes(addr, length); in main()
177 ret = read_bytes(addr, length); in main()
179 munmap(addr, length); in main()
181 addr = mremap(addr, length, length, 0); in main()