glusterfs  8.2
About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x (latest version).
  Fossies Dox: glusterfs-8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

options-dir.c File Reference
#include <glusterfs/xlator.h>
#include <glusterfs/defaults.h>
#include "meta-mem-types.h"
#include "meta.h"
#include "meta-hooks.h"
Include dependency graph for options-dir.c:

Go to the source code of this file.


static int dict_key_add (dict_t *dict, char *key, data_t *value, void *data)
static int options_dir_fill (xlator_t *this, inode_t *inode, struct meta_dirent **dp)
int meta_options_dir_hook (call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)


static struct meta_ops options_dir_ops = {.dir_fill = options_dir_fill}

Function Documentation

◆ dict_key_add()

static int dict_key_add ( dict_t dict,
char *  key,
data_t value,
void *  data 

Definition at line 19 of file options-dir.c.

References gf_strdup(), IA_IFREG, meta_option_file_hook(), and meta_dirent::name.

◆ meta_options_dir_hook()

int meta_options_dir_hook ( call_frame_t frame,
xlator_t this,
loc_t loc,
dict_t xdata 

◆ options_dir_fill()

static int options_dir_fill ( xlator_t this,
inode_t inode,
struct meta_dirent **  dp 

Definition at line 32 of file options-dir.c.

Variable Documentation

◆ options_dir_ops

struct meta_ops options_dir_ops = {.dir_fill = options_dir_fill}

Definition at line 32 of file options-dir.c.

Referenced by meta_options_dir_hook().