Motr  M0
m0t1fs.c File Reference
#include "lib/trace.h"
#include <linux/module.h>
#include <linux/init.h>
#include "m0t1fs/linux_kernel/m0t1fs.h"
#include "lib/memory.h"
#include "fid/fid.h"
#include "ioservice/io_fops.h"
#include "mdservice/md_fops.h"
#include "rpc/rpclib.h"
#include "rm/rm.h"
#include "net/lnet/lnet_core_types.h"
#include "mdservice/fsync_fops.h"
#include "sss/process_fops.h"
#include "ha/note_fops.h"
#include "addb2/global.h"
#include "addb2/sys.h"
Include dependency graph for m0t1fs.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_M0T1FS
 

Functions

M0_INTERNAL int m0t1fs_init (void)
 
M0_INTERNAL void m0t1fs_fini (void)
 

Variables

struct m0_bitmap m0t1fs_client_ep_tmid
 
struct m0_mutex m0t1fs_mutex
 
struct m0_semaphore m0t1fs_cpus_sem
 
static struct file_system_type m0t1fs_fs_type
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_M0T1FS

Definition at line 22 of file m0t1fs.c.

Function Documentation

◆ m0t1fs_fini()

M0_INTERNAL void m0t1fs_fini ( void  )

Definition at line 135 of file m0t1fs.c.

Here is the call graph for this function:

◆ m0t1fs_init()

M0_INTERNAL int m0t1fs_init ( void  )

Definition at line 58 of file m0t1fs.c.

Here is the call graph for this function:

Variable Documentation

◆ m0t1fs_client_ep_tmid

struct m0_bitmap m0t1fs_client_ep_tmid

Definition at line 42 of file m0t1fs.c.

◆ m0t1fs_cpus_sem

struct m0_semaphore m0t1fs_cpus_sem

Definition at line 44 of file m0t1fs.c.

◆ m0t1fs_fs_type

struct file_system_type m0t1fs_fs_type
static
Initial value:
= {
.owner = THIS_MODULE,
.name = "m0t1fs",
.mount = m0t1fs_mount,
.kill_sb = m0t1fs_kill_sb,
.fs_flags = FS_BINARY_MOUNTDATA
}
M0_INTERNAL struct dentry * m0t1fs_mount(struct file_system_type *fstype, int flags, const char *devname, void *data)
Definition: super.c:1372
M0_INTERNAL void m0t1fs_kill_sb(struct super_block *sb)
Definition: super.c:1392

Definition at line 46 of file m0t1fs.c.

◆ m0t1fs_mutex

struct m0_mutex m0t1fs_mutex

Definition at line 43 of file m0t1fs.c.