Searched refs:start_offset (Results 1 – 2 of 2) sorted by relevance
/tools/testing/selftests/vm/ |
D | mlock-random-test.c | 162 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_within_limit() local 165 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit() 167 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit() 174 p + start_offset, lock_size); in test_mlock_within_limit() 234 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_outof_limit() local 237 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit() 239 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit() 245 p + start_offset, lock_size); in test_mlock_outof_limit()
|
/tools/perf/util/ |
D | intel-pt.c | 440 u64 offset, start_offset, start_ip; in intel_pt_walk_next_insn() local 490 start_offset = offset; in intel_pt_walk_next_insn() 542 e = intel_pt_cache_lookup(al.map->dso, machine, start_offset); in intel_pt_walk_next_insn() 548 intel_pt_cache_add(al.map->dso, machine, start_offset, insn_cnt, in intel_pt_walk_next_insn()
|