"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/nfs/server/src/nfs-inodes.h" (16 Sep 2020, 2356 Bytes) of package /linux/misc/glusterfs-8.2.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "nfs-inodes.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2   Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com>
    3   This file is part of GlusterFS.
    5   This file is licensed to you under your choice of the GNU Lesser
    6   General Public License, version 3 or any later version (LGPLv3 or
    7   later), or the GNU General Public License, version 2 (GPLv2), in all
    8   cases as published by the Free Software Foundation.
    9 */
   11 #ifndef _NFS_INODES_H_
   12 #define _NFS_INODES_H_
   14 #include <glusterfs/dict.h>
   15 #include <glusterfs/xlator.h>
   16 #include <glusterfs/iobuf.h>
   17 #include <glusterfs/call-stub.h>
   18 #include "nfs-fops.h"
   20 extern int
   21 nfs_link_inode(inode_t *newi, inode_t *parent, char *name,
   22                struct iatt *newstat);
   24 extern int
   25 nfs_inode_create(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
   26                  int flags, int mode, fop_create_cbk_t cbk, void *local);
   28 extern int
   29 nfs_inode_mkdir(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
   30                 int mode, fop_mkdir_cbk_t cbk, void *local);
   32 extern int
   33 nfs_inode_open(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *loc,
   34                int32_t flags, fop_open_cbk_t cbk, void *local);
   36 extern int
   37 nfs_inode_rename(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *oldloc,
   38                  loc_t *newloc, fop_rename_cbk_t cbk, void *local);
   40 extern int
   41 nfs_inode_link(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *oldloc,
   42                loc_t *newloc, fop_link_cbk_t cbk, void *local);
   44 extern int
   45 nfs_inode_unlink(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
   46                  fop_unlink_cbk_t cbk, void *local);
   48 extern int
   49 nfs_inode_rmdir(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
   50                 fop_rmdir_cbk_t cbk, void *local);
   52 extern int
   53 nfs_inode_symlink(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, char *target,
   54                   loc_t *pathloc, fop_symlink_cbk_t cbk, void *local);
   56 extern int
   57 nfs_inode_opendir(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *loc,
   58                   fop_opendir_cbk_t cbk, void *local);
   60 extern int
   61 nfs_inode_mknod(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
   62                 mode_t mode, dev_t dev, fop_mknod_cbk_t cbk, void *local);
   64 extern int
   65 nfs_inode_lookup(xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
   66                  fop_lookup_cbk_t cbk, void *local);
   67 #endif