Lines Matching refs:fsp
640 struct find_scope_param *fsp = data; in find_best_scope_cb() local
645 if (fsp->file) { in find_best_scope_cb()
647 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb()
651 if (fsp->function) { in find_best_scope_cb()
652 if (die_match_name(fn_die, fsp->function)) { in find_best_scope_cb()
653 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
654 fsp->found = true; in find_best_scope_cb()
660 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb()
662 fsp->diff = fsp->line - lno; in find_best_scope_cb()
663 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
664 fsp->found = true; in find_best_scope_cb()
673 struct find_scope_param *fsp = data; in find_inner_scope_cb() local
675 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_inner_scope_cb()
676 fsp->found = true; in find_inner_scope_cb()
683 struct find_scope_param fsp = { in find_best_scope() local
694 &fsp); in find_best_scope()
695 if (!ret && !fsp.found) in find_best_scope()
697 find_inner_scope_cb, &fsp); in find_best_scope()
699 return fsp.found ? die_mem : NULL; in find_best_scope()