/system/vold/ |
FileDeviceUtils.cpp | 26 #include <linux/fiemap.h> 35 std::unique_ptr<struct fiemap> alloc_fiemap(uint32_t extent_count); 71 std::unique_ptr<struct fiemap> PathFiemap(const std::string &path, uint32_t extent_count) 83 auto fiemap = alloc_fiemap(extent_count); local 84 if (ioctl(fd.get(), FS_IOC_FIEMAP, fiemap.get()) != 0) { 85 PLOG(ERROR) << "Unable to FIEMAP " << path; 88 auto mapped = fiemap->fm_mapped_extents; 94 return fiemap; 102 std::unique_ptr<struct fiemap> alloc_fiemap(uint32_t extent_count) 104 size_t allocsize = offsetof(struct fiemap, fm_extents[extent_count]) [all...] |
CheckEncryption.cpp | 95 auto fiemap = PathFiemap(needle, max_extents); local 98 for (uint32_t i = 0; i < fiemap->fm_mapped_extents; i++) { 99 auto xt = &(fiemap->fm_extents[i]);
|
secdiscard.cpp | 28 #include <linux/fiemap.h> 48 bool check_fiemap(const struct fiemap &fiemap, const std::string &path); 100 auto fiemap = android::vold::PathFiemap(path, max_extents); local 101 if (!fiemap || !check_fiemap(*fiemap, path)) { 114 for (uint32_t i = 0; i < fiemap->fm_mapped_extents; i++) { 116 range[0] = fiemap->fm_extents[i].fe_physical; 117 range[1] = fiemap->fm_extents[i].fe_length; 127 // Ensure that the FIEMAP covers the file and is OK to discar [all...] |
/bionic/libc/kernel/uapi/linux/ |
fiemap.h | 30 struct fiemap { struct
|
/external/e2fsprogs/lib/ext2fs/ |
fiemap.h | 25 struct fiemap { struct 38 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/external/kernel-headers/original/uapi/linux/ |
fiemap.h | 28 struct fiemap { struct
|
/external/syslinux/libinstaller/linux/ |
fiemap.h | 27 struct fiemap { struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
fiemap.h | 27 struct fiemap { struct
|
/external/e2fsprogs/misc/ |
filefrag.c | 51 #include <ext2fs/fiemap.h> 57 int force_bmap; /* force use of FIBMAP instead of FIEMAP */ 209 struct fiemap *fiemap = (struct fiemap *)buf; local 210 struct fiemap_extent *fm_ext = &fiemap->fm_extents[0]; 212 int count = (sizeof(buf) - sizeof(*fiemap)) / 223 memset(fiemap, 0, sizeof(struct fiemap)); 232 fiemap->fm_length = ~0ULL [all...] |
/external/strace/tests/ |
btrfs.c | 43 # include <linux/fiemap.h> 1190 struct fiemap *fiemap; local [all...] |
/external/strace/tests-m32/ |
btrfs.c | 43 # include <linux/fiemap.h> 1190 struct fiemap *fiemap; local [all...] |
/external/strace/tests-mx32/ |
btrfs.c | 43 # include <linux/fiemap.h> 1190 struct fiemap *fiemap; local [all...] |