Searched refs:tmpfs_loc (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 280 const char *tmpfs_loc = mkdtemp(tmpfs_template); in split_file_backed_thp() local 286 status = mount("tmpfs", tmpfs_loc, "tmpfs", 0, "huge=always,size=4m"); in split_file_backed_thp() 291 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp() 303 num_written = write(fd, tmpfs_loc, strlen(tmpfs_loc) + 1); in split_file_backed_thp() 320 status = umount(tmpfs_loc); in split_file_backed_thp() 322 rmdir(tmpfs_loc); in split_file_backed_thp() 323 ksft_exit_fail_msg("Unable to umount %s\n", tmpfs_loc); in split_file_backed_thp() 326 status = rmdir(tmpfs_loc); in split_file_backed_thp() 335 umount(tmpfs_loc); in split_file_backed_thp() 336 rmdir(tmpfs_loc); in split_file_backed_thp()
|