|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
Go to the source code of this file.
Data Structures | |
| struct | mount_cache_node |
Typedefs | |
| typedef struct mount_cache_node | mount_cache_node_t |
Functions | |
| INIT (Mount) | |
| mount_ptr_t | __attribute__ ((used, visibility("default"), section(".export"))) |
| This function handles memory allocation for a new dentry using the slab allocator. | |
Variables | |
| static struct slab_cache * | mount_cache |
| typedef struct mount_cache_node mount_cache_node_t |
| mount_ptr_t __attribute__ | ( | (used, visibility("default"), section(".export")) | ) |
This function handles memory allocation for a new dentry using the slab allocator.
It also links the dentry to its corresponding VNode (if provided).
| name | The name of the file or directory. |
| vnode | Pointer to the associated VNode (inode data). Pass NULL if the VNode is not yet available. |
Definition at line 15 of file mount.c.
References KERNEL_API, mount_cache, and vxSlabAlloc().
| INIT | ( | Mount | ) |
Definition at line 11 of file mount.c.
References mount_cache, and vxCreateSlabCache().
|
static |
Definition at line 5 of file mount.c.
Referenced by __attribute__(), and INIT().