Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dstrset.c118 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
166 * string exists, we'll get its offset in old_off (that's old_key). in strset__add_str()
169 HASHMAP_ADD, &old_off, NULL); in strset__add_str()
171 return old_off; /* duplicated string, return existing offset */ in strset__add_str()
/linux/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()