![]() |
XRootD
|
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <ctime>
#include <pthread.h>
#include <sys/statvfs.h>
#include "XrdOuc/XrdOucHash.hh"
Go to the source code of this file.
Classes | |
struct | XrdFfsFsInfo |
Macros | |
#define | _GNU_SOURCE |
Functions | |
int | XrdFfsFsinfo_cache_search (int(*func)(const char *, const char *, struct statvfs *, uid_t), const char *rdrurl, const char *path, struct statvfs *stbuf, uid_t user_uid) |
Variables | |
pthread_mutex_t | XrdFfsFsinfo_cache_mutex_rd = PTHREAD_MUTEX_INITIALIZER |
pthread_mutex_t | XrdFfsFsinfo_cache_mutex_wr = PTHREAD_MUTEX_INITIALIZER |
XrdOucHash< struct XrdFfsFsInfo > | XrdFfsFsinfoHtab |
struct XrdFfsFsInfo |
Definition at line 46 of file XrdFfsFsinfo.cc.
Class Members | ||
---|---|---|
fsblkcnt_t | f_bavail | |
fsblkcnt_t | f_bfree | |
fsblkcnt_t | f_blocks | |
time_t | t |
#define _GNU_SOURCE |
Definition at line 37 of file XrdFfsFsinfo.cc.
int XrdFfsFsinfo_cache_search | ( | int(*)(const char *, const char *, struct statvfs *, uid_t) | func, |
const char * | rdrurl, | ||
const char * | path, | ||
struct statvfs * | stbuf, | ||
uid_t | user_uid | ||
) |
Definition at line 57 of file XrdFfsFsinfo.cc.
References XrdFfsFsInfo::f_bavail, XrdFfsFsInfo::f_bfree, XrdFfsFsInfo::f_blocks, Hash_default, Hash_keepdata, XrdFfsFsInfo::t, XrdFfsFsinfo_cache_mutex_rd, XrdFfsFsinfo_cache_mutex_wr, and XrdFfsFsinfoHtab.
pthread_mutex_t XrdFfsFsinfo_cache_mutex_rd = PTHREAD_MUTEX_INITIALIZER |
Definition at line 53 of file XrdFfsFsinfo.cc.
Referenced by XrdFfsFsinfo_cache_search().
pthread_mutex_t XrdFfsFsinfo_cache_mutex_wr = PTHREAD_MUTEX_INITIALIZER |
Definition at line 52 of file XrdFfsFsinfo.cc.
Referenced by XrdFfsFsinfo_cache_search().
XrdOucHash<struct XrdFfsFsInfo> XrdFfsFsinfoHtab |
Definition at line 55 of file XrdFfsFsinfo.cc.
Referenced by XrdFfsFsinfo_cache_search().