Go to the source code of this file.
|
| static map_key_t | dentry_cache_key (dentry_id_t parentId, const char *name) |
| |
| static uint64_t | dentry_cache_add (dentry_t *dentry) |
| |
| static void | dentry_cache_remove (dentry_t *dentry) |
| |
| static dentry_t * | dentry_cache_get (map_key_t *key) |
| |
| static void | dentry_free (dentry_t *dentry) |
| |
| dentry_t * | dentry_new (superblock_t *superblock, dentry_t *parent, const char *name) |
| | Create a new dentry.
|
| |
| dentry_t * | dentry_get (const dentry_t *parent, const char *name) |
| | Get a dentry for the given name. Will NOT traverse mountpoints.
|
| |
| dentry_t * | dentry_lookup (const path_t *parent, const char *name) |
| | Lookup a dentry for the given name. Will NOT traverse mountpoints.
|
| |
| void | dentry_make_positive (dentry_t *dentry, inode_t *inode) |
| | Make a dentry positive by associating it with an inode.
|
| |
| bool | dentry_is_positive (dentry_t *dentry) |
| | Check if a dentry is positive.
|
| |
| bool | dentry_is_file (dentry_t *dentry) |
| | Check if the inode associated with a dentry is a file.
|
| |
| bool | dentry_is_dir (dentry_t *dentry) |
| | Check if the inode associated with a dentry is a directory.
|
| |
| static void | getdents_write (getdents_ctx_t *ctx, inode_number_t number, inode_type_t type, const char *name) |
| |
| static void | getdents_recursive_traversal (getdents_ctx_t *ctx, dentry_t *dentry) |
| |
| uint64_t | dentry_generic_getdents (dentry_t *dentry, dirent_t *buffer, uint64_t count, uint64_t *offset, mode_t mode) |
| | Helper function for a basic getdents.
|
| |
◆ dentry_cache_key()
◆ dentry_cache_add()
◆ dentry_cache_remove()
| static void dentry_cache_remove |
( |
dentry_t * |
dentry | ) |
|
|
static |
◆ dentry_cache_get()
◆ dentry_free()
| static void dentry_free |
( |
dentry_t * |
dentry | ) |
|
|
static |
◆ getdents_write()
◆ getdents_recursive_traversal()
◆ dentryCache
◆ dentryCacheLock