Lines Matching refs:iter
32 struct kallsym_iter *iter = ctx->ksym; in dump_ksym() local
37 if (!iter) in dump_ksym()
45 BPF_SEQ_PRINTF(seq, "0x%x\n", iter->value - last_sym_value); in dump_ksym()
49 value = iter->show_value ? iter->value : 0; in dump_ksym()
53 type = iter->type; in dump_ksym()
55 if (iter->module_name[0]) { in dump_ksym()
56 type = iter->exported ? to_upper(type) : to_lower(type); in dump_ksym()
58 value, type, iter->name, iter->module_name); in dump_ksym()
60 BPF_SEQ_PRINTF(seq, "0x%llx %c %s ", value, type, iter->name); in dump_ksym()
62 if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) in dump_ksym()
64 else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) in dump_ksym()
66 else if (!iter->pos_bpf_end || iter->pos_bpf_end > iter->pos) in dump_ksym()