Searched defs:tsname (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_patch_root.c | 50 char *tsname = NULL; local 77 if (meta_systemfile_copy(sname, 1, 0, doit, verbose, &tsname, &tsfp, 82 tsname, tsfp, ismeta, doit, verbose, ep) != 0) { 101 (void) mdsyserror(ep, errno, tsname); 122 if (rename(tsname, sname) != 0) { 126 Free(tsname); 127 tsname = NULL; 147 if (tsname != NULL) { 149 (void) unlink(tsname); 150 Free(tsname); [all...] |
H A D | meta_db.c | 1124 filediff(char *tsname, char *sname) argument 1131 if (stat(tsname, &sbuf) != 0) 1146 fd = open(tsname, O_RDONLY); 1183 char *tsname = NULL; local 1202 if (meta_systemfile_copy(sname, 0, 1, 1, 0, &tsname, &tsfp, ep) != 0) { 1215 if (meta_systemfile_append_mddb(cname, sname, tsname, tsfp, 1, 0, 0, 1220 if (filediff(tsname, sname) == 0) { 1227 (void) mdsyserror(ep, errno, tsname); 1237 if (rename(tsname, sname) != 0 && errno != EXDEV) { 1243 if ((tsfp = fopen(tsname, " [all...] |
Completed in 23 milliseconds