Searched refs:mmapfd (Results 1 – 2 of 2) sorted by relevance
129 td->mmapfd = -1; in alloc_mem_mmap()141 td->mmapfd = open(td->o.mmapfile, O_RDWR|O_CREAT, 0644); in alloc_mem_mmap()143 if (td->mmapfd < 0) { in alloc_mem_mmap()150 ftruncate(td->mmapfd, total_mem) < 0) { in alloc_mem_mmap()164 td->mmapfd, 0); in alloc_mem_mmap()166 td->mmapfd, td->orig_buffer); in alloc_mem_mmap()170 if (td->mmapfd != 1 && td->mmapfd != -1) { in alloc_mem_mmap()171 close(td->mmapfd); in alloc_mem_mmap()188 if (td->mmapfd != -1) in free_mem_mmap()189 close(td->mmapfd); in free_mem_mmap()
210 int mmapfd; member