Lines Matching refs:base_memory
34 return (odb_descr_t *)(((char*)data->base_memory) + data->sizeof_header);
40 return (odb_node_t *)(((char *)data->base_memory) + data->offset_node);
46 return (odb_index_t *)(((char *)data->base_memory) +
84 new_map = mremap(data->base_memory,
92 munmap(data->base_memory, old_file_size);
95 data->base_memory = new_map;
235 data->base_memory = mmap(0, tables_size(data, nr_node), mmflags,
238 if (data->base_memory == MAP_FAILED) {
266 munmap(data->base_memory, tables_size(data, nr_node));
285 munmap(data->base_memory, size);
306 return odb->data->base_memory;
319 msync(data->base_memory, size, MS_ASYNC);