Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
Dfilefrag.c211 struct fiemap *fiemap = (struct fiemap *)buf; in filefrag_fiemap() local
212 struct fiemap_extent *fm_ext = &fiemap->fm_extents[0]; in filefrag_fiemap()
214 int count = (sizeof(buf) - sizeof(*fiemap)) / in filefrag_fiemap()
225 memset(fiemap, 0, sizeof(struct fiemap)); in filefrag_fiemap()
235 fiemap->fm_length = ~0ULL; in filefrag_fiemap()
236 fiemap->fm_flags = flags; in filefrag_fiemap()
237 fiemap->fm_extent_count = count; in filefrag_fiemap()
238 rc = ioctl(fd, FS_IOC_FIEMAP, (unsigned long) fiemap); in filefrag_fiemap()
246 fiemap->fm_flags); in filefrag_fiemap()
253 if (fiemap->fm_mapped_extents == 0) in filefrag_fiemap()
[all …]
De4defrag.c497 struct fiemap fiemap_buf; in file_frag_count()
502 memset(&fiemap_buf, 0, sizeof(struct fiemap)); in file_frag_count()
794 struct fiemap *fiemap_buf = NULL; in get_file_extents()
806 fie_buf_size = sizeof(struct fiemap) + ext_buf_size; in get_file_extents()
Dcreate_inode.c503 struct fiemap *fiemap_buf; in try_fiemap_copy()
511 fie_buf_size = sizeof(struct fiemap) + ext_buf_size; in try_fiemap_copy()
DMakefile.in807 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h
833 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
/external/strace/tests/
Dbtrfs.c1352 struct fiemap *fiemap; in btrfs_test_ino_path_ioctls() local
1393 size = sizeof(*fiemap) + 2 * sizeof(fiemap->fm_extents[0]); in btrfs_test_ino_path_ioctls()
1394 fiemap = malloc(size); in btrfs_test_ino_path_ioctls()
1395 if (!fiemap) in btrfs_test_ino_path_ioctls()
1397 memset(fiemap, 0, size); in btrfs_test_ino_path_ioctls()
1399 fiemap->fm_length = sizeof(buf); in btrfs_test_ino_path_ioctls()
1400 fiemap->fm_extent_count = 2; in btrfs_test_ino_path_ioctls()
1406 fiemap->fm_start, fiemap->fm_length); in btrfs_test_ino_path_ioctls()
1407 prfl_btrfs(fiemap_flags, fiemap->fm_flags, "FIEMAP_FLAG_???"); in btrfs_test_ino_path_ioctls()
1408 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-mx32/
Dbtrfs.c1352 struct fiemap *fiemap; in btrfs_test_ino_path_ioctls() local
1393 size = sizeof(*fiemap) + 2 * sizeof(fiemap->fm_extents[0]); in btrfs_test_ino_path_ioctls()
1394 fiemap = malloc(size); in btrfs_test_ino_path_ioctls()
1395 if (!fiemap) in btrfs_test_ino_path_ioctls()
1397 memset(fiemap, 0, size); in btrfs_test_ino_path_ioctls()
1399 fiemap->fm_length = sizeof(buf); in btrfs_test_ino_path_ioctls()
1400 fiemap->fm_extent_count = 2; in btrfs_test_ino_path_ioctls()
1406 fiemap->fm_start, fiemap->fm_length); in btrfs_test_ino_path_ioctls()
1407 prfl_btrfs(fiemap_flags, fiemap->fm_flags, "FIEMAP_FLAG_???"); in btrfs_test_ino_path_ioctls()
1408 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.c1352 struct fiemap *fiemap; in btrfs_test_ino_path_ioctls() local
1393 size = sizeof(*fiemap) + 2 * sizeof(fiemap->fm_extents[0]); in btrfs_test_ino_path_ioctls()
1394 fiemap = malloc(size); in btrfs_test_ino_path_ioctls()
1395 if (!fiemap) in btrfs_test_ino_path_ioctls()
1397 memset(fiemap, 0, size); in btrfs_test_ino_path_ioctls()
1399 fiemap->fm_length = sizeof(buf); in btrfs_test_ino_path_ioctls()
1400 fiemap->fm_extent_count = 2; in btrfs_test_ino_path_ioctls()
1406 fiemap->fm_start, fiemap->fm_length); in btrfs_test_ino_path_ioctls()
1407 prfl_btrfs(fiemap_flags, fiemap->fm_flags, "FIEMAP_FLAG_???"); in btrfs_test_ino_path_ioctls()
1408 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
45 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap) argument
DMakefile.in1378 $(srcdir)/fiemap.h $(top_srcdir)/misc/create_inode.h \
/external/kernel-headers/original/uapi/linux/
Dfiemap.h28 struct fiemap { struct
Dfs.h205 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/external/strace/
Dfile_ioctl.c200 struct fiemap args; in file_ioctl()
Dconfigure.ac399 linux/fiemap.h
Dconfig.h.in755 /* Define to 1 if you have the <linux/fiemap.h> header file. */
DChangeLog28866 tests/btrfs.c: fix build on systems without <linux/btrfs.h> or <linux/fiemap.h>
28869 that use struct fiemap if [!HAVE_LINUX_FIEMAP_H].
28884 * tests/file_ioctl.c (main): Allocate struct fiemap using tail_alloc.
28886 tests/file_ioctl.c: fix build on systems without <linux/fiemap.h>
28990 file_ioctl.c: fix build on systems without <linux/fiemap.h>
28991 * configure.ac (AC_CHECK_HEADERS): Add linux/fiemap.h.
28992 * file_ioctl.c: Do not include <linux/fiemap.h> and xlat/fiemap_*.h
29004 * file_ioctl.c: Include <linux/fiemap.h>, "xlat/fiemap_flags.h",
/external/f2fs-tools/tools/f2fs_io/
Df2fs_io.c412 CMD(fiemap),
/external/syzkaller/sys/linux/
Dsys.txt32 include <linux/fiemap.h>
167 ioctl$fiemap(fd fd, cmd const[FS_IOC_FIEMAP], v ptr[in, fiemap])
901 fiemap {
/external/e2fsprogs/debugfs/
DMakefile.in355 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
/external/e2fsprogs/doc/RelNotes/
Dv1.41.txt655 fiemap ioctl.
/external/e2fsprogs/debian/
Dchangelog1650 fiemap ioctl.