Home
last modified time | relevance | path

Searched refs:mountPt (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/kernel/fs/dmapi/
Ddm_impl.h136 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()
Dmount.c42 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()
Dobjref.c42 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()
Dtoken.c43 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()
Devent_sn.c45 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()
Devent_us.c42 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()
Devent_an.c45 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 …]
Dpmr_post.c45 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()
Dhandle.c60 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 …]
Ddm_test.h164 int dmimpl_mount(char **mountPt, char **deviceNm);
Dright.c44 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()
Dmmap.c45 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()
Devent_am.c44 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()
Dinvis.c44 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()
Dpmr_pre.c50 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);
Ddisp.c47 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()
Devent_sd.c51 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()
Devent.c46 char mountPt[FILENAME_MAX]; variable