Lines Matching defs:devpath
293 } else if(!strncmp(msg, "DEVPATH=", 8)) {
438 static void handle_device(const char *action, const char *devpath,
444 make_device(devpath, path, block, major, minor);
447 make_link(devpath, links[i]);
454 remove_link(devpath, links[i]);
456 unlink(devpath);
501 char devpath[96];
508 snprintf(devpath, sizeof(devpath), "%s%s", base, name);
514 handle_device(uevent->action, devpath, uevent->path, 1,
522 char devpath[96] = {0};
540 snprintf(devpath, sizeof(devpath), "/dev/bus/usb/%03d", bus_id);
541 mkdir(devpath, 0755);
542 snprintf(devpath, sizeof(devpath), "/dev/bus/usb/%03d/%03d", bus_id, device_id);
577 if (!devpath[0])
578 snprintf(devpath, sizeof(devpath), "%s%s", base, name);
580 handle_device(uevent->action, devpath, uevent->path, 0,