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

Go to the source code of this file.

Functions

dentry_tdentry_ref (dentry_t *dentry)
 Increment the reference count of a dentry.
 
dentry_tdentry_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.
 

Function Documentation

◆ dentry_dump_refstat()

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().

+ Here is the call graph for this function: