Lines Matching refs:modalias
51 char *modalias;
350 free(hwdb->modalias);
383 static int properties_prepare(sd_hwdb *hwdb, const char *modalias) {
388 assert(modalias);
390 if (streq_ptr(modalias, hwdb->modalias))
393 mod = strdup(modalias);
401 r = trie_search_f(hwdb, modalias);
405 free(hwdb->modalias);
406 hwdb->modalias = mod;
412 _public_ int sd_hwdb_get(sd_hwdb *hwdb, const char *modalias, const char *key, const char **_value) {
418 assert_return(modalias, -EINVAL);
421 r = properties_prepare(hwdb, modalias);
434 _public_ int sd_hwdb_seek(sd_hwdb *hwdb, const char *modalias) {
439 assert_return(modalias, -EINVAL);
441 r = properties_prepare(hwdb, modalias);