Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/bpf/
H A 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()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dauxtrace.c1661 size_t size, head_off, old_off, len1, len2, padding; in __auxtrace_mmap__read() local
1682 old_off = old & mm->mask; in __auxtrace_mmap__read()
1685 old_off = old % mm->len; in __auxtrace_mmap__read()
1688 if (head_off > old_off) in __auxtrace_mmap__read()
1689 size = head_off - old_off; in __auxtrace_mmap__read()
1691 size = mm->len - (old_off - head_off); in __auxtrace_mmap__read()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf.c1477 long old_off, new_off, len; in btf__find_str() local
1493 if (hashmap__find(btf->strs_hash, (void *)new_off, (void **)&old_off)) in btf__find_str()
1494 return old_off; in btf__find_str()
1506 long old_off, new_off, len; in btf__add_str() local
1534 HASHMAP_ADD, (const void **)&old_off, NULL); in btf__add_str()
1536 return old_off; /* duplicated string, return existing offset */ in btf__add_str()