Home
last modified time | relevance | path

Searched refs:sec_idx (Results 1 - 12 of 12) sorted by relevance

/third_party/elfutils/libdw/
H A Ddwarf_nextcu.c66 const size_t sec_idx = v4_debug_types ? IDX_debug_types : IDX_debug_info; in INTDEF() local
74 || unlikely (dwarf->sectiondata[sec_idx] == NULL) in INTDEF()
78 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) in INTDEF()
86 const unsigned char *data = dwarf->sectiondata[sec_idx]->d_buf; in INTDEF()
88 const unsigned char *bytes_end = data + dwarf->sectiondata[sec_idx]->d_size; in INTDEF()
216 >= dwarf->sectiondata[sec_idx]->d_size)) in INTDEF()
230 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, in INTDEF()
248 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, in INTDEF()
249 &subdie_off, sec_idx, 0)) in INTDEF()
H A Ddwarf_get_units.c57 v4type = cu->sec_idx != IDX_debug_info; in dwarf_get_units()
60 if (cu->sec_idx != IDX_debug_info && cu->sec_idx != IDX_debug_types) in dwarf_get_units()
H A Dlibdw_findcu.c141 size_t sec_idx = debug_types ? IDX_debug_types : IDX_debug_info; in __libdw_intern_next_unit() local
142 Elf_Data *data = dbg->sectiondata[sec_idx]; in __libdw_intern_next_unit()
150 newp->sec_idx = sec_idx; in __libdw_intern_next_unit()
H A Ddwarf_begin_elf.c308 result->fake_loc_cu->sec_idx = IDX_debug_loc; in valid_p()
336 result->fake_loclists_cu->sec_idx = IDX_debug_loclists; in valid_p()
369 result->fake_addr_cu->sec_idx = IDX_debug_addr; in valid_p()
H A DlibdwP.h340 size_t sec_idx; /* Normally .debug_info, could be .debug_type or "fake". */ member
400 #define ISV4TU(cu) ((cu)->version == 4 && (cu)->sec_idx == IDX_debug_types)
956 return cu->sec_idx; in cu_sec_idx()
H A Ddwarf_getmacros.c369 .sec_idx = sec_index, in read_macros()
H A Ddwarf_getsrclines.c311 .sec_idx = IDX_debug_line, in read_srclines()
/third_party/libbpf/src/
H A Dlinker.c40 size_t sec_idx; member
109 size_t sec_idx; member
365 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf()
366 linker->elf_hdr->e_shstrndx = sec->sec_idx; in init_output_elf()
367 linker->strtab_sec_idx = sec->sec_idx; in init_output_elf()
404 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf()
405 linker->symtab_sec_idx = sec->sec_idx; in init_output_elf()
601 size_t sec_idx = elf_ndxscn(scn); in linker_load_obj_file() local
608 sec_idx, filename); in linker_load_obj_file()
616 sec_idx, filenam in linker_load_obj_file()
2102 find_sym_by_name(struct src_obj *obj, size_t sec_idx, int sym_type, const char *sym_name) find_sym_by_name() argument
[all...]
H A Dlibbpf.c405 size_t sec_idx; member
527 int sec_idx; member
766 prog->sec_idx = -1; in bpf_program__exit()
791 const char *name, size_t sec_idx, const char *sec_name, in bpf_object__init_prog()
803 prog->sec_idx = sec_idx; in bpf_object__init_prog()
852 const char *sec_name, int sec_idx) in bpf_object__add_programs()
869 if (sym->st_shndx != sec_idx) in bpf_object__add_programs()
890 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
913 err = bpf_object__init_prog(obj, prog, name, sec_idx, sec_nam in bpf_object__add_programs()
790 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, const char *name, size_t sec_idx, const char *sec_name, size_t sec_off, void *insn_data, size_t insn_data_sz) bpf_object__init_prog() argument
851 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, const char *sec_name, int sec_idx) bpf_object__add_programs() argument
1721 bpf_object__init_internal_map(struct bpf_object *obj, enum libbpf_map_type type, const char *real_name, int sec_idx, void *data, size_t data_sz) global() argument
1785 int err = 0, sec_idx; global() local
2612 bpf_object__init_user_btf_map(struct bpf_object *obj, const struct btf_type *sec, int var_idx, int sec_idx, const Elf_Data *data, bool strict, const char *pin_root_path) global() argument
4598 find_prog_by_sec_insn(const struct bpf_object *obj, size_t sec_idx, size_t insn_idx) global() argument
4630 size_t sec_idx = shdr->sh_info, sym_idx; global() local
6197 int i, err = 0, insn_idx, sec_idx, sec_num; global() local
6471 int i, sec_num, sec_idx, off_adj; global() local
9560 find_struct_ops_map_by_offset(struct bpf_object *obj, int sec_idx, size_t offset) global() argument
[all...]
/third_party/exfatprogs/mkfs/
H A Dmkfs.c107 unsigned int sec_idx = BOOT_SEC_IDX; in exfat_write_boot_sector() local
111 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_boot_sector()
123 ret = exfat_write_sector(bd, ppbr, sec_idx); in exfat_write_boot_sector()
145 unsigned int sec_idx = EXBOOT_SEC_IDX; in exfat_write_extended_boot_sectors() local
152 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_extended_boot_sectors()
158 if (exfat_write_sector(bd, peb, sec_idx++)) { in exfat_write_extended_boot_sectors()
178 unsigned int sec_idx = OEM_SEC_IDX; in exfat_write_oem_sector() local
185 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_oem_sector()
188 ret = exfat_write_sector(bd, oem, sec_idx); in exfat_write_oem_sector()
200 ret = exfat_write_sector(bd, oem, sec_idx in exfat_write_oem_sector()
[all...]
/third_party/exfatprogs/lib/
H A Dlibexfat.c530 unsigned int sec_idx = CHECKSUM_SEC_IDX; in exfat_write_checksum_sector() local
537 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_checksum_sector()
542 ret = exfat_write_sector(bd, checksum_buf, sec_idx); in exfat_write_checksum_sector()
588 int ret, sec_idx, backup_sec_idx = 0; in exfat_update_boot_checksum() local
600 for (sec_idx = BOOT_SEC_IDX; sec_idx < CHECKSUM_SEC_IDX; sec_idx++) { in exfat_update_boot_checksum()
603 ret = exfat_read_sector(bd, buf, sec_idx + backup_sec_idx); in exfat_update_boot_checksum()
605 exfat_err("sector(%d) read failed\n", sec_idx); in exfat_update_boot_checksum()
610 if (sec_idx in exfat_update_boot_checksum()
[all...]
/third_party/elfutils/src/
H A Dreadelf.c7935 cu_mem.sec_idx = IDX_debug_info; in print_debug_units()
7954 if (cu->sec_idx != (size_t) (debug_types ? IDX_debug_types : IDX_debug_info)) in print_debug_units()

Completed in 34 milliseconds