Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 40) sorted by relevance

12

/samples/
DMakefile4 obj-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs/
5 obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs/
6 obj-$(CONFIG_SAMPLE_CONNECTOR) += connector/
8 obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += hw_breakpoint/
9 obj-$(CONFIG_SAMPLE_KDB) += kdb/
10 obj-$(CONFIG_SAMPLE_KFIFO) += kfifo/
11 obj-$(CONFIG_SAMPLE_KOBJECT) += kobject/
12 obj-$(CONFIG_SAMPLE_KPROBES) += kprobes/
13 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch/
15 obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
[all …]
/samples/livepatch/
Dlivepatch-callbacks-demo.c98 static void callback_info(const char *callback, struct klp_object *obj) in callback_info() argument
100 if (obj->mod) in callback_info()
101 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info()
102 module_state[obj->mod->state]); in callback_info()
108 static int pre_patch_callback(struct klp_object *obj) in pre_patch_callback() argument
110 callback_info(__func__, obj); in pre_patch_callback()
115 static void post_patch_callback(struct klp_object *obj) in post_patch_callback() argument
117 callback_info(__func__, obj); in post_patch_callback()
121 static void pre_unpatch_callback(struct klp_object *obj) in pre_unpatch_callback() argument
123 callback_info(__func__, obj); in pre_unpatch_callback()
[all …]
DMakefile2 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-sample.o
3 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-shadow-mod.o
4 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-shadow-fix1.o
5 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-shadow-fix2.o
6 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-callbacks-demo.o
7 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-callbacks-mod.o
8 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-callbacks-busymod.o
Dlivepatch-shadow-fix1.c53 static int shadow_leak_ctor(void *obj, void *shadow_data, void *ctor_data) in shadow_leak_ctor() argument
94 static void livepatch_fix1_dummy_leak_dtor(void *obj, void *shadow_data) in livepatch_fix1_dummy_leak_dtor() argument
96 void *d = obj; in livepatch_fix1_dummy_leak_dtor()
Dlivepatch-shadow-fix2.c59 static void livepatch_fix2_dummy_leak_dtor(void *obj, void *shadow_data) in livepatch_fix2_dummy_leak_dtor() argument
61 void *d = obj; in livepatch_fix2_dummy_leak_dtor()
/samples/vfio-mdev/
DMakefile2 obj-$(CONFIG_SAMPLE_VFIO_MDEV_MTTY) += mtty.o
3 obj-$(CONFIG_SAMPLE_VFIO_MDEV_MDPY) += mdpy.o
4 obj-$(CONFIG_SAMPLE_VFIO_MDEV_MDPY_FB) += mdpy-fb.o
5 obj-$(CONFIG_SAMPLE_VFIO_MDEV_MBOCHS) += mbochs.o
/samples/kprobes/
DMakefile5 obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o
6 obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o
/samples/bpf/
Dxdp_redirect_cpu_user.c106 static void print_avail_progs(struct bpf_object *obj) in print_avail_progs() argument
110 bpf_object__for_each_program(pos, obj) { in print_avail_progs()
116 static void usage(char *argv[], struct bpf_object *obj) in usage() argument
135 print_avail_progs(obj); in usage()
601 static struct bpf_link * attach_tp(struct bpf_object *obj, in attach_tp() argument
615 prog = bpf_object__find_program_by_title(obj, sec_name); in attach_tp()
628 static void init_tracepoints(struct bpf_object *obj) { in init_tracepoints() argument
629 tp_links[tp_cnt++] = attach_tp(obj, "xdp", "xdp_redirect_err"); in init_tracepoints()
630 tp_links[tp_cnt++] = attach_tp(obj, "xdp", "xdp_redirect_map_err"); in init_tracepoints()
631 tp_links[tp_cnt++] = attach_tp(obj, "xdp", "xdp_exception"); in init_tracepoints()
[all …]
Dsockex1_user.c13 struct bpf_object *obj; in main() local
22 &obj, &prog_fd)) in main()
25 map_fd = bpf_object__find_map_fd_by_name(obj, "my_map"); in main()
Dsockex2_user.c20 struct bpf_object *obj; in main() local
30 &obj, &prog_fd)) in main()
33 map_fd = bpf_object__find_map_fd_by_name(obj, "hash_map"); in main()
Dxdp_redirect_user.c109 struct bpf_object *obj; in main() local
154 if (bpf_prog_load_xattr(&prog_load_attr, &obj, &prog_fd)) in main()
157 prog = bpf_program__next(NULL, obj); in main()
158 dummy_prog = bpf_program__next(prog, obj); in main()
172 tx_port_map_fd = bpf_object__find_map_fd_by_name(obj, "tx_port"); in main()
173 rxcnt_map_fd = bpf_object__find_map_fd_by_name(obj, "rxcnt"); in main()
Dxdp_redirect_map_user.c108 struct bpf_object *obj; in main() local
153 if (bpf_prog_load_xattr(&prog_load_attr, &obj, &prog_fd)) in main()
156 prog = bpf_program__next(NULL, obj); in main()
157 dummy_prog = bpf_program__next(prog, obj); in main()
171 tx_port_map_fd = bpf_object__find_map_fd_by_name(obj, "tx_port"); in main()
172 rxcnt_map_fd = bpf_object__find_map_fd_by_name(obj, "rxcnt"); in main()
Dxdp_fwd_user.c81 struct bpf_object *obj; in main() local
115 err = bpf_prog_load_xattr(&prog_load_attr, &obj, &prog_fd); in main()
124 prog = bpf_object__find_program_by_title(obj, prog_name); in main()
130 map_fd = bpf_map__fd(bpf_object__find_map_by_name(obj, in main()
Dxdp1_user.c90 struct bpf_object *obj; in main() local
131 if (bpf_prog_load_xattr(&prog_load_attr, &obj, &prog_fd)) in main()
134 map = bpf_map__next(NULL, obj); in main()
/samples/binderfs/
DMakefile2 obj-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs_example.o
/samples/configfs/
DMakefile3 obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs_sample.o
/samples/hw_breakpoint/
DMakefile2 obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += data_breakpoint.o
/samples/rpmsg/
DMakefile2 obj-$(CONFIG_SAMPLE_RPMSG_CLIENT) += rpmsg_client_sample.o
/samples/qmi/
DMakefile2 obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi_sample_client.o
/samples/kdb/
DMakefile2 obj-$(CONFIG_SAMPLE_KDB) += kdb_hello.o
/samples/trace_printk/
DMakefile7 obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace-printk.o
/samples/v4l/
DMakefile2 obj-$(CONFIG_VIDEO_PCI_SKELETON) := v4l2-pci-skeleton.o
/samples/kobject/
DMakefile2 obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o kset-example.o
/samples/trace_events/
DMakefile15 obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o
/samples/kfifo/
DMakefile2 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o

12