Searched refs:FIBMAP (Results 1 - 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/fs/mongo/
H A Dmap5.c44 while (ioctl(fd, FIBMAP, &block) == 0) {
72 perror("FIBMAP failed");
/external/f2fs-tools/tools/
H A Dfibmap.c43 #ifndef FIBMAP
44 #define FIBMAP _IO(0x00, 1) /* bmap access */ macro
186 if (ioctl(fd, FIBMAP, &blknum) < 0) {
188 perror("ioctl(FIBMAP)");
199 if (ioctl(fd, FIBMAP, &blknum) < 0) {
201 perror("ioctl(FIBMAP)");
/external/e2fsprogs/util/
H A Dcopy_sparse.c45 #define FIBMAP _IO(0x00,1) /* bmap access */ macro
54 ret = ioctl(fd, FIBMAP, &b);
57 fprintf(stderr, "No permission to use FIBMAP ioctl; must have root privileges\n");
60 perror("FIBMAP");
/external/e2fsprogs/misc/
H A Dfilefrag.c57 int force_bmap; /* force use of FIBMAP instead of FIEMAP */
66 #define FIBMAP _IO(0x00, 1) /* bmap access */ macro
111 ret = ioctl(fd, FIBMAP, &b); /* FIBMAP takes pointer to integer */
476 if (force_bmap || rc < 0) { /* FIEMAP failed, try FIBMAP instead */
481 fprintf(stderr, "%s: FIBMAP unsupported\n",
485 "%s: FIBMAP requires root privileges\n",
488 fprintf(stderr, "%s: FIBMAP error: %s",
503 /* count, and thus expected, only set for indirect FIBMAP'd files */
/external/kernel-headers/original/uapi/linux/
H A Dfs.h236 #define FIBMAP _IO(0x00,1) /* bmap access */ macro
/external/syslinux/libinstaller/
H A Dsyslxcom.c251 /* Legacy FIBMAP based mapping */
269 if (ioctl(fd, FIBMAP, &blk))

Completed in 222 milliseconds