Lines Matching defs:sysname
208 _public_ int sd_device_enumerator_add_match_sysname(sd_device_enumerator *enumerator, const char *sysname) {
212 assert_return(sysname, -EINVAL);
218 r = set_put_strdup(enumerator->match_sysname, sysname);
451 static bool match_sysname(sd_device_enumerator *enumerator, const char *sysname) {
456 assert(sysname);
462 if (fnmatch(sysname_match, sysname, 0) == 0)
644 const char *subsystem, *sysname;
668 k = sd_device_get_sysname(device, &sysname);
674 if (!match_sysname(enumerator, sysname))
714 const char *subsystem, *sysname;
733 r = sd_device_get_sysname(device, &sysname);
737 if (!match_sysname(enumerator, sysname))