/third_party/elfutils/libdw/ |
D | dwarf_nextcu.c | 66 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()
|
D | dwarf_get_units.c | 57 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()
|
D | libdw_findcu.c | 141 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()
|
D | dwarf_begin_elf.c | 308 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()
|
D | libdwP.h | 340 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()
|
D | dwarf_getmacros.c | 369 .sec_idx = sec_index, in read_macros()
|
D | dwarf_getsrclines.c | 311 .sec_idx = IDX_debug_line, in read_srclines()
|
D | ChangeLog | 1053 * libdwP.h (struct Dwarf_CU): Add sec_idx field. 1054 (cu_sec_idx): Return cu->sec_idx. 1055 * libdw_findcu.c (__libdw_intern_next_unit): Set cu sec_idx to 1057 * dwarf_begin_elf.c (valid_p): Set fake_loc_cu->sec_idx to 1059 * dwarf_getmacros.c (read_macros): Set fake_cu->sec_idx to
|
/third_party/libbpf/src/ |
D | linker.c | 40 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, filename); in linker_load_obj_file() [all …]
|
D | libbpf.c | 403 size_t sec_idx; member 522 int sec_idx; member 758 prog->sec_idx = -1; in bpf_program__exit() 783 const char *name, size_t sec_idx, const char *sec_name, in bpf_object__init_prog() argument 795 prog->sec_idx = sec_idx; in bpf_object__init_prog() 843 const char *sec_name, int sec_idx) in bpf_object__add_programs() argument 861 if (sym->st_shndx != sec_idx) in bpf_object__add_programs() 882 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs() 905 err = bpf_object__init_prog(obj, prog, name, sec_idx, sec_name, in bpf_object__add_programs() 1263 map->sec_idx = obj->efile.st_ops_shndx; in bpf_object__init_struct_ops_maps() [all …]
|
/third_party/exfatprogs/mkfs/ |
D | mkfs.c | 107 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 + 1); in exfat_write_oem_sector()
|
/third_party/exfatprogs/lib/ |
D | libexfat.c | 530 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 == BOOT_SEC_IDX) in exfat_update_boot_checksum()
|
/third_party/elfutils/src/ |
D | readelf.c | 7934 cu_mem.sec_idx = IDX_debug_info; in print_debug_units() 7953 if (cu->sec_idx != (size_t) (debug_types ? IDX_debug_types : IDX_debug_info)) in print_debug_units()
|