Searched refs:cached_dev (Results 1 – 1 of 1) sorted by relevance
159 static void darwin_deref_cached_device(struct darwin_cached_device *cached_dev) { in darwin_deref_cached_device() argument160 cached_dev->refcount--; in darwin_deref_cached_device()162 if (0 == cached_dev->refcount) { in darwin_deref_cached_device()163 list_del(&cached_dev->list); in darwin_deref_cached_device()165 (*(cached_dev->device))->Release(cached_dev->device); in darwin_deref_cached_device()166 free (cached_dev); in darwin_deref_cached_device()170 static void darwin_ref_cached_device(struct darwin_cached_device *cached_dev) { in darwin_ref_cached_device() argument171 cached_dev->refcount++; in darwin_ref_cached_device()