Searched refs:file_lock_mode (Results 1 – 6 of 6) sorted by relevance
1124 td->o.file_lock_mode = FILE_LOCK_NONE; in close_and_free_files()1267 if (td->o.file_lock_mode != FILE_LOCK_NONE) { in add_file()1294 switch (td->o.file_lock_mode) { in add_file()1304 log_err("fio: unknown lock mode: %d\n", td->o.file_lock_mode); in add_file()1378 if (!f->lock || td->o.file_lock_mode == FILE_LOCK_NONE) in lock_file()1381 if (td->o.file_lock_mode == FILE_LOCK_READWRITE) { in lock_file()1386 } else if (td->o.file_lock_mode == FILE_LOCK_EXCLUSIVE) in lock_file()1389 td->file_locks[f->fileno] = td->o.file_lock_mode; in lock_file()1394 if (!f->lock || td->o.file_lock_mode == FILE_LOCK_NONE) in unlock_file()1397 if (td->o.file_lock_mode == FILE_LOCK_READWRITE) in unlock_file()[all …]
80 enum file_lock_mode file_lock_mode; member309 uint32_t file_lock_mode; member
34 enum file_lock_mode { enum
121 o->file_lock_mode = le32_to_cpu(top->file_lock_mode); in convert_thread_options_to_cpu()299 top->file_lock_mode = cpu_to_le32(o->file_lock_mode); in convert_thread_options_to_net()
510 if (td->o.file_lock_mode != FILE_LOCK_NONE) in td_io_close_file()
1328 .off1 = td_var_offset(file_lock_mode),