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

67 struct dir  *curdir = &rootParent;
376 if (curdir == NULL) {
377 /* demangle_osx() calls dirlookup() which might have clobbered curdir */
440 LOG(log_debug, logtype_afpd, "cname('%s') {path-from-dir: AFPERR_ACCESS. curdir:'%s', path:'%s'}",
442 cfrombstr(curdir->d_fullpath),
1052 * 4. If it's a request to remove curdir, mark curdir as invalid
1072 if (curdir == dir) /* 4 */
1073 curdir = NULL;
1166 * path from dirname, so eg getdirparams has sth it can chew on. curdir
1176 * return with curdir = dir parent, struct path = dirname
1178 * path. Return with curdir = cnode name parent dir, struct path = filename
1374 cfrombstr(curdir->d_fullpath), cfrombstr(cdir->d_fullpath), strerror(errno));
1384 if (curdir->d_did == DIRDID_ROOT_PARENT) {
1395 LOG(log_debug, logtype_afpd, "came('%s') {end: curdir:'%s', path:'%s'}",
1397 cfrombstr(curdir->d_fullpath),
1418 LOG(log_maxdebug, logtype_afpd, "movecwd: from: curdir:\"%s\", cwd:\"%s\"",
1419 curdir ? cfrombstr(curdir->d_fullpath) : "INVALID", getcwdpath());
1422 curdir = &rootParent;
1440 curdir = vol->v_root;
1455 curdir = dir;
1476 accessmode(current_vol, p, &ma, curdir, NULL);
1490 accessmode(current_vol, path->u_name, &ma, curdir, &path->st);
1525 (".", curdir)
1526 (name, dir) with curdir:name == dir, from afp_enumerate
2029 ad_setname(&ad, cfrombstr(curdir->d_m_name));
2201 /* should we reset curdir ?*/
2387 /* cname was able to move curdir to it! */
2401 curdir->d_offcnt++;
2404 afp_bandsdid_IncreaseOffcnt(curdir->d_did);
2407 if ((dir = dir_add(vol, curdir, s_path, strlen(s_path->u_name))) == NULL) {
2443 * newparent curdir
2508 if ((pdir = dirlookup(vol, curdir->d_pdid)) == NULL) {
2512 fdir = curdir;
2527 cfrombstr(curdir->d_fullpath));
2541 curdir->d_fullpath);
2559 cfrombstr(curdir->d_fullpath));
2567 cfrombstr(curdir->d_fullpath));
2862 memcpy(rbuf, &curdir->d_did, sizeof(curdir->d_did));
2863 *rbuflen = sizeof(curdir->d_did);