Lines Matching refs:rsgt
195 static inline void i915_refct_sgt_put(struct i915_refct_sgt *rsgt) in i915_refct_sgt_put() argument
197 if (rsgt) in i915_refct_sgt_put()
198 kref_put(&rsgt->kref, rsgt->ops->release); in i915_refct_sgt_put()
206 i915_refct_sgt_get(struct i915_refct_sgt *rsgt) in i915_refct_sgt_get() argument
208 kref_get(&rsgt->kref); in i915_refct_sgt_get()
209 return rsgt; in i915_refct_sgt_get()
220 static inline void __i915_refct_sgt_init(struct i915_refct_sgt *rsgt, in __i915_refct_sgt_init() argument
224 kref_init(&rsgt->kref); in __i915_refct_sgt_init()
225 rsgt->table.sgl = NULL; in __i915_refct_sgt_init()
226 rsgt->size = size; in __i915_refct_sgt_init()
227 rsgt->ops = ops; in __i915_refct_sgt_init()
230 void i915_refct_sgt_init(struct i915_refct_sgt *rsgt, size_t size);