|
| static mode_t | path_flag_to_mode (const char *flag, size_t length) |
| |
| static bool | path_is_char_valid (char ch) |
| |
| uint64_t | pathname_init (pathname_t *pathname, const char *string) |
| | Initialize a pathname.
|
| |
| static bool | path_is_name_valid (const char *name) |
| |
| void | path_set (path_t *path, mount_t *mount, dentry_t *dentry) |
| | Set a path.
|
| |
| void | path_copy (path_t *dest, const path_t *src) |
| | Copy a path.
|
| |
| void | path_put (path_t *path) |
| | Put a path.
|
| |
| static uint64_t | path_rcu_walk (path_walk_ctx_t *ctx) |
| |
| static uint64_t | path_walk_acquire (path_walk_ctx_t *ctx) |
| |
| static void | path_walk_release (path_walk_ctx_t *ctx) |
| |
| static void | path_walk_set_lookup (path_walk_ctx_t *ctx, dentry_t *dentry) |
| |
| static void | path_walk_cleanup (path_walk_ctx_t *ctx) |
| |
| static uint64_t | path_walk_get_result (path_walk_ctx_t *ctx, path_t *path) |
| |
| static uint64_t | path_rcu_dotdot (path_walk_ctx_t *ctx) |
| |
| static uint64_t | path_rcu_symlink (path_walk_ctx_t *ctx, dentry_t *symlink) |
| |
| static uint64_t | path_rcu_step (path_walk_ctx_t *ctx, const char *name, size_t length) |
| |
| uint64_t | path_step (path_t *path, mode_t mode, const char *name, namespace_t *ns) |
| | Walk a single path component.
|
| |
| uint64_t | path_walk (path_t *path, const pathname_t *pathname, namespace_t *ns) |
| | Walk a pathname to a path.
|
| |
| uint64_t | path_walk_parent (path_t *path, const pathname_t *pathname, char *outLastName, namespace_t *ns) |
| | Walk a pathname to its parent and get the name of the last component.
|
| |
| uint64_t | path_walk_parent_and_child (const path_t *from, path_t *outParent, path_t *outChild, const pathname_t *pathname, namespace_t *ns) |
| | Traverse a pathname to its parent and child paths.
|
| |
| uint64_t | path_to_name (const path_t *path, pathname_t *pathname) |
| | Convert a path to a pathname.
|
| |
| uint64_t | mode_to_string (mode_t mode, char *out, uint64_t length) |
| | Convert a mode to a string representation.
|
| |
| uint64_t | mode_check (mode_t *mode, mode_t maxPerms) |
| | Check and adjust mode permissions.
|
| |