• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/

Lines Matching refs:v_path

741     if (!( volume->v_path = (char *)malloc( strlen( path ) + 1 )) ) {
750 strcpy( volume->v_path, path );
760 LOG(log_debug, logtype_afpd, "creatvol(\"%s\"): disabling ACL support", volume->v_path);
1383 free(vol->v_path);
1559 vol->v_path, vol->v_tm_used);
1565 EC_NULL( dir = opendir(vol->v_path) );
1571 EC_NULL_LOG( infoplist = bformat("%s/%s/%s", vol->v_path, entry->d_name, "Info.plist") );
1576 EC_NULL_LOG( bandsdir = bformat("%s/%s/%s/", vol->v_path, entry->d_name, "bands") );
1597 LOG(log_debug, logtype_afpd, "getused(\"%s\"): %" PRIu64 " bytes", vol->v_path, vol->v_tm_used);
1673 (void)fce_register_tm_size(vol->v_path, vol->v_tm_used + vol->v_appended);
1719 if ( ad_open_metadata( vol->v_path, ADFLAGS_DIR, O_CREAT, &ad) < 0 ) {
1724 slash = strrchr( vol->v_path, '/' );
1728 slash = vol->v_path;
1771 ((utime(vol->v_path, NULL) < 0) && (errno == EROFS))) {
1917 if ( stat( vol->v_path, &st ) < 0 ) {
2039 if ( stat( volume->v_path, &st ) < 0 ) {
2041 volume->v_path, strerror(errno) );
2047 accessmode(volume, volume->v_path, &ma, NULL, &st);
2086 LOG(log_error, logtype_afpd, "afp_getsrvrparms(%s): gettimeofday: %s", volume->v_path, strerror(errno) );
2143 volume->v_path, volume->v_cnidscheme);
2167 volume->v_path, volume->v_cnidscheme);
2172 volume->v_cdb = cnid_open(volume->v_path,
2182 volume->v_path, volume->v_cnidscheme);
2184 volume->v_path);
2186 volume->v_path);
2188 volume->v_cdb = cnid_open (volume->v_path, volume->v_umask, "tdb", flags, NULL, NULL);
2234 if ((sys_setxattr(vol->v_path, eaname, eacontent, 4, 0)) == 0) {
2235 sys_removexattr(vol->v_path, eaname);
2328 LOG(log_error, logtype_afpd, "afp_openvol(%s): root preexec : %d", volume->v_path, ret );
2339 LOG(log_error, logtype_afpd, "afp_openvol(%s): preexec : %d", volume->v_path, ret );
2344 if ( stat( volume->v_path, &st ) < 0 ) {
2348 if ( chdir( volume->v_path ) < 0 ) {
2354 LOG(log_error, logtype_afpd, "afp_openvol(%s): volume pathlen too long", volume->v_path);
2360 if ((volume->v_path = realpath(path, NULL)) == NULL)
2363 if ((volume->v_path = malloc(MAXPATHLEN+1)) == NULL)
2365 if (realpath(path, volume->v_path) == NULL) {
2366 free(volume->v_path);
2371 if ((tmp = strdup(volume->v_path)) == NULL) {
2372 free(volume->v_path);
2375 free(volume->v_path);
2376 volume->v_path = tmp;
2417 bfromcstr(volume->v_path),
2421 LOG(log_error, logtype_afpd, "afp_openvol(%s): malloc: %s", volume->v_path, strerror(errno) );
2431 volume->v_path, volume->v_cnidscheme);
2459 volume->v_path);
2533 if ( chdir( ovol->v_path ) == 0 ) {
2649 if ( !stat( vol->v_path, &st ) && vol->v_mtime != st.st_mtime ) {
2666 LOG(log_error, logtype_afpd, "setvoltime(%s): gettimeofday: %s", vol->v_path, strerror(errno) );
2669 if( utime( vol->v_path, NULL ) < 0 ) {
2736 if ( ad_open( vol->v_path, ADFLAGS_HF|ADFLAGS_DIR, O_RDWR,
2792 p = (char *) malloc ( strlen(vol->v_path)+strlen(folder->name)+2);
2804 strcpy(p, vol->v_path);
2820 LOG(log_debug, logtype_afpd,"Creating '%s' failed in %s: %s", p, vol->v_path, strerror(errno));