Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
Dfilefrag.c186 struct fiemap *fiemap = (struct fiemap *)buf; in filefrag_fiemap() local
187 struct fiemap_extent *fm_ext = &fiemap->fm_extents[0]; in filefrag_fiemap()
188 int count = (sizeof(buf) - sizeof(*fiemap)) / in filefrag_fiemap()
199 memset(fiemap, 0, sizeof(struct fiemap)); in filefrag_fiemap()
208 fiemap->fm_length = ~0ULL; in filefrag_fiemap()
209 fiemap->fm_flags = flags; in filefrag_fiemap()
210 fiemap->fm_extent_count = count; in filefrag_fiemap()
211 rc = ioctl(fd, FS_IOC_FIEMAP, (unsigned long) fiemap); in filefrag_fiemap()
215 "flags %x\n", fiemap->fm_flags); in filefrag_fiemap()
222 if (fiemap->fm_mapped_extents == 0) in filefrag_fiemap()
[all …]
De4defrag.c547 struct fiemap fiemap_buf; in file_frag_count()
552 memset(&fiemap_buf, 0, sizeof(struct fiemap)); in file_frag_count()
844 struct fiemap *fiemap_buf = NULL; in get_file_extents()
856 fie_buf_size = sizeof(struct fiemap) + ext_buf_size; in get_file_extents()
DMakefile.in689 $(top_srcdir)/lib/ext2fs/fiemap.h
/external/e2fsprogs/lib/ext2fs/
Dfiemap.h25 struct fiemap { struct
38 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap) argument
/external/kernel-headers/original/uapi/linux/
Dfiemap.h27 struct fiemap { struct
Dfs.h165 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/external/e2fsprogs/debian/
Dchangelog853 fiemap ioctl.
/external/e2fsprogs/
DRELEASE-NOTES1906 Fix filefrag progam so it correctly checks for errors from the fiemap ioctl.