Lines Matching refs:temp
41 char *device_name = 0, *custom_name = 0, *s, *temp;
50 temp = strrchr(path, '/');
52 *temp = 0;
65 if (!(temp = getenv("MODALIAS"))) xrun((char *[]){"modprobe", temp, 0});
66 if (!(temp = getenv("SUBSYSTEM"))) return;
67 type = strcmp(temp, "block") ? S_IFCHR : S_IFBLK;
68 if (!(temp = getenv("MAJOR"))) return;
69 sscanf(temp, "%u", &major);
70 if (!(temp = getenv("MINOR"))) return;
71 sscanf(temp, "%u", &minor);
79 while ((temp = strchr(device_name, '!'))) {
80 *temp = '/';
237 if ((temp=getenv("ACTION")) && !strcmp(temp, "remove")) {