Searched refs:kref (Results 1 – 4 of 4) sorted by relevance
86 struct drm_nouveau_gem_pushbuf_bo *kref; in pushbuf_kref_fits() local123 kref = krec->buffer; in pushbuf_kref_fits()124 for (i = 0; i < krec->nr_buffer; i++, kref++) { in pushbuf_kref_fits()125 if (!(kref->valid_domains & NOUVEAU_GEM_DOMAIN_GART)) in pushbuf_kref_fits()128 kbo = (void *)(unsigned long)kref->user_priv; in pushbuf_kref_fits()129 if (!(kref->valid_domains & NOUVEAU_GEM_DOMAIN_VRAM) || in pushbuf_kref_fits()133 kref->valid_domains &= NOUVEAU_GEM_DOMAIN_VRAM; in pushbuf_kref_fits()154 struct drm_nouveau_gem_pushbuf_bo *kref; in pushbuf_kref() local173 kref = cli_kref_get(push->client, bo); in pushbuf_kref()174 if (kref) { in pushbuf_kref()[all …]
26 struct drm_nouveau_gem_pushbuf_bo *kref; member32 struct nouveau_client_kref *kref; member46 struct drm_nouveau_gem_pushbuf_bo *kref = NULL; in cli_kref_get() local48 kref = pcli->kref[bo->handle].kref; in cli_kref_get()49 return kref; in cli_kref_get()58 push = pcli->kref[bo->handle].push; in cli_push_get()64 struct drm_nouveau_gem_pushbuf_bo *kref, in cli_kref_set() argument69 pcli->kref = realloc(pcli->kref, in cli_kref_set()70 sizeof(*pcli->kref) * bo->handle * 2); in cli_kref_set()72 pcli->kref[pcli->kref_nr].kref = NULL; in cli_kref_set()[all …]
585 free(pcli->kref); in nouveau_client_del()
284 struct kref {int x; }; struct345 struct kref ref;2430 static void fsg_common_release(struct kref *ref);2548 static void fsg_common_release(struct kref *ref) in fsg_common_release()