Lines Matching refs:num_records
115 int num_records; member
164 kvp_file_info[pool].num_records, filep); in kvp_update_file()
226 kvp_file_info[pool].num_records = records_read; in kvp_update_mem_state()
260 kvp_file_info[i].num_records = 0; in kvp_file_init()
271 int num_records; in kvp_key_delete() local
279 num_records = kvp_file_info[pool].num_records; in kvp_key_delete()
282 for (i = 0; i < num_records; i++) { in kvp_key_delete()
289 if (i == (num_records - 1)) { in kvp_key_delete()
290 kvp_file_info[pool].num_records--; in kvp_key_delete()
297 for (; k < num_records; k++) { in kvp_key_delete()
303 kvp_file_info[pool].num_records--; in kvp_key_delete()
314 int num_records; in kvp_key_add_or_modify() local
327 num_records = kvp_file_info[pool].num_records; in kvp_key_add_or_modify()
331 for (i = 0; i < num_records; i++) { in kvp_key_add_or_modify()
346 if (num_records == (ENTRIES_PER_BLOCK * num_blocks)) { in kvp_key_add_or_modify()
359 kvp_file_info[pool].num_records++; in kvp_key_add_or_modify()
368 int num_records; in kvp_get_value() local
380 num_records = kvp_file_info[pool].num_records; in kvp_get_value()
383 for (i = 0; i < num_records; i++) { in kvp_get_value()
407 if (index >= kvp_file_info[pool].num_records) { in kvp_pool_enumerate()