/external/ltp/testcases/kernel/fs/dmapi/ |
D | dm_impl.h | 136 int dmimpl_mount(char **mountPt, char **deviceNm) { in dmimpl_mount() argument 139 if ((*mountPt = DMOPT_GET("mtpt")) == NULL) { in dmimpl_mount() 143 DMLOG_PRINT(DMLVL_DEBUG, "Mount point is %s\n", *mountPt); in dmimpl_mount() 153 sprintf(options, "dmapi,mtpt=%s", *mountPt); in dmimpl_mount() 155 DMLOG_PRINT(DMLVL_DEBUG, "Mounting %s on %s now...\n", *deviceNm, *mountPt); in dmimpl_mount() 156 return mount(*deviceNm, *mountPt, "jfs", 0, options); in dmimpl_mount()
|
D | mount.c | 42 char *mountPt; variable 93 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 100 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 101 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 693 rc = umount(mountPt); in main()
|
D | objref.c | 42 char *mountPt; variable 90 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 97 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 117 rc = umount(mountPt); in main()
|
D | token.c | 43 char *mountPt; variable 93 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 100 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 631 rc = umount(mountPt); in main()
|
D | event_sn.c | 45 char *mountPt; variable 106 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 113 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 114 sprintf(DummyFile2, "%s/%s", mountPt, DUMMY_FILE2); in main() 115 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 116 sprintf(DummySubdir2, "%s/%s", mountPt, DUMMY_SUBDIR2); in main() 117 sprintf(DummyLink, "%s/%s", mountPt, DUMMY_LINK); in main() 1480 rc = umount(mountPt); in main()
|
D | event_us.c | 42 char *mountPt; variable 104 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 117 umount(mountPt); in main() 785 rc = umount(mountPt); in main()
|
D | event_an.c | 45 char *mountPt; variable 112 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 119 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 120 sprintf(DummyFile2, "%s/%s", mountPt, DUMMY_FILE2); in main() 121 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 122 sprintf(DummySubdir2, "%s/%s", mountPt, DUMMY_SUBDIR2); in main() 123 sprintf(DummyLink, "%s/%s", mountPt, DUMMY_LINK); in main() 124 sprintf(DummySubdir2File, "%s/%s", mountPt, DUMMY_SUBDIR2_FILE); in main() 125 sprintf(DummySubdir2Subdir, "%s/%s", mountPt, in main() 144 rc = dm_path_to_fshandle(mountPt, &fshanp, &fshlen); in main() [all …]
|
D | pmr_post.c | 45 char *mountPt; variable 110 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 119 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 120 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 158 rc = umount(mountPt); in main()
|
D | handle.c | 60 char *mountPt; variable 78 if ((mountPt = DMOPT_GET("mtpt")) == NULL) { in main() 83 DMLOG_PRINT(DMLVL_DEBUG, "Mount point is %s\n", mountPt); in main() 99 if (((rc = dm_path_to_handle(mountPt, &mtpthanp, &mtpthlen)) != 0) in main() 112 mountPt); in main() 115 sprintf(DummySubdirFile, "%s/%s", mountPt, DUMMY_SUBDIR_FILE); in main() 5338 if ((rc = dm_path_to_handle(mountPt, &dirhanp, &dirhlen)) == -1) { in main() 5390 if ((rc = dm_path_to_handle(mountPt, &dirhanp, &dirhlen)) == -1) { in main() 5442 if ((rc = dm_path_to_handle(mountPt, &dirhanp, &dirhlen)) == -1) { in main() 5494 if ((rc = dm_path_to_handle(mountPt, &dirhanp, &dirhlen)) == -1) { in main() [all …]
|
D | dm_test.h | 164 int dmimpl_mount(char **mountPt, char **deviceNm);
|
D | right.c | 44 char *mountPt; variable 94 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 101 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 102 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 141 rc = umount(mountPt); in main()
|
D | mmap.c | 45 char *mountPt; variable 103 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 112 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 113 sprintf(DummyTmp, "%s/%s", mountPt, DUMMY_TMP); in main() 1392 rc = umount(mountPt); in main()
|
D | event_am.c | 44 char *mountPt; variable 106 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 113 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 114 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 127 rc = dm_path_to_fshandle(mountPt, &fshanp, &fshlen); in main() 595 rc = dm_path_to_fshandle(mountPt, &fshanp, &fshlen); in main() 2246 rc = umount(mountPt); in main()
|
D | invis.c | 44 char *mountPt; variable 151 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 160 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 161 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 162 sprintf(DummyTmp, "%s/%s", mountPt, DUMMY_TMP); in main() 2394 rc = umount(mountPt); in main()
|
D | pmr_pre.c | 50 char *mountPt; variable 101 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { 110 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); 111 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); 2441 rc = umount(mountPt);
|
D | disp.c | 47 char *mountPt; variable 101 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 110 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 111 sprintf(DummyFile2, "%s/%s", mountPt, DUMMY_FILE2); in main() 112 sprintf(DummySubdir, "%s/%s", mountPt, DUMMY_SUBDIR); in main() 3888 rc = umount(mountPt); in main()
|
D | event_sd.c | 51 char *mountPt; variable 113 } else if ((rc = dmimpl_mount(&mountPt, &deviceNm)) == -1) { in main() 122 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE); in main() 6970 rc = umount(mountPt); in main()
|
D | event.c | 46 char mountPt[FILENAME_MAX]; variable
|