search for: dma_resv_init

Displaying 1 result from an estimated 1 matches for "dma_resv_init".

Did you mean: dma_resv_fini
2023 Aug 28
0
[PATCH v15 11/23] dma-resv: Add kref_put_dma_resv()
...> +static inline int kref_put_dma_resv(struct kref *kref, > + void (*release)(struct kref *kref), > + struct dma_resv *resv, > + struct ww_acquire_ctx *ctx) > +{ > + return kref_put_ww_mutex(kref, release, &resv->lock, ctx); > +} > + > void dma_resv_init(struct dma_resv *obj); > void dma_resv_fini(struct dma_resv *obj); > int dma_resv_reserve_fences(struct dma_resv *obj, unsigned int num_fences);