Searched defs:tsname (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_patch_root.c | 53 char *tsname = NULL; local 80 if (meta_systemfile_copy(sname, 1, 0, doit, verbose, &tsname, &tsfp, 85 tsname, tsfp, ismeta, doit, verbose, ep) != 0) { 104 (void) mdsyserror(ep, errno, tsname); 125 if (rename(tsname, sname) != 0) { 129 Free(tsname); 130 tsname = NULL; 150 if (tsname != NULL) { 152 (void) unlink(tsname); 153 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 67 milliseconds