Searched refs:upath (Results 1 – 1 of 1) sorted by relevance
/system/core/init/ |
D | devices.c | 132 void fixup_sys_perms(const char *upath) in fixup_sys_perms() argument 144 if (strncmp(upath, dp->name + 4, strlen(dp->name + 4))) in fixup_sys_perms() 147 if (fnmatch(dp->name + 4, upath, FNM_PATHNAME) != 0) in fixup_sys_perms() 150 if (strcmp(upath, dp->name + 4)) in fixup_sys_perms() 154 if ((strlen(upath) + strlen(dp->attr) + 6) > sizeof(buf)) in fixup_sys_perms() 157 sprintf(buf,"/sys%s/%s", upath, dp->attr); in fixup_sys_perms() 164 int len = snprintf(buf, sizeof(buf), "/sys%s", upath); in fixup_sys_perms() 235 const char *upath UNUSED, in make_device()
|