Searched defs:root (Results 1 - 4 of 4) sorted by relevance

/system/core/libcutils/
H A Dconfig_utils.c39 cnode* config_find(cnode *root, const char *name) argument
44 for(node = root->first_child; node; node = node->next)
51 static cnode* _config_create(cnode *root, const char *name) argument
57 if(root->last_child)
58 root->last_child->next = node;
60 root->first_child = node;
62 root->last_child = node;
67 int config_bool(cnode *root, const char *name, int _default) argument
71 node = config_find(root, name);
85 const char* config_str(cnode *root, cons argument
95 config_set(cnode *root, const char *name, const char *value) argument
262 parse_expr(cstate *cs, cnode *root) argument
292 config_load(cnode *root, char *data) argument
312 config_load_file(cnode *root, const char *fn) argument
319 config_free(cnode *root) argument
[all...]
/system/core/libdiskconfig/
H A Ddiskconfig.c93 load_partitions(cnode *root, struct disk_info *dinfo) argument
98 for (partnode = root->first_child; partnode; partnode = partnode->next) {
145 cnode *root = config_node("", ""); local
161 config_load_file(root, fn);
162 if (root->first_child == NULL) {
167 if (!(devroot = config_find(root, "device"))) {
/system/core/init/
H A Ddevices.c380 /* skip root hub name and device. use device interface */
707 char *root, *loading, *data, *file1 = NULL, *file2 = NULL, *file3 = NULL; local
714 l = asprintf(&root, SYSFS_PREFIX"%s/", uevent->path);
718 l = asprintf(&loading, "%sloading", root);
722 l = asprintf(&data, "%sdata", root);
769 INFO("firmware: copy success { '%s', '%s' }\n", root, uevent->firmware);
771 INFO("firmware: copy failure { '%s', '%s' }\n", root, uevent->firmware);
786 free(root);
/system/core/sdcard/
H A Dsdcard.c47 * It must be run as root, but will drop to requested UID/GID as soon as it
123 struct node root; member in struct:fuse
298 /* all files owned by root.sdcard */
380 return &fuse->root;
430 memset(&fuse->root, 0, sizeof(fuse->root));
431 fuse->root.nid = FUSE_ROOT_ID; /* 1 */
432 fuse->root.refcount = 2;
433 fuse->root.namelen = strlen(source_path);
434 fuse->root
[all...]

Completed in 109 milliseconds