Lines Matching defs:path

178  * Create the dumpdates file full path name.
238 * Get the path name from the buffer passed.
240 * Returns the beginning of the path name. The buffer pointer is moved
346 * Print the dump path name to the dumpdates file. It escapes the space,
347 * '\t' and new line characters in the path name. The same characters are
633 * Put the record specified by path, level and backup date to the file.
641 putdumptime(char *path, int level, time_t ddate)
650 if (!path)
654 NDMP_LOG(LOG_DEBUG, "Lbr: [%s][%c][%u]", path, level, ddate);
656 NDMP_LOG(LOG_DEBUG, "[%s][%d][%u]", path, level, ddate);
660 NDMP_LOG(LOG_ERR, "Cannot get dumpdate file path name.");
701 if (strcmp(path, ddp->dd_name))
724 (void) strlcpy(tmpdd.dd_name, path, TLM_MAX_PATH_NAME);
740 * Append the record specified by path, level and backup date to the file.
743 append_dumptime(char *fname, char *path, int level, time_t ddate)
749 if (!fname || !*fname || !path || !*path)
755 fname, path, level, ddate);
758 fname, path, level, ddate);
761 NDMP_LOG(LOG_ERR, "Cannot get dumpdate file path name %s.",
792 (void) strlcpy(tmpdd.dd_name, path, TLM_MAX_PATH_NAME);
810 find_date(dumpdates_t *ddp, char *path, int level, time_t t)
814 strcmp(path, ddp->dd_name) == 0)
822 * Get the dumpdate of the last level backup done on the path.
832 ndmpd_get_dumptime(char *path, int *level, time_t *ddate)
842 if (!path || !level || !ddate)
846 path, *level);
856 (get_zfsvolname(vol, sizeof (vol), path) == 0) &&
914 save = find_date(ddp, path, *level, *ddate);
927 save = find_date(ddp, path, i, *ddate);
949 * specified path in the dumpdates file. If there is a line
950 * for the same path and the same level, the date is updated.
958 ndmpd_put_dumptime(char *path, int level, time_t ddate)
965 NDMP_LOG(LOG_DEBUG, "[%s][%d][%u]", path, level,
971 (get_zfsvolname(vol, sizeof (vol), path) == 0) &&
984 rv = putdumptime(path, level, ddate);
995 ndmpd_append_dumptime(char *fname, char *path, int level, time_t ddate)
1003 path, level, ddate);
1008 (get_zfsvolname(vol, sizeof (vol), path) == 0) &&
1021 rv = append_dumptime(fname, path, level, ddate);