Lines Matching refs:sz

40 		u32 sz, struct rnd_state *prng)  in copy()  argument
50 src = create_lmem_or_internal(i915, sz); in copy()
54 sz = src->base.size; in copy()
55 dst = i915_gem_object_create_internal(i915, sz); in copy()
74 for (i = 0; i < sz / sizeof(u32); i++) in copy()
84 for (i = 0; i < sz / sizeof(u32); i++) in copy()
93 pr_err("%ps failed, size: %u\n", fn, sz); in copy()
107 pr_err("%ps timed out, size: %u\n", fn, sz); in copy()
113 for (i = 0; !err && i < sz / PAGE_SIZE; i++) { in copy()
118 fn, sz, x * sizeof(u32)); in copy()
259 u32 sz, struct rnd_state *prng) in clear() argument
270 obj = create_lmem_or_internal(i915, sz); in clear()
275 sz = obj->base.size; in clear()
293 for (i = 0; i < sz / sizeof(u32); i++) in clear()
306 fn, sz); in clear()
319 pr_err("%ps timed out, size: %u\n", fn, sz); in clear()
331 for (i = 0; !err && i < sz / PAGE_SIZE; i++) { in clear()
346 for (i = 0; i < sz / sizeof(u32); i++) in clear()
357 fn, sz); in clear()
366 ccs_bytes = GET_CCS_BYTES(i915, sz); in clear()
395 pr_err("%ps failed, size: %u\n", fn, sz); in clear()
437 migrate_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_copy() argument
439 return copy(migrate, __migrate_copy, sz, prng); in migrate_copy()
443 global_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in global_copy() argument
445 return copy(migrate, __global_copy, sz, prng); in global_copy()
475 migrate_clear(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_clear() argument
477 return clear(migrate, __migrate_clear, sz, prng); in migrate_clear()
481 global_clear(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in global_clear() argument
483 return clear(migrate, __global_clear, sz, prng); in global_clear()
653 create_init_lmem_internal(struct intel_gt *gt, size_t sz, bool try_lmem) in create_init_lmem_internal() argument
659 obj = i915_gem_object_create_lmem(gt->i915, sz, 0); in create_init_lmem_internal()
662 obj = i915_gem_object_create_internal(gt->i915, sz); in create_init_lmem_internal()
689 size_t sz) in __perf_clear_blt() argument
719 ce->engine->name, sz >> 10, in __perf_clear_blt()
720 div64_u64(mul_u32_u32(4 * sz, in __perf_clear_blt()
767 size_t sz) in __perf_copy_blt() argument
801 ce->engine->name, sz >> 10, in __perf_copy_blt()
802 div64_u64(mul_u32_u32(4 * sz, in __perf_copy_blt()
821 size_t sz; in perf_copy_blt() local
828 sz = src->base.size; in perf_copy_blt()
829 dst = create_init_lmem_internal(gt, sz, false); in perf_copy_blt()
842 sz); in perf_copy_blt()