#include <Basics.H>
#include <pthread.h>
#include "nfsd.H"
#include "logging.H"
Go to the source code of this file.
Defines | |
#define | LOG_FILE "%s.log" |
Functions | |
void | Repos::setDebugLevel (int level) |
int | Repos::isDebugLevel (int level) |
void | Repos::dprintf (int level, const char *fmt,...) |
void | Repos::log_call (struct svc_req *rqstp, struct dispatch_entry *dent, union argument_types *argument) |
void | Repos::log_result (struct svc_req *rqstp, struct dispatch_entry *dent, union result_types *result) |
void | Repos::pr_void (char *buf) |
void | Repos::pr_sattrargs (char *buf, sattrargs *argp) |
void | Repos::pr_diropargs (char *buf, diropargs *argp) |
void | Repos::pr_readargs (char *buf, readargs *argp) |
void | Repos::pr_writeargs (char *buf, writeargs *argp) |
void | Repos::pr_createargs (char *buf, createargs *argp) |
void | Repos::pr_renameargs (char *buf, renameargs *argp) |
void | Repos::pr_linkargs (char *buf, linkargs *argp) |
void | Repos::pr_symlinkargs (char *buf, symlinkargs *argp) |
void | Repos::pr_readdirargs (char *buf, readdirargs *argp) |
void | Repos::pr_attrstat (char *buf, attrstat *argp) |
void | Repos::pr_diropres (char *buf, diropres *argp) |
void | Repos::pr_readlinkres (char *buf, readlinkres *argp) |
void | Repos::pr_readres (char *buf, readres *argp) |
void | Repos::pr_nfsstat (char *buf, nfsstat *argp) |
void | Repos::pr_readdirres (char *buf, readdirres *argp) |
void | Repos::pr_statfsres (char *buf, statfsres *argp) |
void | Repos::pr_nfs_fh (char *buf, nfs_fh *fh) |
VRErrorCode::errorCode | Repos::errno_to_errorCode (int err) |
Variables | |
pthread_mutex_t | dp_mutex |
int | debugLevel = 0 |
|
|
|
Definition at line 75 of file logging.C. References debugLevel, and dp_mutex. |
|
Definition at line 354 of file logging.C. References DBG_ALWAYS, Repos::dprintf(), VRErrorCode::invalidArgs, VRErrorCode::isADirectory, VRErrorCode::nameTooLong, VRErrorCode::noPermission, VRErrorCode::notADirectory, VRErrorCode::notFound, VRErrorCode::ok, and VRErrorCode::outOfSpace. |
|
Definition at line 66 of file logging.C. References debugLevel. |
|
Definition at line 101 of file logging.C. References DBG_NFS, Repos::dprintf(), Repos::isDebugLevel(), dispatch_entry::log_print, and dispatch_entry::name. |
|
Definition at line 149 of file logging.C. References DBG_NFS, Repos::dprintf(), Repos::isDebugLevel(), and dispatch_entry::log_print_res. |
|
|
|
Definition at line 196 of file logging.C. References Repos::pr_nfs_fh(). |
|
Definition at line 175 of file logging.C. References Repos::pr_nfs_fh(). |
|
Definition at line 276 of file logging.C. References Repos::pr_nfs_fh(). |
|
|
|
|
|
|
|
Definition at line 182 of file logging.C. References Repos::pr_nfs_fh(). |
|
Definition at line 231 of file logging.C. References Repos::pr_nfs_fh(). |
|
|
|
|
|
|
|
Definition at line 207 of file logging.C. References Repos::pr_nfs_fh(). |
|
Definition at line 164 of file logging.C. References Repos::pr_nfs_fh(). |
|
|
|
|
|
|
|
Definition at line 189 of file logging.C. References Repos::pr_nfs_fh(). |
|
Definition at line 61 of file logging.C. References debugLevel. |
|
Definition at line 48 of file logging.C. Referenced by Repos::dprintf(), Repos::isDebugLevel(), and Repos::setDebugLevel(). |
|
Definition at line 44 of file logging.C. Referenced by Repos::dprintf(). |