Lines Matching refs:devpath
324 } else if(!strncmp(msg, "DEVPATH=", 8)) {
468 static void handle_device(const char *action, const char *devpath,
474 make_device(devpath, path, block, major, minor);
477 make_link(devpath, links[i]);
484 remove_link(devpath, links[i]);
486 unlink(devpath);
531 char devpath[96];
538 snprintf(devpath, sizeof(devpath), "%s%s", base, name);
544 handle_device(uevent->action, devpath, uevent->path, 1,
552 char devpath[96] = {0};
566 char *p = devpath;
567 snprintf(devpath, sizeof(devpath), "/dev/%s", uevent->device_name);
574 make_dir(devpath, 0755);
590 snprintf(devpath, sizeof(devpath), "/dev/bus/usb/%03d", bus_id);
591 make_dir(devpath, 0755);
592 snprintf(devpath, sizeof(devpath), "/dev/bus/usb/%03d/%03d", bus_id, device_id);
631 if (!devpath[0])
632 snprintf(devpath, sizeof(devpath), "%s%s", base, name);
634 handle_device(uevent->action, devpath, uevent->path, 0,