Lines Matching refs:num_blocks
113 int num_blocks; member
181 int num_blocks = kvp_file_info[pool].num_blocks; in kvp_update_mem_state() local
196 ENTRIES_PER_BLOCK * num_blocks - records_read, in kvp_update_mem_state()
211 num_blocks++; in kvp_update_mem_state()
212 record = realloc(record, alloc_unit * num_blocks); in kvp_update_mem_state()
224 kvp_file_info[pool].num_blocks = num_blocks; in kvp_update_mem_state()
256 kvp_file_info[i].num_blocks = 1; in kvp_file_init()
316 int num_blocks; in kvp_key_add_or_modify() local
329 num_blocks = kvp_file_info[pool].num_blocks; in kvp_key_add_or_modify()
346 if (num_records == (ENTRIES_PER_BLOCK * num_blocks)) { in kvp_key_add_or_modify()
349 ENTRIES_PER_BLOCK * (num_blocks + 1)); in kvp_key_add_or_modify()
353 kvp_file_info[pool].num_blocks++; in kvp_key_add_or_modify()