Lines Matching refs:cname
52 * o case-insensitivity is gone from cname
339 * This only gets called from cname().
404 * The final movecwd in cname failed, possibly with EPERM or ENOENT. We:
409 * AFPERR_NOOBJ: the dir was there when we stated it in cname, so we have a race
434 LOG(log_debug, logtype_afpd, "cname('%s') {path-from-dir: AFPERR_ACCESS. curdir:'%s', path:'%s'}",
744 static char cname[MAXPATHLEN];
760 path->u_name = cname;
790 strlcpy(cname, de->d_name, sizeof(cname));
791 path->u_name = cname;
809 cname[0] = 0;
1168 struct path *cname(struct vol *vol, struct dir *dir, char **cpath)
1221 LOG(log_debug, logtype_afpd, "cname(did:%u): failed to chdir to '%s'",
1259 LOG(log_error, logtype_afpd, "cname('%s'): error from cname_mtouname", path);
1268 LOG(log_info, logtype_afpd, "cname: illegal path: '%s'", ret.u_name);
1334 LOG(log_info, logtype_afpd, "cname: special file: '%s'", ret.u_name);
1345 LOG(log_error, logtype_afpd, "cname(did:%u, name:'%s', cwd:'%s'): failed to add dir",
1354 LOG(log_debug, logtype_afpd, "cname(cwd:'%s'): failed to chdir to new subdir '%s': %s",
1833 if (NULL == ( path = cname( vol, dir, &ibuf )) ) {
2365 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) {
2372 /* cname was able to move curdir to it! */
2805 * there's a pb again with case but move it to cname
2832 if (NULL == ( path = cname( vol, parentdir, &ibuf )) ) {