Searched refs:tsfp (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_patch_root.c | 51 FILE *tsfp = NULL; local 77 if (meta_systemfile_copy(sname, 1, 0, doit, verbose, &tsname, &tsfp, 82 tsname, tsfp, ismeta, doit, verbose, ep) != 0) { 98 if ((fflush(tsfp) != 0) || 99 (fsync(fileno(tsfp)) != 0) || 100 (fclose(tsfp) != 0)) { 104 tsfp = NULL; 145 if (tsfp != NULL) 146 (void) fclose(tsfp);
|
H A D | meta_db.c | 1185 FILE *tsfp = 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, 1225 if ((fflush(tsfp) != 0) || (fsync(fileno(tsfp)) != 0) || 1226 (fclose(tsfp) != 0)) { 1231 tsfp = NULL; 1243 if ((tsfp = fopen(tsname, "r")) == NULL) 1247 while (fgets(line, sizeof (line), tsfp) != NULL) { 1251 (void) fclose(tsfp); [all...] |
Completed in 23 milliseconds