Lines Matching refs:op_funcs
42 const char *op_funcs[F_MAX_OP]; member
235 fn_name = fs_configs[fs_type].op_funcs[i]; in check_fentry()
250 err = err ?: bpf_program__set_attach_target(obj->progs.file_read_fentry, 0, cfg->op_funcs[F_READ]); in fentry_set_attach_target()
251 err = err ?: bpf_program__set_attach_target(obj->progs.file_read_fexit, 0, cfg->op_funcs[F_READ]); in fentry_set_attach_target()
252 …err = err ?: bpf_program__set_attach_target(obj->progs.file_write_fentry, 0, cfg->op_funcs[F_WRITE… in fentry_set_attach_target()
253 …err = err ?: bpf_program__set_attach_target(obj->progs.file_write_fexit, 0, cfg->op_funcs[F_WRITE]… in fentry_set_attach_target()
254 err = err ?: bpf_program__set_attach_target(obj->progs.file_open_fentry, 0, cfg->op_funcs[F_OPEN]); in fentry_set_attach_target()
255 err = err ?: bpf_program__set_attach_target(obj->progs.file_open_fexit, 0, cfg->op_funcs[F_OPEN]); in fentry_set_attach_target()
256 …err = err ?: bpf_program__set_attach_target(obj->progs.file_sync_fentry, 0, cfg->op_funcs[F_FSYNC]… in fentry_set_attach_target()
257 err = err ?: bpf_program__set_attach_target(obj->progs.file_sync_fexit, 0, cfg->op_funcs[F_FSYNC]); in fentry_set_attach_target()
258 if (cfg->op_funcs[F_GETATTR]) { in fentry_set_attach_target()
259 …err = err ?: bpf_program__set_attach_target(obj->progs.getattr_fentry, 0, cfg->op_funcs[F_GETATTR]… in fentry_set_attach_target()
260 …err = err ?: bpf_program__set_attach_target(obj->progs.getattr_fexit, 0, cfg->op_funcs[F_GETATTR]); in fentry_set_attach_target()
302 …_read_entry = bpf_program__attach_kprobe(obj->progs.file_read_entry, false, cfg->op_funcs[F_READ]); in attach_kprobes()
305 …ile_read_exit = bpf_program__attach_kprobe(obj->progs.file_read_exit, true, cfg->op_funcs[F_READ]); in attach_kprobes()
309 …ite_entry = bpf_program__attach_kprobe(obj->progs.file_write_entry, false, cfg->op_funcs[F_WRITE]); in attach_kprobes()
312 …_write_exit = bpf_program__attach_kprobe(obj->progs.file_write_exit, true, cfg->op_funcs[F_WRITE]); in attach_kprobes()
316 …_open_entry = bpf_program__attach_kprobe(obj->progs.file_open_entry, false, cfg->op_funcs[F_OPEN]); in attach_kprobes()
319 …ile_open_exit = bpf_program__attach_kprobe(obj->progs.file_open_exit, true, cfg->op_funcs[F_OPEN]); in attach_kprobes()
323 …sync_entry = bpf_program__attach_kprobe(obj->progs.file_sync_entry, false, cfg->op_funcs[F_FSYNC]); in attach_kprobes()
326 …le_sync_exit = bpf_program__attach_kprobe(obj->progs.file_sync_exit, true, cfg->op_funcs[F_FSYNC]); in attach_kprobes()
330 if (!cfg->op_funcs[F_GETATTR]) in attach_kprobes()
332 …attr_entry = bpf_program__attach_kprobe(obj->progs.getattr_entry, false, cfg->op_funcs[F_GETATTR]); in attach_kprobes()
335 …obj->links.getattr_exit = bpf_program__attach_kprobe(obj->progs.getattr_exit, true, cfg->op_funcs[… in attach_kprobes()