Lines Matching refs:offset
170 static void alloc_shm(size_t sz, uint32_t algo, int offset) in alloc_shm() argument
175 in_shm.size = sz + offset; in alloc_shm()
309 unsigned int l, int random_in, int offset, in hash_perf_run_test() argument
330 alloc_shm(size, algo, offset); in hash_perf_run_test()
333 memset((uint8_t *)in_shm.buffer + offset, 0, size); in hash_perf_run_test()
339 op.params[0].memref.offset = 0; in hash_perf_run_test()
340 op.params[0].memref.size = size + offset; in hash_perf_run_test()
342 op.params[1].memref.offset = 0; in hash_perf_run_test()
345 op.params[2].value.b = offset; in hash_perf_run_test()
350 verbose("unaligned=%s, ", yesno(offset)); in hash_perf_run_test()
357 t = run_test_once((uint8_t *)in_shm.buffer + offset, size, in hash_perf_run_test()
422 int offset = 0; /* Buffer offset wrt. alloc'ed address (-u) */ in hash_perf_runner_cmd_parser() local
478 offset = 1; in hash_perf_runner_cmd_parser()
493 hash_perf_run_test(algo, size, n, l, random_in, offset, warmup, verbosity); in hash_perf_runner_cmd_parser()