|
PatchworkOS
|
Dentry operations structure. More...
#include <dentry.h>
Data Fields | |
| uint64_t(* | getdents )(dentry_t *dentry, dirent_t *buffer, uint64_t count, uint64_t *offset, path_flags_t flags) |
| Used to now what is in a directory. | |
| void(* | cleanup )(dentry_t *entry) |
| Called when the dentry is being freed. | |
Dentry operations structure.
Note that the dentrys mutex will be acquired by the vfs and any implemented operations do not need to acquire it again.
| void(* dentry_ops_t::cleanup) (dentry_t *entry) |
Called when the dentry is being freed.
Definition at line 75 of file dentry.h.
Referenced by dentry_free().
| uint64_t(* dentry_ops_t::getdents) (dentry_t *dentry, dirent_t *buffer, uint64_t count, uint64_t *offset, path_flags_t flags) |
Used to now what is in a directory.
Definition at line 74 of file dentry.h.
Referenced by vfs_getdents().