Lines Matching refs:upath
597 char *upath = NULL, *mpath;
657 if ((upath = cnid_resolve(vol->v_cdb, &cnid, buffer, buflen)) == NULL) {
662 if ((upath = strdup(upath)) == NULL) { /* 3 */
684 || bcatcstr(fullpath, upath) != BSTR_OK) {
717 if ( (mpath = utompath(vol, upath, did, utf8)) == NULL ) {
724 if ((ret = dir_new(mpath, upath, vol, pdid, did, fullpath, &st)) == NULL) { /* 6 */
725 LOG(log_error, logtype_afpd, "dirlookup(did: %u) {%s, %s}: %s", ntohl(did), mpath, upath, strerror(errno));
737 if (upath) free(upath);
1544 char *upath = s_path->u_name;
1559 if ( !ad_metadata( upath, ADFLAGS_CREATE|ADFLAGS_DIR, &ad) ) {
1565 upath,
1682 else if ((ret = for_each_dirent(vol, upath, NULL,NULL)) >= 0) {
1694 else if ((ret = for_each_dirent(vol, upath, NULL,NULL)) >= 0) {
1719 accessmode(vol, upath, &ma, dir , st);
1755 accessmode(vol, upath, &ma, dir, st);
1884 char *upath;
1901 upath = path->u_name;
1952 if (dir_rx_set(mpriv) && setdirmode( vol, upath, mpriv) < 0 ) {
1983 if ( setdirunixmode(vol, upath, upriv) < 0 ) {
2006 if (ad_open_metadata( upath, ADFLAGS_DIR, O_CREAT, &ad) < 0) {
2101 if ( setdirowner(vol, upath, ntohl(owner), -1 ) < 0 ) {
2109 if ( setdirowner(vol, upath, -1, ntohl(group) ) < 0 ) {
2124 if (!dir_rx_set(mpriv) && setdirmode( vol, upath, mpriv) < 0 ) {
2146 if ( setdirowner(vol, upath, -1, ntohl(group) ) < 0 ) {
2151 if ( upriv_bit && setdirunixmode(vol, upath, upriv) < 0 ) {
2179 utime(upath, &ut);
2344 char *upath;
2391 upath = s_path->u_name;
2393 if (AFP_OK != (err = netatalk_mkdir(vol, upath))) {