Lines Matching refs:btm
54 struct bpf_trace_module *btm; in bpf_get_raw_tracepoint_module() local
58 list_for_each_entry(btm, &bpf_trace_modules, list) { in bpf_get_raw_tracepoint_module()
59 for (i = 0; i < btm->module->num_bpf_raw_events; ++i) { in bpf_get_raw_tracepoint_module()
60 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
62 if (try_module_get(btm->module)) in bpf_get_raw_tracepoint_module()
2417 struct bpf_trace_module *btm, *tmp; in bpf_event_notify() local
2429 btm = kzalloc(sizeof(*btm), GFP_KERNEL); in bpf_event_notify()
2430 if (btm) { in bpf_event_notify()
2431 btm->module = module; in bpf_event_notify()
2432 list_add(&btm->list, &bpf_trace_modules); in bpf_event_notify()
2438 list_for_each_entry_safe(btm, tmp, &bpf_trace_modules, list) { in bpf_event_notify()
2439 if (btm->module == module) { in bpf_event_notify()
2440 list_del(&btm->list); in bpf_event_notify()
2441 kfree(btm); in bpf_event_notify()