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

/system/core/init/
H A Ddevices.c362 char **links; local
369 links = malloc(sizeof(char *) * 2);
370 if (!links)
372 memset(links, 0, sizeof(char *) * 2);
393 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0)
396 links[link_num] = NULL;
403 return links;
405 free(links);
424 char **links = malloc(sizeof(char *) * 4); local
425 if (!links)
470 handle_device(const char *action, const char *devpath, const char *path, int block, int major, int minor, char **links) argument
534 char **links = NULL; local
555 char **links = NULL; local
[all...]

Completed in 485 milliseconds