Searched refs:volpath (Results 1 - 13 of 13) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/tdb/
H A Dcnid_tdb_close.c17 free(cdb->volpath);
H A Dcnid_tdb_open.c28 static struct _cnid_db *cnid_tdb_new(const char *volpath) argument
36 if ((cdb->volpath = strdup(volpath)) == NULL) {
42 free(cdb->volpath);
151 free(cdb->volpath);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/
H A Dcnid.c68 * @param volpath (r) volume path that path is a subdir of (has been computed in volinfo funcs)
72 bstring rel_path_in_vol(const char *path, const char *volpath) argument
80 if (path == NULL || volpath == NULL)
119 * volpath: /Volume/netatalk/
122 int len = strlen(volpath);
123 if (volpath[len-1] != '/')
124 /* in case volpath has no trailing slash */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/last/
H A Dcnid_last.c76 free(cdb->volpath);
110 static struct _cnid_db *cnid_last_new(const char *volpath) argument
118 if ((cdb->volpath = strdup(volpath)) == NULL) {
124 free(cdb->volpath);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/cdb/
H A Dcnid_cdb_close.c34 free(cdb->volpath);
H A Dcnid_cdb_open.c126 static struct _cnid_db *cnid_cdb_new(const char *volpath) argument
144 if ((cdb->volpath = strdup(volpath)) == NULL) {
391 if (cdb->volpath != NULL)
392 free(cdb->volpath);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/cnid_dbd/
H A Dcmd_dbd.c224 char *volpath; local
293 volpath = argv[optind];
313 if (loadvolinfo(volpath, &volinfo) == -1) {
314 dbd_log( LOGSTD, "Not a Netatalk volume at '%s', no .volinfo file at '%s/.AppleDesktop/.volinfo' or unknown volume options", volpath, volpath);
341 /* Put "/.AppleDB" at end of volpath, get path from volinfo file */
385 dbd_log( LOGDEBUG, "Removing old database of volume: '%s'", volpath);
H A Dcnid_metad.c164 char *volpath = volinfo->v_path; local
166 LOG(log_debug, logtype_cnid, "maybe_start_dbd: Volume: \"%s\"", volpath);
265 ret = execlp(dbdpn, dbdpn, "-d", volpath, buf1, buf2, logconfig, NULL);
267 ret = execlp(dbdpn, dbdpn, volpath, buf1, buf2, logconfig, NULL);
437 char volpath[MAXPATHLEN + 1]; local
608 actual_len = readt(rqstfd, volpath, len, 1, 5);
617 volpath[len] = '\0';
620 if ((volinfo = allocvolinfo(volpath)) == NULL) {
622 volpath, strerror(errno));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/ad/
H A Dad_find.c149 bstring volpath = bfromcstr(vol.volinfo.v_path); local
150 BSTRING_STRIP_SLASH(volpath);
162 bstrListPush(pathlist, volpath);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/include/atalk/
H A Dcnid.h53 char *volpath; /* Volume path this particular CNID db refers to. */ member in struct:_cnid_db
106 struct _cnid_db *cnid_open(const char *volpath,
H A Dutil.h206 extern bstring rel_path_in_vol(const char *path, const char *volpath);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/
H A Dcnid.c93 struct _cnid_db *cnid_open(const char *volpath, mode_t mask, char *type, int flags, argument
121 if (cnid_dir(volpath, mask) < 0) {
130 struct cnid_open_args args = {volpath, mask, flags, cnidsrv, cnidport};
142 LOG(log_error, logtype_afpd, "Cannot open CNID db at [%s].", volpath);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/dbd/
H A Dcnid_dbd.c441 static struct _cnid_db *cnid_dbd_new(const char *volpath) argument
448 if ((cdb->volpath = strdup(volpath)) == NULL) {
506 if (cdb->volpath != NULL) {
507 free(cdb->volpath);
535 free(cdb->volpath);

Completed in 190 milliseconds