Searched defs:db (Results 1 - 2 of 2) sorted by relevance
/systemd/src/libsystemd/sd-device/ |
H A D | device-private.c | 136 log_debug("device db: unknown key '%c'", key); 178 _cleanup_free_ char *db = NULL; local 205 r = read_full_file(path, &db, &db_len); 210 return log_debug_errno(r, "sd-device: failed to read db '%s': %m", path); 219 if (!strchr(NEWLINE, db[i])) { 220 key = db[i]; 227 if (db[i] != ':') { 228 log_debug("sd-device: ignoring invalid db entry with key '%c'", key); 232 db[i] = '\0'; 239 value = &db[ [all...] |
H A D | sd-device.c | 96 int device_add_property_aux(sd_device *device, const char *_key, const char *_value, bool db) { argument 102 if (db) 138 if (!db) { 1184 log_debug("device db: unknown key '%c'", key); 1254 _cleanup_free_ char *db = NULL; local 1281 r = read_full_file(path, &db, &db_len); 1286 return log_debug_errno(r, "sd-device: failed to read db '%s': %m", path); 1295 if (!strchr(NEWLINE, db[i])) { 1296 key = db[i]; 1303 if (db[ [all...] |
Completed in 877 milliseconds