Lines Matching refs:curdir
782 curdir->d_offcnt++;
785 afp_bandsdid_IncreaseOffcnt(curdir->d_did);
1338 p = ctoupath( s_vol, curdir, newname );
1377 /* newname is always only a filename so curdir *is* its
1380 if (NULL == (upath = mtoupath(d_vol, newname, curdir->d_did, utf8_encoding()))) {
1389 curdir->d_offcnt++;
1392 afp_bandsdid_IncreaseOffcnt(curdir->d_did);
1629 vol: not NULL delete cnid entry. then we are in curdir and file is a only filename
1725 if (checkAttrib && (id = cnid_get(vol->v_cdb, curdir->d_did, file, strlen(file)))) {
1898 setdiroffcnt(curdir, &st, ret);
2002 if (AFP_OK != (err = getfilparams(vol, bitmap, &path , curdir,
2202 sdir = curdir;
2241 if ((curdir == sdir) && strcmp(spath, path->m_name) == 0) {
2265 did = cnid_lookup(vol->v_cdb, &destst, curdir->d_did, upath, dlen = strlen(upath));
2285 of_rename(vol, s_of, sdir, spath, curdir, temp);
2290 of_rename(vol, d_of, curdir, path->m_name, sdir, spath);
2295 of_rename(vol, s_of, curdir, temp, curdir, path->m_name);
2306 cnid_update(vol->v_cdb, did, &srcst, curdir->d_did,upath, dlen) < 0))
2328 if (did && ad_setid(adsp, srcst.st_dev, srcst.st_ino, did, curdir->d_did, vol->v_stamp))
2378 of_rename(vol, s_of, curdir, upath, curdir, temp);
2383 of_rename(vol, d_of, sdir, spath, curdir, path->m_name);
2388 of_rename(vol, s_of, curdir, temp, sdir, spath);