Lines Matching refs:af
1395 struct available_var_finder *af = data;
1400 vl = &af->vls[af->nvls - 1];
1405 ret = convert_variable_location(die_mem, af->pf.addr,
1406 af->pf.fb_ops, &af->pf.sp_die,
1407 af->pf.machine, NULL);
1410 bool externs = !af->child;
1431 ret2 = die_get_var_range(&af->pf.sp_die,
1444 if (af->child && dwarf_haspc(die_mem, af->pf.addr))
1454 static bool available_var_finder_overlap(struct available_var_finder *af)
1458 for (i = 0; i < af->nvls; i++) {
1459 if (af->pf.addr == af->vls[i].point.address)
1469 struct available_var_finder *af =
1481 if (available_var_finder_overlap(af))
1485 if (af->nvls == af->max_vls) {
1486 pr_warning("Too many( > %d) probe point found.\n", af->max_vls);
1489 vl = &af->vls[af->nvls++];
1492 ret = convert_to_trace_point(&pf->sp_die, af->mod, pf->addr,
1504 af->child = true;
1505 die_find_child(sc_die, collect_variables_cb, (void *)af, &die_mem);
1511 af->child = false;
1512 die_find_child(&pf->cu_die, collect_variables_cb, (void *)af, &die_mem);
1532 struct available_var_finder af = {
1539 *vls = zalloc(sizeof(struct variable_list) * af.max_vls);
1543 af.vls = *vls;
1544 af.nvls = 0;
1546 ret = debuginfo__find_probes(dbg, &af.pf);
1549 while (af.nvls--) {
1550 zfree(&af.vls[af.nvls].point.symbol);
1551 strlist__delete(af.vls[af.nvls].vars);
1557 return (ret < 0) ? ret : af.nvls;