Lines Matching refs:directory
30 #include <atalk/directory.h>
37 #include "directory.h"
51 * The directory cache caches directories and files(!). The main reason for having the cache
53 * we have to calculate the location of eg directory with CNID 30, which is located in a dir with
57 * a struct dir is initialized, the fullpath to the directory is stored there.
59 * In order to speed up the CNID query for files too, which eg happens when a directory is enumerated,
63 * The most frequent codepatch that leads to caching is directory enumeration (cf enumerate.c):
64 * - if a element is a directory:
88 * 2) its a directory and an object has been created therein
289 * @brief Search the dircache via a CNID for a directory
291 * Found cache entries are expunged if both the parent directory st_ctime and the objects
299 * (2) we can then use d_fullpath to stat the directory
302 * @param cnid (r) CNID of the directory to search
324 LOG(log_debug, logtype_afpd, "dircache(cnid:%u): {not a directory:\"%s\"}",
359 * Found cache entries are expunged if both the parent directory st_ctime and the objects
363 * @param dir (r) directory
434 * @param dir (r) pointer to parrent directory
584 * It initializes a hashtable which we use to store a directory cache in.
621 /* As long as directory.c hasn't got its own initializer call, we do it for it */
661 LOG(log_warning, logtype_afpd, "Dumping directory cache...");