Searched refs:new_syspath (Results 1 – 2 of 2) sorted by relevance
750 _cleanup_free_ char *new_syspath = NULL; in device_rename() local760 r = path_extract_directory(device->syspath, &new_syspath); in device_rename()764 if (!path_extend(&new_syspath, name)) in device_rename()767 if (!path_is_safe(new_syspath)) in device_rename()772 r = device_set_syspath(device, new_syspath, false); in device_rename()
166 _cleanup_free_ char *real_sys = NULL, *new_syspath = NULL; in device_set_syspath() local180 new_syspath = path_join("/sys", p); in device_set_syspath()181 if (!new_syspath) in device_set_syspath()184 free_and_replace(syspath, new_syspath); in device_set_syspath()