Searched refs:fiemap_buf (Results 1 – 1 of 1) sorted by relevance
547 struct fiemap fiemap_buf; in file_frag_count() local552 memset(&fiemap_buf, 0, sizeof(struct fiemap)); in file_frag_count()553 fiemap_buf.fm_start = 0; in file_frag_count()554 fiemap_buf.fm_length = FIEMAP_MAX_OFFSET; in file_frag_count()555 fiemap_buf.fm_flags |= FIEMAP_FLAG_SYNC; in file_frag_count()557 ret = ioctl(fd, FS_IOC_FIEMAP, &fiemap_buf); in file_frag_count()561 return fiemap_buf.fm_mapped_extents; in file_frag_count()844 struct fiemap *fiemap_buf = NULL; in get_file_extents() local858 fiemap_buf = malloc(fie_buf_size); in get_file_extents()859 if (fiemap_buf == NULL) in get_file_extents()[all …]