Home
last modified time | relevance | path

Searched refs:orig_st (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/i915/
H A Di915_scatterlist.c15 bool i915_sg_trim(struct sg_table *orig_st) in i915_sg_trim() argument
21 if (orig_st->nents == orig_st->orig_nents) in i915_sg_trim()
24 if (sg_alloc_table(&new_st, orig_st->nents, GFP_KERNEL | __GFP_NOWARN)) in i915_sg_trim()
28 for_each_sg(orig_st->sgl, sg, orig_st->nents, i) { in i915_sg_trim()
37 sg_free_table(orig_st); in i915_sg_trim()
39 *orig_st = new_st; in i915_sg_trim()
H A Di915_scatterlist.h163 bool i915_sg_trim(struct sg_table *orig_st);