/third_party/eudev/test/ |
D | udev-test.pl | 34 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 43 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 52 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 61 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 70 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 78 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 89 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 98 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 107 devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0", 115 devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0", [all …]
|
D | test-udev.c | 95 const char *devpath; in main() local 119 devpath = argv[2]; in main() 120 if (devpath == NULL) { in main() 127 strscpyl(syspath, sizeof(syspath), "/sys", devpath, NULL); in main() 130 log_debug("unknown device '%s'", devpath); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl_sg01.c | 46 static char devpath[PATH_MAX]; in find_generic_scsi_device() local 59 snprintf(devpath, PATH_MAX, "/dev/%s", ent->d_name); in find_generic_scsi_device() 61 tmpfd = open(devpath, access_flags); in find_generic_scsi_device() 66 return devpath; in find_generic_scsi_device() 76 const char *devpath = find_generic_scsi_device(O_RDONLY); in setup() local 78 if (!devpath) in setup() 81 tst_res(TINFO, "Found SCSI device %s", devpath); in setup() 86 devfd = SAFE_OPEN(devpath, O_RDONLY); in setup()
|
/third_party/alsa-utils/alsactl/ |
D | init_sysfs.c | 72 static char *sysfs_attr_get_value(const char *devpath, const char *attr_name) in sysfs_attr_get_value() argument 84 dbg("open '%s'/'%s'", devpath, attr_name); in sysfs_attr_get_value() 87 strlcat(path_full, devpath, sizeof(path_full)); in sysfs_attr_get_value()
|
/third_party/eudev/src/udev/ |
D | udevd.c | 95 const char *devpath; member 487 event->devpath = udev_device_get_devpath(dev); in event_queue_insert() 488 event->devpath_len = strlen(event->devpath); in event_queue_insert() 545 if (event->devpath_old != NULL && streq(loop_event->devpath, event->devpath_old)) { in is_devpath_busy() 554 if (memcmp(loop_event->devpath, event->devpath, common) != 0) in is_devpath_busy() 569 if (event->devpath[common] == '/') { in is_devpath_busy() 575 if (loop_event->devpath[common] == '/') { in is_devpath_busy() 965 … log_error("worker ["PID_FMT"] failed while handling '%s'", pid, worker->event->devpath); in handle_signal() 1439 … log_error("worker ["PID_FMT"] %s timeout; kill it", worker->pid, event->devpath); in main() 1443 … log_error("seq %llu '%s' killed", udev_device_get_seqnum(event->dev), event->devpath); in main() [all …]
|
D | udev-builtin-input_id.c | 61 static void extract_info(struct udev_device *dev, const char *devpath, bool test) { in extract_info() argument 66 fd = open(devpath, O_RDONLY|O_CLOEXEC); in extract_info()
|
/third_party/eudev/src/libudev/ |
D | libudev-device.c | 63 const char *devpath; member 298 if (startswith(udev_device->devpath, "/module/")) { in udev_device_get_subsystem() 302 if (strstr(udev_device->devpath, "/drivers/") != NULL) { in udev_device_get_subsystem() 306 if (startswith(udev_device->devpath, "/subsystem/") || in udev_device_get_subsystem() 307 startswith(udev_device->devpath, "/class/") || in udev_device_get_subsystem() 308 startswith(udev_device->devpath, "/bus/")) { in udev_device_get_subsystem() 421 udev_device->devpath = udev_device->syspath + strlen("/sys"); in udev_device_set_syspath() 422 udev_device_add_property_internal(udev_device, "DEVPATH", udev_device->devpath); in udev_device_set_syspath() 569 if (udev_device->devpath == NULL || udev_device->subsystem == NULL) in udev_device_add_property_from_string_parse_finish() 1248 return udev_device->devpath; in udev_device_get_devpath() [all …]
|
D | libudev-private.h | 122 ssize_t udev_queue_read_devpath(FILE *queue_file, char *devpath, size_t size);
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 55 void joystick_udev_callback(SDL_UDEV_deviceevent udev_type, int udev_class, const char *devpath); 138 void joystick_udev_callback(SDL_UDEV_deviceevent udev_type, int udev_class, const char *devpath) in joystick_udev_callback() argument 140 if (devpath == NULL) { in joystick_udev_callback() 149 MaybeAddDevice(devpath); in joystick_udev_callback() 153 MaybeRemoveDevice(devpath); in joystick_udev_callback()
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/linux/ |
D | SDL_syshaptic.c | 52 void haptic_udev_callback(SDL_UDEV_deviceevent udev_type, int udev_class, const char *devpath); 214 void haptic_udev_callback(SDL_UDEV_deviceevent udev_type, int udev_class, const char *devpath) in haptic_udev_callback() argument 216 if (devpath == NULL || !(udev_class & SDL_UDEV_DEVICE_JOYSTICK)) { in haptic_udev_callback() 223 MaybeAddDevice(devpath); in haptic_udev_callback() 227 MaybeRemoveDevice(devpath); in haptic_udev_callback()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_udev.h | 60 …def void (*SDL_UDEV_Callback)(SDL_UDEV_deviceevent udev_type, int udev_class, const char *devpath);
|
/third_party/NuttX/ |
D | ReleaseNotes | 29429 * [#2500](https://github.com/apache/incubator-nuttx/pull/2500) stm32/common: devpath not long enoug…
|