Lines Matching full:temp
37 char *device_name = 0, *s, *temp;
45 temp = strrchr(path, '/');
47 *temp = 0;
60 if (!(temp = getenv("MODALIAS"))) xrun((char *[]){"modprobe", temp, 0});
61 if (!(temp = getenv("SUBSYSTEM"))) return;
62 type = strcmp(temp, "block") ? S_IFCHR : S_IFBLK;
63 if (!(temp = getenv("MAJOR"))) return;
64 sscanf(temp, "%u", &major);
65 if (!(temp = getenv("MINOR"))) return;
66 sscanf(temp, "%u", &minor);
74 while ((temp = strchr(device_name, '!'))) {
75 *temp = '/';
186 if ((temp=getenv("ACTION")) && !strcmp(temp, "remove")) {