Lines Matching refs:fsp
760 struct find_scope_param *fsp = data; in find_best_scope_cb() local
765 if (fsp->file) { in find_best_scope_cb()
767 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb()
771 if (fsp->function) { in find_best_scope_cb()
772 if (die_match_name(fn_die, fsp->function)) { in find_best_scope_cb()
773 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
774 fsp->found = true; in find_best_scope_cb()
780 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb()
782 fsp->diff = fsp->line - lno; in find_best_scope_cb()
783 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
784 fsp->found = true; in find_best_scope_cb()
793 struct find_scope_param *fsp = data; in find_inner_scope_cb() local
795 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_inner_scope_cb()
796 fsp->found = true; in find_inner_scope_cb()
803 struct find_scope_param fsp = { in find_best_scope() local
814 &fsp); in find_best_scope()
815 if (!ret && !fsp.found) in find_best_scope()
817 find_inner_scope_cb, &fsp); in find_best_scope()
819 return fsp.found ? die_mem : NULL; in find_best_scope()