Lines Matching refs:donor_fd
152 __u32 donor_fd; /* donor file descriptor */ member
1308 static int call_defrag(int fd, int donor_fd, const char *file, in call_defrag() argument
1320 move_data.donor_fd = donor_fd; in call_defrag()
1412 int donor_fd = -1; in file_defrag() local
1537 donor_fd = open64(tmp_inode_name, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR); in file_defrag()
1538 if (donor_fd < 0) { in file_defrag()
1563 ret = fallocate64(donor_fd, 0, in file_defrag()
1578 ret = get_file_extents(donor_fd, &donor_list_physical); in file_defrag()
1628 ret = call_defrag(fd, donor_fd, file, buf, donor_list_logical); in file_defrag()
1661 if (donor_fd != -1) in file_defrag()
1662 close(donor_fd); in file_defrag()