MOS Source Code
|
#include "mos/filesystem/dentry.h"
#include "mos/filesystem/inode.h"
#include "mos/filesystem/mount.h"
#include "mos/filesystem/vfs.h"
#include "mos/filesystem/vfs_types.h"
#include "mos/syslog/printk.h"
#include <mos_stdio.h>
#include <mos_stdlib.h>
#include <mos_string.h>
Go to the source code of this file.
Functions | |
dentry_t * | dentry_ref (dentry_t *dentry) |
Increment the reference count of a dentry. | |
dentry_t * | dentry_ref_up_to (dentry_t *dentry, dentry_t *root) |
Increment the reference count of a dentry up to a given dentry. | |
__nodiscard bool | dentry_unref_one_norelease (dentry_t *dentry) |
Decrease the refcount of ONE SINGLE dentry, including (if it's a mountpoint) the mountpoint dentry. | |
void | dentry_dump_refstat (const dentry_t *dentry, dump_refstat_receiver_t *receiver, void *receiver_data) |
void | dentry_check_refstat (const dentry_t *dentry) |
Check the reference count of a dentry. | |
void | dentry_try_release (dentry_t *dentry) |
void | dentry_unref (dentry_t *dentry) |
Decrement the reference count of a dentry. | |
ssize_t | dentry_path (dentry_t *dentry, dentry_t *root, char *buf, size_t size) |
Get the path of a dentry. | |
void dentry_dump_refstat | ( | const dentry_t * | dentry, |
dump_refstat_receiver_t * | receiver, | ||
void * | receiver_data ) |
Definition at line 85 of file dentry_utils.c.
Referenced by dentry_dump_refstat(), MOS_TEST_DECL_PTEST(), and vfs_sysfs_dentry_stats().