Lines Matching full:path
19 * rootdev: returns the path to the root device in @path
20 * @path: pre-allocated char array the result will be written to
21 * @size: size of @path
27 int rootdev(char *path, size_t size, bool full, bool strip);
37 int rootdev_wrapper(char *path, size_t size,
42 * rootdev_get_device: finds the /dev path for @dev
46 * @search: path to search under. NULL for default.
62 * @search: path to search under. NULL for default.
70 * rootdev_get_path: converts a device name to a path in the device tree
71 * @path: char array to store the path
74 * @dev_path: path to dev tree. NULL for default (/dev)
78 * @path is populated for all return codes.
80 * -1 on unexpected errors (@path may be invalid)
88 int rootdev_get_path(char *path, size_t size, const char *device,
93 int rootdev_symlink_active(const char *path);