Lines Matching refs:offset
47 off_t offset; member
59 size_t total_len, off_t offset) in setup_mmap_io_state() argument
69 mio->table[mio->num_entries].offset = offset; in setup_mmap_io_state()
73 offset += mio->table[mio->num_entries].len; in setup_mmap_io_state()
80 off_t *offset) in mmap_getnext_off_len() argument
98 *offset = mio->table[i].offset; in mmap_getnext_off_len()
99 mio->table[i].offset += iolength; in mmap_getnext_off_len()
106 mmap_do_io(void *db_node, int prot, off_t offset, size_t len, in mmap_do_io() argument
117 p, len, offset); in mmap_do_io()
123 len, offset, files_db_get_fd(db_node), in mmap_do_io()
133 p, len, offset); in mmap_do_io()
148 p, len, offset); in mmap_do_io()
155 offset, files_db_get_fd(db_node), in mmap_do_io()
170 off_t offset = file_op->mmap_offset; in ioshark_handle_mmap() local
186 assert(offset + len <= statbuf.st_size); in ioshark_handle_mmap()
188 mmap_do_io(db_node, prot, offset, len, in ioshark_handle_mmap()
193 setup_mmap_io_state(&mio, len, offset); in ioshark_handle_mmap()
195 while ((len = mmap_getnext_off_len(&mio, &offset))) { in ioshark_handle_mmap()
196 assert((offset + len) <= in ioshark_handle_mmap()
198 mmap_do_io(db_node, prot, offset, len, bufp, buflen, in ioshark_handle_mmap()