Searched refs:start_offset (Results 1 – 2 of 2) sorted by relevance
/tools/testing/selftests/vm/ |
D | mlock-random-test.c | 163 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_within_limit() local 166 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit() 168 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit() 175 p + start_offset, lock_size); in test_mlock_within_limit() 235 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_outof_limit() local 238 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit() 240 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit() 246 p + start_offset, lock_size); in test_mlock_outof_limit()
|
/tools/perf/util/ |
D | intel-pt.c | 456 u64 offset, start_offset, start_ip; in intel_pt_walk_next_insn() local 508 start_offset = offset; in intel_pt_walk_next_insn() 561 e = intel_pt_cache_lookup(al.map->dso, machine, start_offset); in intel_pt_walk_next_insn() 567 intel_pt_cache_add(al.map->dso, machine, start_offset, insn_cnt, in intel_pt_walk_next_insn()
|