Go to the source code of this file.
|
| static mode_t | path_flag_to_mode (const char *flag, uint64_t length) |
| |
| uint64_t | pathname_init (pathname_t *pathname, const char *string) |
| | Initialize a pathname.
|
| |
| 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 bool | path_is_name_valid (const char *name) |
| |
| static uint64_t | path_handle_dotdot (path_t *path) |
| |
| uint64_t | path_step (path_t *path, const char *component, namespace_t *ns) |
| | Walk a single step in a path.
|
| |
| 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.
|
| |
◆ path_flag_to_mode()
| static mode_t path_flag_to_mode |
( |
const char * |
flag, |
|
|
uint64_t |
length |
|
) |
| |
|
static |
◆ path_is_name_valid()
| static bool path_is_name_valid |
( |
const char * |
name | ) |
|
|
static |
◆ path_handle_dotdot()
◆ flagMap
◆ flagShortMap
◆ shortFlags
Initial value:
Definition at line 23 of file path.c.
◆ flags
Initial value:
Definition at line 42 of file path.c.