Home
last modified time | relevance | path

Searched refs:new_off (Results 1 – 6 of 6) sorted by relevance

/tools/lib/bpf/
Dstrset.c118 long old_off, new_off, len; in strset__find_str() local
127 new_off = set->strs_data_len; in strset__find_str()
130 if (hashmap__find(set->strs_hash, (void *)new_off, (void **)&old_off)) in strset__find_str()
144 long old_off, new_off, len; in strset__add_str() local
161 new_off = set->strs_data_len; in strset__add_str()
168 err = hashmap__insert(set->strs_hash, (void *)new_off, (void *)new_off, in strset__add_str()
176 return new_off; in strset__add_str()
Dbtf_dump.c857 int new_off, pad_bits, bits, i; in btf_dump_emit_bit_padding() local
885 new_off = roundup(cur_off, pad_bits); in btf_dump_emit_bit_padding()
886 if (new_off <= next_off) in btf_dump_emit_bit_padding()
890 if (new_off > cur_off && new_off <= next_off) { in btf_dump_emit_bit_padding()
901 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
902 (new_off != next_off && next_off - new_off <= new_off - cur_off)) in btf_dump_emit_bit_padding()
905 in_bitfield ? new_off - cur_off : 0); in btf_dump_emit_bit_padding()
906 cur_off = new_off; in btf_dump_emit_bit_padding()
/tools/objtool/
Dspecial.c112 reloc_to_sec_off(new_reloc, &alt->new_sec, &alt->new_off); in get_alt_entry()
115 if (alt->new_off >= 0x7ffffff0) in get_alt_entry()
116 alt->new_off -= 0x7ffffff0; in get_alt_entry()
Dcheck.c1436 nop->offset = special_alt->new_off + special_alt->new_len; in handle_group_alt()
1453 if (insn->offset >= special_alt->new_off + special_alt->new_len) in handle_group_alt()
1486 if (dest_off == special_alt->new_off + special_alt->new_len) in handle_group_alt()
1498 special_alt->new_sec, special_alt->new_off); in handle_group_alt()
1593 special_alt->new_off); in add_special_section_alts()
1597 special_alt->new_off); in add_special_section_alts()
/tools/objtool/include/objtool/
Dspecial.h27 unsigned long new_off; member
/tools/objtool/arch/x86/
Dspecial.c50 return insn->offset == special_alt->new_off && in arch_support_alt_relocation()