Home
last modified time | relevance | path

Searched refs:kvp_file_info (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/hv/
Dhv_kvp_daemon.c130 static struct kvp_file_state kvp_file_info[KVP_POOL_COUNT]; variable
137 if (fcntl(kvp_file_info[pool].fd, F_SETLKW, &fl) == -1) { in kvp_acquire_lock()
149 if (fcntl(kvp_file_info[pool].fd, F_SETLK, &fl) == -1) { in kvp_release_lock()
166 filep = fopen(kvp_file_info[pool].fname, "we"); in kvp_update_file()
174 fwrite(kvp_file_info[pool].records, sizeof(struct kvp_record), in kvp_update_file()
175 kvp_file_info[pool].num_records, filep); in kvp_update_file()
190 struct kvp_record *record = kvp_file_info[pool].records; in kvp_update_mem_state()
192 int num_blocks = kvp_file_info[pool].num_blocks; in kvp_update_mem_state()
197 filep = fopen(kvp_file_info[pool].fname, "re"); in kvp_update_mem_state()
235 kvp_file_info[pool].num_blocks = num_blocks; in kvp_update_mem_state()
[all …]