Lines Matching refs:part_idx

121                                                 const char *name, unsigned part_idx)  in find_symbol()  argument
124 if ((symbol->part_idx == ~0u || symbol->part_idx == part_idx) && !strcmp(name, symbol->name)) in find_symbol()
176 static bool read_private_lds_symbols(struct ac_rtld_binary *binary, unsigned part_idx, in read_private_lds_symbols() argument
194 struct ac_rtld_part *part = &binary->parts[part_idx]; in read_private_lds_symbols()
219 s.part_idx = part_idx; in read_private_lds_symbols()
227 const struct ac_rtld_symbol *shared = find_symbol(&binary->lds_symbols, s.name, part_idx); in read_private_lds_symbols()
295 symbol->part_idx = ~0u; in ac_rtld_open()
321 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) { in ac_rtld_open() local
322 struct ac_rtld_part *part = &binary->parts[part_idx]; in ac_rtld_open()
326 part->elf = elf_memory((char *)i.elf_ptrs[part_idx], i.elf_sizes[part_idx]); in ac_rtld_open()
380 if (!read_private_lds_symbols(binary, part_idx, section, &lds_end_align)) in ac_rtld_open()
411 lds_end->part_idx = ~0u; in ac_rtld_open()
424 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) { in ac_rtld_open() local
425 struct ac_rtld_part *part = &binary->parts[part_idx]; in ac_rtld_open()
560 static bool resolve_symbol(const struct ac_rtld_upload_info *u, unsigned part_idx, in resolve_symbol() argument
566 const struct ac_rtld_symbol *lds_sym = find_symbol(&u->binary->lds_symbols, name, part_idx); in resolve_symbol()
582 struct ac_rtld_part *part = &u->binary->parts[part_idx]; in resolve_symbol()
600 static bool apply_relocs(const struct ac_rtld_upload_info *u, unsigned part_idx, in apply_relocs() argument
618 struct ac_rtld_part *part = &u->binary->parts[part_idx]; in apply_relocs()
667 if (!resolve_symbol(u, part_idx, sym, symbol_name, &symbol)) in apply_relocs()