Home
last modified time | relevance | path

Searched refs:fpath (Results 1 – 7 of 7) sorted by relevance

/dragonfly/sbin/hammer/
H A Dcmd_cleanup.c602 char *fpath; in migrate_snapshots() local
613 free(fpath); in migrate_snapshots()
630 if (fpath) { in migrate_one_snapshot()
651 ptr = fpath; in migrate_one_snapshot()
864 char *fpath; in check_softlinks() local
913 char *fpath; in cleanup_softlinks() local
929 fpath); in cleanup_softlinks()
1031 while (*fpath && *fpath != '-' && *fpath != '.') in check_expired()
1032 ++fpath; in check_expired()
1033 if (*fpath) in check_expired()
[all …]
/dragonfly/lib/libhammer/
H A Dcompat.c55 char *snapshots_path, *fpath; in libhammer_compat_old_snapcount() local
79 asprintf(&fpath, "%s/%s", snapshots_path, in libhammer_compat_old_snapcount()
81 if (lstat(fpath, &st) == 0 && in libhammer_compat_old_snapcount()
84 free(fpath); in libhammer_compat_old_snapcount()
/dragonfly/usr.sbin/boot0cfg/
H A Dboot0cfg.c91 const char *bpath, *fpath; in main() local
99 fpath = NULL; in main()
119 fpath = optarg; in main()
153 if (fpath) in main()
154 write_mbr(fpath, O_CREAT | O_TRUNC, mbr, mbr_size); in main()
/dragonfly/bin/cpdup/
H A Dcpdup.c1394 char *fpath; in ScanDir() local
1397 fpath = mprintf("%s", UseCpFile); in ScanDir()
1400 fpath = mprintf("%s/%s", path, UseCpFile); in ScanDir()
1427 free(fpath); in ScanDir()
1641 char *fpath = NULL; in CheckList() local
1655 if (fnmatch(node->no_Name, fpath, 0) == 0) { in CheckList()
1656 free(fpath); in CheckList()
1664 hv = shash(fpath); in CheckList()
1668 if (strcmp(fpath, node->no_Name) == 0) { in CheckList()
1669 free(fpath); in CheckList()
[all …]
H A Dhcproto.c623 char *fpath; in rc_scandir() local
651 fpath = mprintf("%s/%s", path, den->d_name); in rc_scandir()
652 if (lstat(fpath, &st) == 0) in rc_scandir()
656 free(fpath); in rc_scandir()
/dragonfly/usr.bin/calendar/
H A Dio.c153 char fpath[MAXPATHLEN]; in cal_fopen() local
156 snprintf(fpath, sizeof(fpath), "%s/%s", in cal_fopen()
158 if ((fp = fopen(fpath, "r")) != NULL) in cal_fopen()
/dragonfly/sys/vfs/dirfs/
H A Ddirfs_vnops.c951 char *fpath, *fpathfree; in dirfs_nrename() local
979 fpath = dirfs_node_absolute_path_plus(dmp, fdnp, in dirfs_nrename()
981 error = rename(fpath, tpath); in dirfs_nrename()