MOS Source Code
Loading...
Searching...
No Matches
ipc_sysfs.cpp File Reference
+ Include dependency graph for ipc_sysfs.cpp:

Go to the source code of this file.

Classes

struct  ipc_vfs_private_t
 

Functions

static bool vfs_open_ipc (inode_t *ino, file_t *file, bool created)
 
static ssize_t vfs_ipc_file_read (const file_t *file, void *buf, size_t size, off_t offset)
 
static ssize_t vfs_ipc_file_write (const file_t *file, const void *buf, size_t size, off_t offset)
 
static void vfs_ipc_file_release (file_t *file)
 

Variables

const file_ops_t ipc_sysfs_file_ops
 

Function Documentation

◆ vfs_open_ipc()

static bool vfs_open_ipc ( inode_t * ino,
file_t * file,
bool created )
static

Definition at line 23 of file ipc_sysfs.cpp.

+ Here is the call graph for this function:

◆ vfs_ipc_file_read()

static ssize_t vfs_ipc_file_read ( const file_t * file,
void * buf,
size_t size,
off_t offset )
static

Definition at line 56 of file ipc_sysfs.cpp.

+ Here is the call graph for this function:

◆ vfs_ipc_file_write()

static ssize_t vfs_ipc_file_write ( const file_t * file,
const void * buf,
size_t size,
off_t offset )
static

Definition at line 89 of file ipc_sysfs.cpp.

+ Here is the call graph for this function:

◆ vfs_ipc_file_release()

static void vfs_ipc_file_release ( file_t * file)
static

Definition at line 99 of file ipc_sysfs.cpp.

+ Here is the call graph for this function:

Variable Documentation

◆ ipc_sysfs_file_ops

const file_ops_t ipc_sysfs_file_ops
Initial value:
= {
.open = vfs_open_ipc,
}
static ssize_t vfs_ipc_file_write(const file_t *file, const void *buf, size_t size, off_t offset)
Definition ipc_sysfs.cpp:89
static void vfs_ipc_file_release(file_t *file)
Definition ipc_sysfs.cpp:99
static ssize_t vfs_ipc_file_read(const file_t *file, void *buf, size_t size, off_t offset)
Definition ipc_sysfs.cpp:56
static bool vfs_open_ipc(inode_t *ino, file_t *file, bool created)
Definition ipc_sysfs.cpp:23

Definition at line 112 of file ipc_sysfs.cpp.

Referenced by ipc_sysfs_create_ino().