Lines Matching defs:cname
52 * o case-insensitivity is gone from cname
339 * This only gets called from cname().
410 * The final movecwd in cname failed, possibly with EPERM or ENOENT. We:
415 * AFPERR_NOOBJ: the dir was there when we stated it in cname, so we have a race
440 LOG(log_debug, logtype_afpd, "cname('%s') {path-from-dir: AFPERR_ACCESS. curdir:'%s', path:'%s'}",
763 static char cname[MAXPATHLEN];
779 path->u_name = cname;
809 strlcpy(cname, de->d_name, sizeof(cname));
810 path->u_name = cname;
828 cname[0] = 0;
1187 struct path *cname(struct vol *vol, struct dir *dir, char **cpath)
1240 LOG(log_debug, logtype_afpd, "cname(did:%u): failed to chdir to '%s'",
1278 LOG(log_error, logtype_afpd, "cname('%s'): error from cname_mtouname", path);
1287 LOG(log_info, logtype_afpd, "cname: illegal path: '%s'", ret.u_name);
1353 LOG(log_info, logtype_afpd, "cname: special file: '%s'", ret.u_name);
1364 LOG(log_error, logtype_afpd, "cname(did:%u, name:'%s', cwd:'%s'): failed to add dir",
1373 LOG(log_debug, logtype_afpd, "cname(cwd:'%s'): failed to chdir to new subdir '%s': %s",
1848 if (NULL == ( path = cname( vol, dir, &ibuf )) ) {
2380 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) {
2387 /* cname was able to move curdir to it! */
2820 * there's a pb again with case but move it to cname
2847 if (NULL == ( path = cname( vol, parentdir, &ibuf )) ) {