Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
Dfilefrag.c209 struct fiemap *fiemap = (struct fiemap *)buf; in filefrag_fiemap() local
210 struct fiemap_extent *fm_ext = &fiemap->fm_extents[0]; in filefrag_fiemap()
212 int count = (sizeof(buf) - sizeof(*fiemap)) / in filefrag_fiemap()
223 memset(fiemap, 0, sizeof(struct fiemap)); in filefrag_fiemap()
232 fiemap->fm_length = ~0ULL; in filefrag_fiemap()
233 fiemap->fm_flags = flags; in filefrag_fiemap()
234 fiemap->fm_extent_count = count; in filefrag_fiemap()
235 rc = ioctl(fd, FS_IOC_FIEMAP, (unsigned long) fiemap); in filefrag_fiemap()
243 fiemap->fm_flags); in filefrag_fiemap()
250 if (fiemap->fm_mapped_extents == 0) in filefrag_fiemap()
[all …]
De4defrag.c495 struct fiemap fiemap_buf; in file_frag_count()
500 memset(&fiemap_buf, 0, sizeof(struct fiemap)); in file_frag_count()
792 struct fiemap *fiemap_buf = NULL; in get_file_extents()
804 fie_buf_size = sizeof(struct fiemap) + ext_buf_size; in get_file_extents()
Dcreate_inode.c497 struct fiemap *fiemap_buf; in try_fiemap_copy()
505 fie_buf_size = sizeof(struct fiemap) + ext_buf_size; in try_fiemap_copy()
DMakefile.in782 $(top_srcdir)/lib/ext2fs/fiemap.h
808 $(top_srcdir)/lib/ext2fs/fiemap.h $(srcdir)/create_inode.h \
/external/strace/tests-mx32/
Dbtrfs.c1190 struct fiemap *fiemap; in btrfs_test_ino_path_ioctls() local
1232 size = sizeof(*fiemap) + 2 * sizeof(fiemap->fm_extents[0]); in btrfs_test_ino_path_ioctls()
1233 fiemap = malloc(size); in btrfs_test_ino_path_ioctls()
1234 if (!fiemap) in btrfs_test_ino_path_ioctls()
1236 memset(fiemap, 0, size); in btrfs_test_ino_path_ioctls()
1238 fiemap->fm_length = sizeof(buf); in btrfs_test_ino_path_ioctls()
1239 fiemap->fm_extent_count = 2; in btrfs_test_ino_path_ioctls()
1244 fd, fiemap->fm_start, fiemap->fm_length); in btrfs_test_ino_path_ioctls()
1245 printflags(fiemap_flags, fiemap->fm_flags, "FIEMAP_FLAG_???"); in btrfs_test_ino_path_ioctls()
1246 printf(", fm_extent_count=%u}", fiemap->fm_extent_count); in btrfs_test_ino_path_ioctls()
[all …]
Dfile_ioctl.c16 TAIL_ALLOC_OBJECT_CONST_PTR(struct fiemap, args); in test_fiemap()
/external/strace/tests-m32/
Dbtrfs.c1190 struct fiemap *fiemap; in btrfs_test_ino_path_ioctls() local
1232 size = sizeof(*fiemap) + 2 * sizeof(fiemap->fm_extents[0]); in btrfs_test_ino_path_ioctls()
1233 fiemap = malloc(size); in btrfs_test_ino_path_ioctls()
1234 if (!fiemap) in btrfs_test_ino_path_ioctls()
1236 memset(fiemap, 0, size); in btrfs_test_ino_path_ioctls()
1238 fiemap->fm_length = sizeof(buf); in btrfs_test_ino_path_ioctls()
1239 fiemap->fm_extent_count = 2; in btrfs_test_ino_path_ioctls()
1244 fd, fiemap->fm_start, fiemap->fm_length); in btrfs_test_ino_path_ioctls()
1245 printflags(fiemap_flags, fiemap->fm_flags, "FIEMAP_FLAG_???"); in btrfs_test_ino_path_ioctls()
1246 printf(", fm_extent_count=%u}", fiemap->fm_extent_count); in btrfs_test_ino_path_ioctls()
[all …]
Dfile_ioctl.c16 TAIL_ALLOC_OBJECT_CONST_PTR(struct fiemap, args); in test_fiemap()
/external/strace/tests/
Dbtrfs.c1190 struct fiemap *fiemap; in btrfs_test_ino_path_ioctls() local
1232 size = sizeof(*fiemap) + 2 * sizeof(fiemap->fm_extents[0]); in btrfs_test_ino_path_ioctls()
1233 fiemap = malloc(size); in btrfs_test_ino_path_ioctls()
1234 if (!fiemap) in btrfs_test_ino_path_ioctls()
1236 memset(fiemap, 0, size); in btrfs_test_ino_path_ioctls()
1238 fiemap->fm_length = sizeof(buf); in btrfs_test_ino_path_ioctls()
1239 fiemap->fm_extent_count = 2; in btrfs_test_ino_path_ioctls()
1244 fd, fiemap->fm_start, fiemap->fm_length); in btrfs_test_ino_path_ioctls()
1245 printflags(fiemap_flags, fiemap->fm_flags, "FIEMAP_FLAG_???"); in btrfs_test_ino_path_ioctls()
1246 printf(", fm_extent_count=%u}", fiemap->fm_extent_count); in btrfs_test_ino_path_ioctls()
[all …]
Dfile_ioctl.c16 TAIL_ALLOC_OBJECT_CONST_PTR(struct fiemap, args); in test_fiemap()
/external/e2fsprogs/lib/ext2fs/
Dfiemap.h25 struct fiemap { struct
38 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap) argument
DMakefile.in1354 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/fiemap.h \
/external/syslinux/libinstaller/
Dsyslxcom.c181 struct fiemap *fm; in sectmap_fie()
191 fm = alloca(sizeof(struct fiemap) in sectmap_fie()
Dlinuxioctl.h49 # define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/external/syslinux/libinstaller/linux/
Dfiemap.h27 struct fiemap { struct
/external/kernel-headers/original/uapi/linux/
Dfiemap.h28 struct fiemap { struct
Dfs.h249 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/external/strace/
Dfile_ioctl.c200 struct fiemap args; in file_ioctl()
Dconfigure.ac395 linux/fiemap.h
Dconfig.h.in732 /* Define to 1 if you have the <linux/fiemap.h> header file. */
DChangeLog21304 tests/btrfs.c: fix build on systems without <linux/btrfs.h> or <linux/fiemap.h>
21307 that use struct fiemap if [!HAVE_LINUX_FIEMAP_H].
21322 * tests/file_ioctl.c (main): Allocate struct fiemap using tail_alloc.
21324 tests/file_ioctl.c: fix build on systems without <linux/fiemap.h>
21428 file_ioctl.c: fix build on systems without <linux/fiemap.h>
21429 * configure.ac (AC_CHECK_HEADERS): Add linux/fiemap.h.
21430 * file_ioctl.c: Do not include <linux/fiemap.h> and xlat/fiemap_*.h
21442 * file_ioctl.c: Include <linux/fiemap.h>, "xlat/fiemap_flags.h",
/external/e2fsprogs/debugfs/
DMakefile.in335 $(top_srcdir)/lib/ext2fs/fiemap.h $(srcdir)/../misc/create_inode.h \
/external/e2fsprogs/debian/
Dchangelog1279 fiemap ioctl.
/external/e2fsprogs/
DRELEASE-NOTES2762 Fix filefrag progam so it correctly checks for errors from the fiemap ioctl.