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/
Dlinuxioctl.h49 # define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
Dsyslxcom.c181 struct fiemap *fm; in sectmap_fie()
191 fm = alloca(sizeof(struct fiemap) in sectmap_fie()
/external/kernel-headers/original/uapi/linux/
Dfiemap.h27 struct fiemap { struct
Dfs.h247 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/external/syslinux/libinstaller/linux/
Dfiemap.h27 struct fiemap { struct
/external/strace/
Dfile_ioctl.c199 struct fiemap args; in file_ioctl()
Dconfigure.ac368 linux/fiemap.h
Dconfig.h.in714 /* Define to 1 if you have the <linux/fiemap.h> header file. */
DChangeLog14222 tests/btrfs.c: fix build on systems without <linux/btrfs.h> or <linux/fiemap.h>
14225 that use struct fiemap if [!HAVE_LINUX_FIEMAP_H].
14240 * tests/file_ioctl.c (main): Allocate struct fiemap using tail_alloc.
14242 tests/file_ioctl.c: fix build on systems without <linux/fiemap.h>
14346 file_ioctl.c: fix build on systems without <linux/fiemap.h>
14347 * configure.ac (AC_CHECK_HEADERS): Add linux/fiemap.h.
14348 * file_ioctl.c: Do not include <linux/fiemap.h> and xlat/fiemap_*.h
14360 * 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.