nfs-ganesha 1.4
|
Routines used for managing the NFS4 xattrs t* nfs4_xattr.c: Routines used for managing the NFS4 xattrs. More...
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/file.h>
#include "HashData.h"
#include "HashTable.h"
#include "log.h"
#include "ganesha_rpc.h"
#include "nfs4.h"
#include "nfs_core.h"
#include "nfs_proto_functions.h"
#include "nfs_tools.h"
#include "nfs_exports.h"
#include "nfs_file_handle.h"
#include "cache_inode.h"
Go to the source code of this file.
Defines | |
#define | arg_GETATTR4 op->nfs_argop4_u.opgetattr |
#define | res_GETATTR4 resp->nfs_resop4_u.opgetattr |
#define | res_ACCESS4 resp->nfs_resop4_u.opaccess |
#define | arg_ACCESS4 op->nfs_argop4_u.opaccess |
#define | arg_LOOKUP4 op->nfs_argop4_u.oplookup |
#define | res_LOOKUP4 resp->nfs_resop4_u.oplookup |
#define | arg_LOOKUPP4 op->nfs_argop4_u.oplookupp |
#define | res_LOOKUPP4 resp->nfs_resop4_u.oplookupp |
#define | arg_READDIR4 op->nfs_argop4_u.opreaddir |
#define | res_READDIR4 resp->nfs_resop4_u.opreaddir |
#define | arg_READ4 op->nfs_argop4_u.opread |
#define | res_READ4 resp->nfs_resop4_u.opread |
#define | arg_OPEN4 op->nfs_argop4_u.opopen |
#define | res_OPEN4 resp->nfs_resop4_u.opopen |
#define | arg_READ4 op->nfs_argop4_u.opread |
#define | res_READ4 resp->nfs_resop4_u.opread |
#define | arg_WRITE4 op->nfs_argop4_u.opwrite |
#define | res_WRITE4 resp->nfs_resop4_u.opwrite |
#define | arg_REMOVE4 op->nfs_argop4_u.opremove |
#define | res_REMOVE4 resp->nfs_resop4_u.opremove |
Functions | |
int | nfs4_XattrToFattr (fattr4 *Fattr, compound_data_t *data, nfs_fh4 *objFH, bitmap4 *Bitmap) |
nfsstat4 | nfs4_fh_to_xattrfh (nfs_fh4 *pfhin, nfs_fh4 *pfhout) |
nfsstat4 | nfs4_xattrfh_to_fh (nfs_fh4 *pfhin, nfs_fh4 *pfhout) |
int | nfs4_op_getattr_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_access_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_lookup_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_lookupp_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_readdir_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_open_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_read_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_write_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
int | nfs4_op_remove_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp) |
Routines used for managing the NFS4 xattrs t* nfs4_xattr.c: Routines used for managing the NFS4 xattrs.
Routines used for managing the NFS2/3 xattrs.
Definition in file nfs4_xattr.c.
#define arg_ACCESS4 op->nfs_argop4_u.opaccess |
Definition at line 1051 of file nfs4_xattr.c.
#define arg_GETATTR4 op->nfs_argop4_u.opgetattr |
nfs4_op_getattr_xattr: Gets attributes for xattrs objects
Gets attributes for xattrs objects
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1015 of file nfs4_xattr.c.
#define arg_LOOKUP4 op->nfs_argop4_u.oplookup |
nfs4_op_lookup_xattr: looks up into the pseudo fs.
looks up into the pseudo fs. If a junction traversal is detected, does the necessary stuff for correcting traverse.
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1085 of file nfs4_xattr.c.
#define arg_LOOKUPP4 op->nfs_argop4_u.oplookupp |
nfs4_op_lookupp_xattr: looks up into the pseudo fs for the parent directory
looks up into the pseudo fs for the parent directory of the current file handle.
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1153 of file nfs4_xattr.c.
#define arg_OPEN4 op->nfs_argop4_u.opopen |
Definition at line 1416 of file nfs4_xattr.c.
#define arg_READ4 op->nfs_argop4_u.opread |
nfs4_op_open_xattr: Opens the content of a xattr attribute
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
nfs4_op_read_xattr: Reads the content of a xattr attribute
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1527 of file nfs4_xattr.c.
#define arg_READ4 op->nfs_argop4_u.opread |
nfs4_op_open_xattr: Opens the content of a xattr attribute
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
nfs4_op_read_xattr: Reads the content of a xattr attribute
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1527 of file nfs4_xattr.c.
#define arg_READDIR4 op->nfs_argop4_u.opreaddir |
nfs4_op_readdir_xattr: Reads a directory in the pseudo fs
Reads a directory in the pseudo fs.
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1183 of file nfs4_xattr.c.
#define arg_REMOVE4 op->nfs_argop4_u.opremove |
Definition at line 1635 of file nfs4_xattr.c.
#define arg_WRITE4 op->nfs_argop4_u.opwrite |
nfs4_op_write_xattr: Writes the content of a xattr attribute
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1590 of file nfs4_xattr.c.
#define res_ACCESS4 resp->nfs_resop4_u.opaccess |
nfs4_op_access_xattrs: Checks for xattrs accessibility
Checks for object accessibility in xattrs fs.
op | [IN] pointer to nfs4_op arguments |
data | [INOUT] Pointer to the compound request's data |
resp | [IN] Pointer to nfs4_op results |
Definition at line 1050 of file nfs4_xattr.c.
#define res_GETATTR4 resp->nfs_resop4_u.opgetattr |
Definition at line 1016 of file nfs4_xattr.c.
#define res_LOOKUP4 resp->nfs_resop4_u.oplookup |
Definition at line 1086 of file nfs4_xattr.c.
#define res_LOOKUPP4 resp->nfs_resop4_u.oplookupp |
Definition at line 1154 of file nfs4_xattr.c.
#define res_OPEN4 resp->nfs_resop4_u.opopen |
Definition at line 1417 of file nfs4_xattr.c.
#define res_READ4 resp->nfs_resop4_u.opread |
Definition at line 1528 of file nfs4_xattr.c.
#define res_READ4 resp->nfs_resop4_u.opread |
Definition at line 1528 of file nfs4_xattr.c.
#define res_READDIR4 resp->nfs_resop4_u.opreaddir |
Definition at line 1184 of file nfs4_xattr.c.
#define res_REMOVE4 resp->nfs_resop4_u.opremove |
Definition at line 1636 of file nfs4_xattr.c.
#define res_WRITE4 resp->nfs_resop4_u.opwrite |
Definition at line 1591 of file nfs4_xattr.c.