Home
last modified time | relevance | path

Searched refs:devpath_b (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/libsystemd/sd-device/
Ddevice-enumerator.c276 static int sound_device_compare(const char *devpath_a, const char *devpath_b) { in sound_device_compare() argument
281 assert(devpath_b); in sound_device_compare()
300 if (!strneq(devpath_a, devpath_b, prefix_len)) in sound_device_compare()
303 sound_b = devpath_b + prefix_len; in sound_device_compare()
316 const char *devpath_a, *devpath_b; in device_compare() local
325 assert_se(sd_device_get_devpath(*(sd_device**) b, &devpath_b) >= 0); in device_compare()
327 r = sound_device_compare(devpath_a, devpath_b); in device_compare()
332 r = CMP(devpath_is_late_block(devpath_a), devpath_is_late_block(devpath_b)); in device_compare()
336 return path_compare(devpath_a, devpath_b); in device_compare()