Searched refs:nr_node (Results 1 – 2 of 2) sorted by relevance
179 odb_node_nr_t nr_node; in odb_open() local222 nr_node = DEFAULT_NODE_NR(data->offset_node); in odb_open()224 file_size = tables_size(data, nr_node); in odb_open()231 nr_node = (stat_buf.st_size - data->offset_node) / in odb_open()235 data->base_memory = mmap(0, tables_size(data, nr_node), mmflags, in odb_open()246 data->descr->size = nr_node; in odb_open()251 if (nr_node != data->descr->size) { in odb_open()266 munmap(data->base_memory, tables_size(data, nr_node)); in odb_open()
92 odb_node_nr_t nr_node = 0; in odb_check_hash() local105 ++nr_node; in odb_check_hash()114 if (nr_node != data->descr->current_size - 1) { in odb_check_hash()116 nr_node, data->descr->current_size - 1); in odb_check_hash()