|
XRootD
|
#include "XrdFfs/XrdFfsDent.hh"
Include dependency graph for XrdFfsDent.cc:Go to the source code of this file.
Classes | |
| struct | XrdFfsDentcache |
Macros | |
| #define | XrdFfsDent_NDENTCACHES 20 |
Functions | |
| void | XrdFfsDent_cache_destroy () |
| int | XrdFfsDent_cache_fill (char *dname, char ***dnarray, int nents) |
| void | XrdFfsDent_cache_init () |
| int | XrdFfsDent_cache_search (char *dname, char *dentname) |
| int | XrdFfsDent_cstr_cmp (const void *a, const void *b) |
| int | XrdFfsDent_dentcache_expired (struct XrdFfsDentcache *cache) |
| void | XrdFfsDent_dentcache_fill (struct XrdFfsDentcache *cache, char *dname, char ***dnarray, int nents) |
| void | XrdFfsDent_dentcache_free (struct XrdFfsDentcache *cache) |
| int | XrdFfsDent_dentcache_invalid (struct XrdFfsDentcache *cache) |
| int | XrdFfsDent_dentcache_search (struct XrdFfsDentcache *cache, char *dname, char *dentname) |
| void | XrdFfsDent_names_add (struct XrdFfsDentnames **p, char *name) |
| void | XrdFfsDent_names_del (struct XrdFfsDentnames **p) |
| int | XrdFfsDent_names_extract (struct XrdFfsDentnames **p, char ***dnarray) |
| void | XrdFfsDent_names_join (struct XrdFfsDentnames **p, struct XrdFfsDentnames **n) |
Variables | |
| struct XrdFfsDentcache | XrdFfsDentCaches [XrdFfsDent_NDENTCACHES] |
| pthread_mutex_t | XrdFfsDentCaches_mutex = PTHREAD_MUTEX_INITIALIZER |
| struct XrdFfsDentcache |
Definition at line 132 of file XrdFfsDent.cc.
Collaboration diagram for XrdFfsDentcache:| Class Members | ||
|---|---|---|
| char * | dirname | |
| char ** | dnarray | |
| time_t | life | |
| unsigned int | nents | |
| time_t | t0 | |
| #define XrdFfsDent_NDENTCACHES 20 |
Definition at line 203 of file XrdFfsDent.cc.
| void XrdFfsDent_cache_destroy | ( | ) |
Definition at line 261 of file XrdFfsDent.cc.
References XrdFfsDent_dentcache_free(), XrdFfsDent_NDENTCACHES, and XrdFfsDentCaches.
Here is the call graph for this function:| int XrdFfsDent_cache_fill | ( | char * | dname, |
| char *** | dnarray, | ||
| int | nents | ||
| ) |
Definition at line 219 of file XrdFfsDent.cc.
References XrdFfsDentcache::dnarray, XrdFfsDentcache::nents, XrdFfsDent_dentcache_expired(), XrdFfsDent_dentcache_fill(), XrdFfsDent_dentcache_free(), XrdFfsDent_dentcache_invalid(), XrdFfsDent_dentcache_search(), XrdFfsDent_NDENTCACHES, XrdFfsDentCaches, and XrdFfsDentCaches_mutex.
Here is the call graph for this function:| void XrdFfsDent_cache_init | ( | ) |
Definition at line 207 of file XrdFfsDent.cc.
References XrdFfsDentcache::dirname, XrdFfsDentcache::dnarray, XrdFfsDentcache::nents, XrdFfsDentcache::t0, XrdFfsDent_NDENTCACHES, and XrdFfsDentCaches.
Referenced by XrdFfsMisc_xrd_init().
Here is the caller graph for this function:| int XrdFfsDent_cache_search | ( | char * | dname, |
| char * | dentname | ||
| ) |
Definition at line 247 of file XrdFfsDent.cc.
References XrdFfsDent_dentcache_search(), XrdFfsDent_NDENTCACHES, XrdFfsDentCaches, and XrdFfsDentCaches_mutex.
Referenced by XrdFfsPosix_statall().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdFfsDent_cstr_cmp | ( | const void * | a, |
| const void * | b | ||
| ) |
Definition at line 39 of file XrdFfsDent.cc.
Referenced by XrdFfsDent_dentcache_search(), and XrdFfsDent_names_extract().
Here is the caller graph for this function:| int XrdFfsDent_dentcache_expired | ( | struct XrdFfsDentcache * | cache | ) |
Definition at line 169 of file XrdFfsDent.cc.
References XrdFfsDentcache::life, and XrdFfsDentcache::t0.
Referenced by XrdFfsDent_cache_fill().
Here is the caller graph for this function:| void XrdFfsDent_dentcache_fill | ( | struct XrdFfsDentcache * | cache, |
| char * | dname, | ||
| char *** | dnarray, | ||
| int | nents | ||
| ) |
Definition at line 140 of file XrdFfsDent.cc.
References XrdFfsDentcache::dirname, XrdFfsDentcache::dnarray, XrdFfsDentcache::life, XrdFfsDentcache::nents, and XrdFfsDentcache::t0.
Referenced by XrdFfsDent_cache_fill().
Here is the caller graph for this function:| void XrdFfsDent_dentcache_free | ( | struct XrdFfsDentcache * | cache | ) |
Definition at line 154 of file XrdFfsDent.cc.
References XrdFfsDentcache::dirname, XrdFfsDentcache::dnarray, and XrdFfsDentcache::nents.
Referenced by XrdFfsDent_cache_destroy(), and XrdFfsDent_cache_fill().
Here is the caller graph for this function:| int XrdFfsDent_dentcache_invalid | ( | struct XrdFfsDentcache * | cache | ) |
Definition at line 176 of file XrdFfsDent.cc.
References XrdFfsDentcache::t0.
Referenced by XrdFfsDent_cache_fill(), and XrdFfsDent_dentcache_search().
Here is the caller graph for this function:| int XrdFfsDent_dentcache_search | ( | struct XrdFfsDentcache * | cache, |
| char * | dname, | ||
| char * | dentname | ||
| ) |
Definition at line 183 of file XrdFfsDent.cc.
References XrdFfsDentcache::dirname, XrdFfsDentcache::dnarray, XrdFfsDentcache::nents, XrdFfsDent_cstr_cmp(), and XrdFfsDent_dentcache_invalid().
Referenced by XrdFfsDent_cache_fill(), and XrdFfsDent_cache_search().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdFfsDent_names_add | ( | struct XrdFfsDentnames ** | p, |
| char * | name | ||
| ) |
Definition at line 56 of file XrdFfsDent.cc.
References XrdFfsDentnames::name, and XrdFfsDentnames::next.
Referenced by XrdFfsPosix_x_readdirall().
Here is the caller graph for this function:| void XrdFfsDent_names_del | ( | struct XrdFfsDentnames ** | p | ) |
Definition at line 49 of file XrdFfsDent.cc.
Referenced by XrdFfsDent_names_extract().
Here is the caller graph for this function:| int XrdFfsDent_names_extract | ( | struct XrdFfsDentnames ** | p, |
| char *** | dnarray | ||
| ) |
Definition at line 100 of file XrdFfsDent.cc.
References XrdFfsDentnames::name, XrdFfsDentnames::next, XrdFfsDent_cstr_cmp(), and XrdFfsDent_names_del().
Here is the call graph for this function:| void XrdFfsDent_names_join | ( | struct XrdFfsDentnames ** | p, |
| struct XrdFfsDentnames ** | n | ||
| ) |
Definition at line 78 of file XrdFfsDent.cc.
References XrdFfsDentnames::next.
| struct XrdFfsDentcache XrdFfsDentCaches[XrdFfsDent_NDENTCACHES] |
Definition at line 204 of file XrdFfsDent.cc.
Referenced by XrdFfsDent_cache_destroy(), XrdFfsDent_cache_fill(), XrdFfsDent_cache_init(), and XrdFfsDent_cache_search().
| pthread_mutex_t XrdFfsDentCaches_mutex = PTHREAD_MUTEX_INITIALIZER |
Definition at line 205 of file XrdFfsDent.cc.
Referenced by XrdFfsDent_cache_fill(), and XrdFfsDent_cache_search().