Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c5286 u32 sec_off; in i40e_find_section_in_profile() local
5295 sec_off = sec_tbl->section_offset[i]; in i40e_find_section_in_profile()
5296 sec = I40E_SECTION_HEADER(profile, sec_off); in i40e_find_section_in_profile()
5364 u32 sec_off; in i40e_validate_profile() local
5389 sec_off = sec_tbl->section_offset[i]; in i40e_validate_profile()
5390 sec = I40E_SECTION_HEADER(profile, sec_off); in i40e_validate_profile()
5430 u32 sec_off; in i40e_write_profile() local
5440 sec_off = sec_tbl->section_offset[i]; in i40e_write_profile()
5441 sec = I40E_SECTION_HEADER(profile, sec_off); in i40e_write_profile()
5492 u32 sec_off; in i40e_rollback_profile() local
[all …]
/linux/tools/lib/bpf/
H A Dlibbpf.c798 size_t sec_off, void *insn_data, size_t insn_data_sz) in bpf_object__init_prog() argument
800 if (insn_data_sz == 0 || insn_data_sz % BPF_INSN_SZ || sec_off % BPF_INSN_SZ) { in bpf_object__init_prog()
802 sec_name, name, sec_off, insn_data_sz); in bpf_object__init_prog()
810 prog->sec_insn_off = sec_off / BPF_INSN_SZ; in bpf_object__init_prog()
863 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs() local
881 sec_off = sym->st_value; in bpf_object__add_programs()
886 sec_name, sec_off); in bpf_object__add_programs()
890 if (sec_off + prog_sz > sec_sz) { in bpf_object__add_programs()
892 sec_name, sec_off); in bpf_object__add_programs()
902 sec_name, name, sec_off / BPF_INSN_SZ, sec_off, prog_sz / BPF_INSN_SZ, prog_sz); in bpf_object__add_programs()
[all …]