Searched refs:file_buf2 (Results 1 – 1 of 1) sorted by relevance
353 char *file_buf1 = NULL, *file_buf2 = NULL; in split_file_backed_thp() local363 file_buf2 = (char *)malloc(pmd_pagesize); in split_file_backed_thp()365 if (!file_buf1 || !file_buf2) { in split_file_backed_thp()372 memset(file_buf2, 0, pmd_pagesize); in split_file_backed_thp()412 num_read = read(fd, file_buf2, num_written); in split_file_backed_thp()418 if (strncmp(file_buf1, file_buf2, pmd_pagesize) != 0) { in split_file_backed_thp()437 free(file_buf2); in split_file_backed_thp()453 free(file_buf2); in split_file_backed_thp()