Searched refs:old_off (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | strset.c | 118 long old_off, new_off, len; in strset__find_str() local 130 if (hashmap__find(set->strs_hash, new_off, &old_off)) in strset__find_str() 131 return old_off; in strset__find_str() 144 long old_off, new_off, len; in strset__add_str() local 169 HASHMAP_ADD, &old_off, NULL); in strset__add_str() 171 return old_off; /* duplicated string, return existing offset */ in strset__add_str()
|
| /linux/tools/perf/util/ |
| H A D | auxtrace.c | 1920 size_t size, head_off, old_off, len1, len2, padding; in __auxtrace_mmap__read() local 1939 old_off = old & mm->mask; in __auxtrace_mmap__read() 1942 old_off = old % mm->len; in __auxtrace_mmap__read() 1945 if (head_off > old_off) in __auxtrace_mmap__read() 1946 size = head_off - old_off; in __auxtrace_mmap__read() 1948 size = mm->len - (old_off - head_off); in __auxtrace_mmap__read()
|