block alloc: add lifecycle APIs for cache_entry structs