Home
last modified time | relevance | path

Searched refs:old_off (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c128 s64 off, old_off; in nfp_bpf_stack_arg_ok() local
150 old_off = old_arg->reg.var_off.value + old_arg->reg.off; in nfp_bpf_stack_arg_ok()
151 old_arg->var_off |= off != old_off; in nfp_bpf_stack_arg_ok()
348 s32 old_off, new_off; in nfp_bpf_check_stack_access() local
361 old_off = meta->ptr.off + meta->ptr.var_off.value; in nfp_bpf_check_stack_access()
364 meta->ptr_not_const |= old_off != new_off; in nfp_bpf_check_stack_access()
369 if (old_off % 4 == new_off % 4) in nfp_bpf_check_stack_access()
373 old_off, new_off); in nfp_bpf_check_stack_access()
/Linux-v5.10/tools/perf/util/
Dauxtrace.c1665 size_t size, head_off, old_off, len1, len2, padding; in __auxtrace_mmap__read() local
1686 old_off = old & mm->mask; in __auxtrace_mmap__read()
1689 old_off = old % mm->len; in __auxtrace_mmap__read()
1692 if (head_off > old_off) in __auxtrace_mmap__read()
1693 size = head_off - old_off; in __auxtrace_mmap__read()
1695 size = mm->len - (old_off - head_off); in __auxtrace_mmap__read()
/Linux-v5.10/tools/lib/bpf/
Dbtf.c1480 long old_off, new_off, len; in btf__find_str() local
1496 if (hashmap__find(btf->strs_hash, (void *)new_off, (void **)&old_off)) in btf__find_str()
1497 return old_off; in btf__find_str()
1509 long old_off, new_off, len; in btf__add_str() local
1537 HASHMAP_ADD, (const void **)&old_off, NULL); in btf__add_str()
1539 return old_off; /* duplicated string, return existing offset */ in btf__add_str()