Lines Matching refs:ctx
742 struct sym_count_ctx *ctx = data;
744 if (strcmp(name, ctx->name) == 0)
745 ctx->count++;
752 struct sym_count_ctx ctx = { .count = 0, .name = func_name };
754 kallsyms_on_each_match_symbol(count_symbols, func_name, &ctx.count);
756 module_kallsyms_on_each_symbol(NULL, count_mod_symbols, &ctx);
758 return ctx.count;
804 struct traceprobe_parse_context ctx = { .flags = TPARG_FL_KERNEL };
885 ctx.flags |= TPARG_FL_RETURN;
888 ctx.flags |= TPARG_FL_FENTRY;
942 ctx.funcname = symbol;
944 abuf, MAX_BTF_ARGS_LEN, &ctx);
972 ctx.offset = 0;
973 ret = traceprobe_parse_probe_arg(&tk->tp, i, argv[i], &ctx);
1001 traceprobe_finish_parse(&ctx);