Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c237 const char *tmpfs_loc = mkdtemp(tmpfs_template); in split_file_backed_thp() local
243 status = mount("tmpfs", tmpfs_loc, "tmpfs", 0, "huge=always,size=4m"); in split_file_backed_thp()
250 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp()
263 num_written = write(fd, tmpfs_loc, strlen(tmpfs_loc) + 1); in split_file_backed_thp()
279 status = umount(tmpfs_loc); in split_file_backed_thp()
281 printf("Unable to umount %s\n", tmpfs_loc); in split_file_backed_thp()
284 status = rmdir(tmpfs_loc); in split_file_backed_thp()