Lines Matching refs:length
34 size_t length; member
62 if (b.length && munmap (b.ptr, b.length)) in deallocate()
71 do_mmap (void *addr, size_t length) in do_mmap() argument
73 return mmap (addr, length, PROT_READ | PROT_WRITE, in do_mmap()
84 if (b.length) in reallocate()
85 return do_mmap (b.ptr, b.length); in reallocate()
93 if (b.length) in protect()
98 if (mprotect (b.ptr, b.length, in protect()
114 if (b.length) in do_read()
115 return read (fd, ptr, b.length); in do_read()
126 if (b.length) in do_write()
127 return write (fd, ptr, b.length); in do_write()