Lines Matching refs:rsgt
185 static inline void i915_refct_sgt_put(struct i915_refct_sgt *rsgt) in i915_refct_sgt_put() argument
187 if (rsgt) in i915_refct_sgt_put()
188 kref_put(&rsgt->kref, rsgt->ops->release); in i915_refct_sgt_put()
196 i915_refct_sgt_get(struct i915_refct_sgt *rsgt) in i915_refct_sgt_get() argument
198 kref_get(&rsgt->kref); in i915_refct_sgt_get()
199 return rsgt; in i915_refct_sgt_get()
210 static inline void __i915_refct_sgt_init(struct i915_refct_sgt *rsgt, in __i915_refct_sgt_init() argument
214 kref_init(&rsgt->kref); in __i915_refct_sgt_init()
215 rsgt->table.sgl = NULL; in __i915_refct_sgt_init()
216 rsgt->size = size; in __i915_refct_sgt_init()
217 rsgt->ops = ops; in __i915_refct_sgt_init()
220 void i915_refct_sgt_init(struct i915_refct_sgt *rsgt, size_t size);