Searched refs:base_memory (Results 1 – 3 of 3) sorted by relevance
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()[all …]
82 void * base_memory; /**< base memory of the maped memory */ member
2965 * libdb/db-manage.c: reset base_memory and fd