Searched refs:file_lock_mode (Results 1 – 6 of 6) sorted by relevance
1314 td->o.file_lock_mode = FILE_LOCK_NONE; in close_and_free_files()1483 if (td->o.file_lock_mode != FILE_LOCK_NONE) { in add_file()1508 switch (td->o.file_lock_mode) { in add_file()1518 log_err("fio: unknown lock mode: %d\n", td->o.file_lock_mode); in add_file()1592 if (!f->lock || td->o.file_lock_mode == FILE_LOCK_NONE) in lock_file()1595 if (td->o.file_lock_mode == FILE_LOCK_READWRITE) { in lock_file()1600 } else if (td->o.file_lock_mode == FILE_LOCK_EXCLUSIVE) in lock_file()1603 td->file_locks[f->fileno] = td->o.file_lock_mode; in lock_file()1608 if (!f->lock || td->o.file_lock_mode == FILE_LOCK_NONE) in unlock_file()1611 if (td->o.file_lock_mode == FILE_LOCK_READWRITE) in unlock_file()[all …]
93 enum file_lock_mode file_lock_mode; member366 uint32_t file_lock_mode; member
35 enum file_lock_mode { enum
147 o->file_lock_mode = le32_to_cpu(top->file_lock_mode); in convert_thread_options_to_cpu()356 top->file_lock_mode = cpu_to_le32(o->file_lock_mode); in convert_thread_options_to_net()
530 if (td->o.file_lock_mode != FILE_LOCK_NONE) in td_io_close_file()
1547 .off1 = offsetof(struct thread_options, file_lock_mode),