for HW devices.
allocated using these functions is reclaimed when the corresponding device is deleted.