Searched defs:root (Results 1 - 4 of 4) sorted by relevance
/system/core/libcutils/ |
H A D | config_utils.c | 39 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 D | diskconfig.c | 93 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 D | devices.c | 404 /* skip root hub name and device. use device interface */ 728 char *root, *loading, *data, *file1 = NULL, *file2 = NULL; local 735 l = asprintf(&root, SYSFS_PREFIX"%s/", uevent->path); 739 l = asprintf(&loading, "%sloading", root); 743 l = asprintf(&data, "%sdata", root); 783 INFO("firmware: copy success { '%s', '%s' }\n", root, uevent->firmware); 785 INFO("firmware: copy failure { '%s', '%s' }\n", root, uevent->firmware); 800 free(root);
|
/system/core/sdcard/ |
H A D | sdcard.c | 45 * It must be run as root, but will change to uid/gid as soon as it 114 struct node root; member in struct:fuse 219 /* all files owned by root.sdcard */ 327 fuse->all = &fuse->root; 329 memset(&fuse->root, 0, sizeof(fuse->root)); 330 fuse->root.nid = FUSE_ROOT_ID; /* 1 */ 331 fuse->root.refcount = 2; 332 rename_node(&fuse->root, path); 349 return &fuse->root; [all...] |
Completed in 54 milliseconds