Lines Matching defs:dir
157 /* This is the maximal length of a single entry for a file/dir in the reply
158 block if all bits in the file/dir bitmap are set: header(4) + params(104) +
172 struct dir *dir;
205 if (NULL == ( dir = dirlookup( vol, did )) ) {
262 o_path = cname( vol, dir, &ibuf );
272 /* it's a file or it's a dir and extendir() was unable to chdir in it */
289 /* if dir was in the cache we don't have the inode */
356 * Somebody else plays with the dir, well it can be us with
377 * If a fil/dir is not a dir, it's a file. This is slightly
386 if ((dir = dircache_search_by_name(vol, curdir, s_path.u_name, len)) == NULL) {
395 if ((dir = dir_add(vol, curdir, &s_path, len)) == NULL) {
396 LOG(log_error, logtype_afpd, "enumerate(vid:%u, did:%u, name:'%s'): error adding dir: '%s'",
410 if ((ret = getdirparams(vol, dbitmap, &s_path, dir, data + header , &esz)) != AFP_OK)