• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/

Lines Matching defs:dir

71     struct dir  *dir;
86 if (( dir = dirlookup( vol, did )) == NULL ) {
93 dir->d_m_name, strerror(errno));
144 struct dir *dir;
166 if (NULL == ( dir = dirlookup( vol, did )) ) {
177 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) {
182 ntohs(vid), ntohl(dir->d_did), fbitmap, dbitmap,
187 /* it's a dir and it should be there
204 dir = s_path->d_dir;
205 if (!dir)
208 ret = getdirparams(vol, dbitmap, s_path, dir,
239 struct dir *dir;
259 if (NULL == ( dir = dirlookup( vol, did )) ) {
267 if (NULL == ( path = cname( vol, dir, &ibuf ))) {
273 /* it's a dir and it should be there
330 struct dir *sdir,
467 /* renaming may have moved the file/dir across a filesystem */
474 struct dir *cacheddir = dircache_search_by_did(vol, id);
503 struct dir *sdir;
542 /* curdir parent dir, need to move sdir back */
550 /* move to destination dir */
563 return AFP_OK; /* newname == oldname same dir */
578 struct dir *dir;
599 if (NULL == ( dir = dirlookup( vol, did )) ) {
603 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) {
638 struct dir *cachedfile;
639 if ((cachedfile = dircache_search_by_name(vol, dir, upath, strlen(upath)))) {
657 char *absupath(const struct vol *vol, struct dir *dir, char *u)
662 if (u == NULL || dir == NULL || vol == NULL)
665 if ((path = bstrcpy(dir->d_fullpath)) == NULL)
682 char *ctoupath(const struct vol *vol, struct dir *dir, char *name)
684 if (vol == NULL || dir == NULL || name == NULL)
686 return absupath(vol, dir, mtoupath(vol, name, dir->d_did, utf8_encoding()));
693 struct dir *sdir, *ddir;