Home
last modified time | relevance | path

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

/system/vold/bench/inodeop_bench/
Dinodeop_bench.cpp196 int from_dir_fd = open(from_dir.c_str(), OPEN_DIR_FLAGS); in move_files() local
197 if (from_dir_fd == -1) { in move_files()
208 close(from_dir_fd); in move_files()
217 (renameat(from_dir_fd, from_filename.c_str(), to_dir_fd, to_filename.c_str()) == 0); in move_files()
221 close(from_dir_fd); in move_files()
222 close(from_dir_fd); in move_files()
228 int from_dir_fd = open(from_dir.c_str(), OPEN_DIR_FLAGS); in hardlink_files() local
229 if (from_dir_fd == -1) { in hardlink_files()
240 close(from_dir_fd); in hardlink_files()
249 (linkat(from_dir_fd, from_filename.c_str(), to_dir_fd, to_filename.c_str(), 0) == 0); in hardlink_files()
[all …]