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