• 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:upath

63     char    *upath,
79 if (stat(upath, &st ) < 0) {
80 LOG(log_error, logtype_afpd, "Could not stat %s: %s", upath, strerror(errno));
84 adpath = vol->vfs->ad_path( upath, ADFLAGS_HF );
101 if (ochown(upath, sb.st_uid, sb.st_gid, vol_syml_opt(vol)) < 0)
105 upath, strerror(errno));
108 else if (ochmod(upath,
114 upath, strerror(errno));
342 char *upath;
428 if (NULL == (upath = mtoupath(vol, newname, curdir->d_did, utf8_encoding()))){
432 path.u_name = upath;
434 if (0 != (rc = check_name(vol, upath))) {
445 if (stat(upath, st) == 0 || caseenumerate(vol, &path, curdir) == 0) {
453 } else if (stat(upath, st ) == 0 || caseenumerate(vol, &path, curdir) == 0) {
464 rc = renamefile(vol, sdir_fd, oldunixname, upath, newname, adp );
469 rc = renamedir(vol, sdir_fd, oldunixname, upath, sdir, curdir, newname);
473 if (stat(upath, st) < 0) {
481 LOG(log_warning, logtype_afpd,"Still cached: \"%s/%s\"", getcwdpath(), upath);
486 if (!ad_metadata(upath, adflags, adp)) {
493 cnid_update(vol->v_cdb, id, st, curdir->d_did, upath, strlen(upath));
585 char *upath;
612 upath = s_path->u_name;
636 if ((rc = deletefile(vol, -1, upath, 1)) == AFP_OK) {
644 if ((cachedfile = dircache_search_by_name(vol, dir, upath, strlen(upath)))) {
790 char *upath = mtoupath(vol, newname, pdid, utf8_encoding());
792 if (NULL == upath) {
810 if ((retvalue=matchfile2dirperms (upath, vol, did)) != AFP_OK) {
821 setfilmode(vol, upath, admode, path->st_valid ? &path->st : NULL);
822 vol->vfs->vfs_setfilmode(vol, upath, admode, path->st_valid ? &path->st : NULL);