Searched refs:file_locks (Results 1 – 2 of 2) sorted by relevance
1120 free(td->file_locks); in close_and_free_files()1123 td->file_locks = NULL; in close_and_free_files()1268 td->file_locks = realloc(td->file_locks, new_size); in add_file()1269 if (!td->file_locks) { in add_file()1273 td->file_locks[cur_files] = FILE_LOCK_NONE; in add_file()1389 td->file_locks[f->fileno] = td->o.file_lock_mode; in lock_file()1402 td->file_locks[f->fileno] = FILE_LOCK_NONE; in unlock_file()1407 if (td->o.file_lock_mode == FILE_LOCK_NONE || !td->file_locks) in unlock_file_all()1409 if (td->file_locks[f->fileno] != FILE_LOCK_NONE) in unlock_file_all()1484 td->file_locks = malloc(org->files_index); in dup_files()
140 unsigned char *file_locks; member